Matlab

Package to estimate the number of relevant factors in a factor model with potentially local factors: no_of_factors.zip

Package to i) test for sparsity in the loading matrix and ii) identify individual loading vectors under sparsity: local_factors.zip

Stata

Stata package to run event studies: xtevent.zip or type “ssc install xtevent” in Stata.