Blog133.2K views1,905 votes1 reply1 comment3,831 following
When Stata Loops Stall, Move the Math to Mata
Stata loops often stall during heavy matrix algebra. Learn how to use Mata's compiled bytecode and explicit data transfer functions like st_data() to accelerate your compute kernels.