Category Archives: Stata

Handy Stata command to create Fama-French industry classifications based on SIC codes

See ffind written by Judson Caskey. Here is his website: The syntax is as follows (download Help file here): ffind sic, newvar(ffi) type(30) type(30) means Fama_French 30 industries classification. Type must be 5, 10, 12, 17, 30, 38, 48 or … Continue reading

Posted in Stata | 17 Comments

Fuzzy match in Stata

Nice article. Author’s website: For installation, type the following command in Stata: net from net install stnd_compname.pkg Update on August 30, 2018—The foregoing URLs seem broken. Please use the following command to install the package: net from net … Continue reading

Posted in Stata | Leave a comment

Calculate CFO tenure with Execucomp in Stata

Nice article and nice blog! Happy to find that someone built a similar blog.

Posted in Stata | 1 Comment

SAS and Stata—Which is better for archival accounting research?

The short answer is: we need both. When we do archival accounting research, we often need to merge data across various databases, such as COMPUSTAT, CRSP, and EXECUCOMP. Stata can by no means beat SAS in this regard. SAS supports … Continue reading

Posted in Learning Resources, SAS, Stata | 1 Comment