Stata/Software

Misc. Example Stata Do-Files

Below are a host of miscellaneous example Stata do-files I have collected over the years. These are examples I have created for things I do repeatedly in my own work, and/or examples I have created for common questions I receive from people looking for help.

Note: For most topics, you will find more extensive and more polished examples associated with a class I teach.

Disclaimer: These templates worked for me for the specific situation I faced. Consider these as starting points for your work --not guaranteed paths to success.