Stata

By: Leo Saenger

Why use Stata?

Data Cleaning

  • gen/egen e.g. cut, ln, etc
  • collapse
  • rename/replace
  • drop/keep
  • decode/encode
  • reshape
  • merge
  • duplicates

Analysis

  • hist
  • reg (fundamentals) , r
  • reg (extensions) i.variable, c.var, i.var##i.var quietly ivreg

Post-estimation

  • predict
  • margins
  • avplot

Exporting

  • eststo esttab