Stata Cheat Sheet
Ansolabehere: 17.842
September, 1998
TA: Micky Tripathi
Here are some basic Stata command that may come in handy now and in the future. For more
info, you can look any of these commands in the Stata manual(s) or by typing "help xxxxx"
wh
Stata Syntax
Syntax for if excluding
missing values
Operators
xtile, nquantiles()
Clonevar
drop
sum vars
list vars
codebook vars
Tabstat vars
tab1 vars
table vars
ssc hot, n(25)
fre
numlabel _all, add
bigtab
Chris Stata Cheat Sheet (Stata 12)
General
comm
Linear Regression using Stata
(v.6.3)
Oscar Torres-Reyna
otorres@princeton.edu
December 2007
http:/dss.princeton.edu/training/
Regression: a practical approach (overview)
We use regression to estimate the unknown effect of changing one variable
over anoth
IV Estimation Using Stata A Very Basic Introduction
The Stata dataset CARD.DTA contains data on a sample of 3010 working men aged
between 24 and 34 who were part of the 1976 wave of the US National Longitudinal
Survey of Young Men. This dataset was used t
Instrumental Variables Regression
Instrumental Variables (IV) estimation is used when the model has endogenous s.
IV can thus be used to address the following important threats to internal validity:
Omitted variable bias from a variable that is correlate