Datasets for Stata Base Reference Manual, Release 8
Datasets used in the Stata Documentation were selected to demonstrate the use of Stata. Datasets were sometimes altered so that a particular feature could be explained. Do not use these datasets for analysis purposes.
Download instructions:
- click on a file to download it to a local folder on your machine
- alternatively, you can first establish an Internet connection, and then, in Stata's Command window type
- . webuse filename, clear
to use the file. You could then save the file with Stata's save command.
Entries starting with the letter ...
A B C D E F G H I J K L M N O P Q R S T U V W X Y Zadjust
- auto.dta
- sysage.dta
- lbw.dta
- drugtr.dta
| http://www.stata-press.com/data/r8/auto.dta |
| http://www.stata-press.com/data/r8/sysage.dta |
| http://www.stata-press.com/data/r8/lbw.dta |
| http://www.stata-press.com/data/r8/drugtr.dta |
alpha
- automiss.dta
| http://www.stata-press.com/data/r8/automiss.dta |
anova
- apple.dta
- systolic.dta
- manuf.dta
- sysage.dta
- machine.dta
- rash.dta
- reading.dta
- latinsq.dta
- t43.dta
- t77.dta
- t713.dta
- byssin.dta
- levels.dta
- census2.dta
| http://www.stata-press.com/data/r8/apple.dta |
| http://www.stata-press.com/data/r8/systolic.dta |
| http://www.stata-press.com/data/r8/manuf.dta |
| http://www.stata-press.com/data/r8/sysage.dta |
| http://www.stata-press.com/data/r8/machine.dta |
| http://www.stata-press.com/data/r8/rash.dta |
| http://www.stata-press.com/data/r8/reading.dta |
| http://www.stata-press.com/data/r8/latinsq.dta |
| http://www.stata-press.com/data/r8/t43.dta |
| http://www.stata-press.com/data/r8/t77.dta |
| http://www.stata-press.com/data/r8/t713.dta |
| http://www.stata-press.com/data/r8/byssin.dta |
| http://www.stata-press.com/data/r8/levels.dta |
| http://www.stata-press.com/data/r8/census2.dta |
areg
binreg
biprobit
bootstrap
- auto.dta
- bsauto.dta
- bsauto2.dta
| http://www.stata-press.com/data/r8/auto.dta |
| http://www.stata-press.com/data/r8/bsauto.dta |
| http://www.stata-press.com/data/r8/bsauto2.dta |
boxcox
brier
by
canon
centile
ci
- auto.dta
- promo.dta
- promonone.dta
- petri.dta
- petrinone.dta
| http://www.stata-press.com/data/r8/auto.dta |
| http://www.stata-press.com/data/r8/promo.dta |
| http://www.stata-press.com/data/r8/promonone.dta |
| http://www.stata-press.com/data/r8/petri.dta |
| http://www.stata-press.com/data/r8/petrinone.dta |
clogit
- clogitid.dta
- lowbirth.dta
- union.dta
- choice.dta
| http://www.stata-press.com/data/r8/clogitid.dta |
| http://www.stata-press.com/data/r8/lowbirth.dta |
| http://www.stata-press.com/data/r8/union.dta |
| http://www.stata-press.com/data/r8/choice.dta |
cloglog
- auto.dta
- union.dta
| http://www.stata-press.com/data/r8/auto.dta |
| http://www.stata-press.com/data/r8/union.dta |
cnsreg
codebook
- educ3.dta
- citytemp.dta
| http://www.stata-press.com/data/r8/educ3.dta |
| http://www.stata-press.com/data/r8/citytemp.dta |
collapse
- college.dta
- census5.dta
| http://www.stata-press.com/data/r8/college.dta |
| http://www.stata-press.com/data/r8/census5.dta |
compare
- fullauto.dta
| http://www.stata-press.com/data/r8/fullauto.dta |
contract
corr2data
correlate
- census3.dta
- census6.dta
- auto1.dta
| http://www.stata-press.com/data/r8/census3.dta |
| http://www.stata-press.com/data/r8/census6.dta |
| http://www.stata-press.com/data/r8/auto1.dta |
cumul
- hsng.dta
- citytemp.dta
| http://www.stata-press.com/data/r8/hsng.dta |
| http://www.stata-press.com/data/r8/citytemp.dta |
cusum
describe
- states.dta
- census.dta
| http://www.stata-press.com/data/r8/states.dta |
| http://www.stata-press.com/data/r8/census.dta |
destring
- destring1.dta
- destring2.dta
| http://www.stata-press.com/data/r8/destring1.dta |
| http://www.stata-press.com/data/r8/destring2.dta |
diagnostic plots
dotplot
drop
- census11.dta
| http://www.stata-press.com/data/r8/census11.dta |
dstdize
- mortality.dta
- 1962.dta
- hbp.dta
- popkahn.dta
- kahn.dta
| http://www.stata-press.com/data/r8/mortality.dta |
| http://www.stata-press.com/data/r8/1962.dta |
| http://www.stata-press.com/data/r8/hbp.dta |
| http://www.stata-press.com/data/r8/popkahn.dta |
| http://www.stata-press.com/data/r8/kahn.dta |
egen
- states1.dta
- auto3.dta
- auto.dta
| http://www.stata-press.com/data/r8/states1.dta |
| http://www.stata-press.com/data/r8/auto3.dta |
| http://www.stata-press.com/data/r8/auto.dta |
eivreg
encode
estimates
factor
fillin
format
- census10.dta
| http://www.stata-press.com/data/r8/census10.dta |
fracpoly
- igg.dta
- legulcer.dta
| http://www.stata-press.com/data/r8/igg.dta |
| http://www.stata-press.com/data/r8/legulcer.dta |
frontier
- greene9.dta
- frontier1.dta
- frontier2.dta
| http://www.stata-press.com/data/r8/greene9.dta |
| http://www.stata-press.com/data/r8/frontier1.dta |
| http://www.stata-press.com/data/r8/frontier2.dta |
glm
- lbw.dta
- ldose.dta
- beetle.dta
- idle2.dta
- airline.dta
- beetle2.dta
| http://www.stata-press.com/data/r8/lbw.dta |
| http://www.stata-press.com/data/r8/ldose.dta |
| http://www.stata-press.com/data/r8/beetle.dta |
| http://www.stata-press.com/data/r8/idle2.dta |
| http://www.stata-press.com/data/r8/airline.dta |
| http://www.stata-press.com/data/r8/beetle2.dta |
glogit
- xmpl1.dta
- xmpl2.dta
- census7.dta
| http://www.stata-press.com/data/r8/xmpl1.dta |
| http://www.stata-press.com/data/r8/xmpl2.dta |
| http://www.stata-press.com/data/r8/census7.dta |
grmeanby
hausman
- nlswork4.dta
- sysdsn3.dta
| http://www.stata-press.com/data/r8/nlswork4.dta |
| http://www.stata-press.com/data/r8/sysdsn3.dta |
heckman
- womenwk.dta
- twopart.dta
| http://www.stata-press.com/data/r8/womenwk.dta |
| http://www.stata-press.com/data/r8/twopart.dta |
heckprob
hilite
- citytemp.dta
| http://www.stata-press.com/data/r8/citytemp.dta |
histogram
- sp500.dta
- auto.dta
- voter.dta
| http://www.stata-press.com/data/r8/sp500.dta |
| http://www.stata-press.com/data/r8/auto.dta |
| http://www.stata-press.com/data/r8/voter.dta |
hotelling
- gasexp.dta
- gasexp2.dta
| http://www.stata-press.com/data/r8/gasexp.dta |
| http://www.stata-press.com/data/r8/gasexp2.dta |
icd9
- patients.dta
| http://www.stata-press.com/data/r8/patients.dta |
impute
- emd.dta
- auto1.dta
| http://www.stata-press.com/data/r8/emd.dta |
| http://www.stata-press.com/data/r8/auto1.dta |
inspect
- auto.dta
- bobsdata.dta
- census.dta
- citytemp.dta
| http://www.stata-press.com/data/r8/auto.dta |
| http://www.stata-press.com/data/r8/bobsdata.dta |
| http://www.stata-press.com/data/r8/census.dta |
| http://www.stata-press.com/data/r8/citytemp.dta |
ivreg
jknife
joinby
- child.dta
- parent.dta
| http://www.stata-press.com/data/r8/child.dta |
| http://www.stata-press.com/data/r8/parent.dta |
kappa
- rate2.dta
- rate2no3.dta
- p227.dta
- p230.dta
- p230b.dta
- rvary.dta
- rvary2.dta
| http://www.stata-press.com/data/r8/rate2.dta |
| http://www.stata-press.com/data/r8/rate2no3.dta |
| http://www.stata-press.com/data/r8/p227.dta |
| http://www.stata-press.com/data/r8/p230.dta |
| http://www.stata-press.com/data/r8/p230b.dta |
| http://www.stata-press.com/data/r8/rvary.dta |
| http://www.stata-press.com/data/r8/rvary2.dta |
kdensity
- trocolen.dta
- auto.dta
| http://www.stata-press.com/data/r8/trocolen.dta |
| http://www.stata-press.com/data/r8/auto.dta |
ksm
kwallis
labelbook
- labelbook1.dta
- labelbook2.dta
- data_in_trouble.dta
| http://www.stata-press.com/data/r8/labelbook1.dta |
| http://www.stata-press.com/data/r8/labelbook2.dta |
| http://www.stata-press.com/data/r8/data_in_trouble.dta |
ladder
- auto.dta
- citytemp.dta
| http://www.stata-press.com/data/r8/auto.dta |
| http://www.stata-press.com/data/r8/citytemp.dta |
level
lincom
- regress.dta
- lbw3.dta
- sysdsn2.dta
| http://www.stata-press.com/data/r8/regress.dta |
| http://www.stata-press.com/data/r8/lbw3.dta |
| http://www.stata-press.com/data/r8/sysdsn2.dta |
linktest
list
lnskew0
logistic
- lbw.dta
- hospid1.dta
- hospid2.dta
- lbw3.dta
| http://www.stata-press.com/data/r8/lbw.dta |
| http://www.stata-press.com/data/r8/hospid1.dta |
| http://www.stata-press.com/data/r8/hospid2.dta |
| http://www.stata-press.com/data/r8/lbw3.dta |
logit
- auto.dta
- repair.dta
| http://www.stata-press.com/data/r8/auto.dta |
| http://www.stata-press.com/data/r8/repair.dta |
loneway
lowess
- lowess1.dta
- auto.dta
| http://www.stata-press.com/data/r8/lowess1.dta |
| http://www.stata-press.com/data/r8/auto.dta |
lrtest
lv
manova
- rootstock.dta
- metabolic.dta
- jaw.dta
- fabric.dta
- solardistance.dta
- rash2.dta
- reading2.dta
- nobetween.dta
- sorghum.dta
- table614.dta
- biochemical.dta
| http://www.stata-press.com/data/r8/rootstock.dta |
| http://www.stata-press.com/data/r8/metabolic.dta |
| http://www.stata-press.com/data/r8/jaw.dta |
| http://www.stata-press.com/data/r8/fabric.dta |
| http://www.stata-press.com/data/r8/solardistance.dta |
| http://www.stata-press.com/data/r8/rash2.dta |
| http://www.stata-press.com/data/r8/reading2.dta |
| http://www.stata-press.com/data/r8/nobetween.dta |
| http://www.stata-press.com/data/r8/sorghum.dta |
| http://www.stata-press.com/data/r8/table614.dta |
| http://www.stata-press.com/data/r8/biochemical.dta |
merge
- autotech.dta
- autocost.dta
| http://www.stata-press.com/data/r8/autotech.dta |
| http://www.stata-press.com/data/r8/autocost.dta |
mfp
- brcancer.dta
| http://www.stata-press.com/data/r8/brcancer.dta |
mfx
mlogit
mvencode
mvreg
nbreg
nlcom
- regress.dta
- trafint.dta
- airline.dta
| http://www.stata-press.com/data/r8/regress.dta |
| http://www.stata-press.com/data/r8/trafint.dta |
| http://www.stata-press.com/data/r8/airline.dta |
nlogit
- restaurant.dta
| http://www.stata-press.com/data/r8/restaurant.dta |
nptrend
ologit
- fullauto.dta
| http://www.stata-press.com/data/r8/fullauto.dta |
oneway
- apple.dta
- census8.dta
| http://www.stata-press.com/data/r8/apple.dta |
| http://www.stata-press.com/data/r8/census8.dta |
oprobit
- fullauto.dta
| http://www.stata-press.com/data/r8/fullauto.dta |
order
orthog
pca
pcorr
pctile
- auto.dta
- bp1.dta
- bp2.dta
| http://www.stata-press.com/data/r8/auto.dta |
| http://www.stata-press.com/data/r8/bp1.dta |
| http://www.stata-press.com/data/r8/bp2.dta |
permute
- permute1.dta
- permute2.dta
| http://www.stata-press.com/data/r8/permute1.dta |
| http://www.stata-press.com/data/r8/permute2.dta |
pk
- auc.dta
- pkdata.dta
| http://www.stata-press.com/data/r8/auc.dta |
| http://www.stata-press.com/data/r8/pkdata.dta |
pkcollapse
pkcross
- chowliu.dta
- balaam.dta
- pkdata3.dta
- nobalance.dta
| http://www.stata-press.com/data/r8/chowliu.dta |
| http://www.stata-press.com/data/r8/balaam.dta |
| http://www.stata-press.com/data/r8/pkdata3.dta |
| http://www.stata-press.com/data/r8/nobalance.dta |
pkequiv
- pkdata3.dta
- chowliu2.dta
| http://www.stata-press.com/data/r8/pkdata3.dta |
| http://www.stata-press.com/data/r8/chowliu2.dta |
pkexamine
pkshape
- chowliu.dta
- music.dta
- applesales.dta
- pkdata2.dta
| http://www.stata-press.com/data/r8/chowliu.dta |
| http://www.stata-press.com/data/r8/music.dta |
| http://www.stata-press.com/data/r8/applesales.dta |
| http://www.stata-press.com/data/r8/pkdata2.dta |
pksumm
poisson
- airline.dta
- dollhill3.dta
| http://www.stata-press.com/data/r8/airline.dta |
| http://www.stata-press.com/data/r8/dollhill3.dta |
predict
- auto.dta
- newautos.dta
- airline.dta
| http://www.stata-press.com/data/r8/auto.dta |
| http://www.stata-press.com/data/r8/newautos.dta |
| http://www.stata-press.com/data/r8/airline.dta |
predictnl
- lbw.dta
- sysdsn2.dta
| http://www.stata-press.com/data/r8/lbw.dta |
| http://www.stata-press.com/data/r8/sysdsn2.dta |
probit
- auto.dta
- union.dta
- repair.dta
| http://www.stata-press.com/data/r8/auto.dta |
| http://www.stata-press.com/data/r8/union.dta |
| http://www.stata-press.com/data/r8/repair.dta |
prtest
- auto.dta
- cure.dta
| http://www.stata-press.com/data/r8/auto.dta |
| http://www.stata-press.com/data/r8/cure.dta |
qc
- ncu.dta
- ncu2.dta
- ncu3.dta
| http://www.stata-press.com/data/r8/ncu.dta |
| http://www.stata-press.com/data/r8/ncu2.dta |
| http://www.stata-press.com/data/r8/ncu3.dta |
qreg
- twogrp.dta
- auto.dta
| http://www.stata-press.com/data/r8/twogrp.dta |
| http://www.stata-press.com/data/r8/auto.dta |
recast
reg3
- klein.dta
- supdem.dta
- kleinabr.dta
| http://www.stata-press.com/data/r8/klein.dta |
| http://www.stata-press.com/data/r8/supdem.dta |
| http://www.stata-press.com/data/r8/kleinabr.dta |
regress
- auto.dta
- regsmpl.dta
- census9.dta
- newautos.dta
| http://www.stata-press.com/data/r8/auto.dta |
| http://www.stata-press.com/data/r8/regsmpl.dta |
| http://www.stata-press.com/data/r8/census9.dta |
| http://www.stata-press.com/data/r8/newautos.dta |
regression diagnostics
- auto.dta
- auto1.dta
- bodyfat.dta
| http://www.stata-press.com/data/r8/auto.dta |
| http://www.stata-press.com/data/r8/auto1.dta |
| http://www.stata-press.com/data/r8/bodyfat.dta |
roc
- hanley.dta
- lorenz.dta
- ct.dta
- ct2.dta
- ct3.dta
| http://www.stata-press.com/data/r8/hanley.dta |
| http://www.stata-press.com/data/r8/lorenz.dta |
| http://www.stata-press.com/data/r8/ct.dta |
| http://www.stata-press.com/data/r8/ct2.dta |
| http://www.stata-press.com/data/r8/ct3.dta |
rologit
rreg
runtest
- run1.dta
- additive.dta
| http://www.stata-press.com/data/r8/run1.dta |
| http://www.stata-press.com/data/r8/additive.dta |
saved results
scobit
- auto.dta
- union.dta
| http://www.stata-press.com/data/r8/auto.dta |
| http://www.stata-press.com/data/r8/union.dta |
sdtest
- auto.dta
- fuel.dta
- stay.dta
| http://www.stata-press.com/data/r8/auto.dta |
| http://www.stata-press.com/data/r8/fuel.dta |
| http://www.stata-press.com/data/r8/stay.dta |
separate
serrbar
- assembly.dta
| http://www.stata-press.com/data/r8/assembly.dta |
signrank
- fuel.dta
- fuel2.dta
| http://www.stata-press.com/data/r8/fuel.dta |
| http://www.stata-press.com/data/r8/fuel2.dta |
sktest
smooth
- fishdata.dta
| http://www.stata-press.com/data/r8/fishdata.dta |
sort
spearman
spikeplot
- ghanaage.dta
| http://www.stata-press.com/data/r8/ghanaage.dta |
stack
- citytemp.dta
| http://www.stata-press.com/data/r8/citytemp.dta |
statsby
stem
suest
- sysdsn4.dta
- income.dta
- nhanes2f.dta
| http://www.stata-press.com/data/r8/sysdsn4.dta |
| http://www.stata-press.com/data/r8/income.dta |
| http://www.stata-press.com/data/r8/nhanes2f.dta |
summarize
- auto.dta
- census.dta
| http://www.stata-press.com/data/r8/auto.dta |
| http://www.stata-press.com/data/r8/census.dta |
sureg
sw
swilk
symmetry
- iran.dta
- bd163.dta
| http://www.stata-press.com/data/r8/iran.dta |
| http://www.stata-press.com/data/r8/bd163.dta |
table
- auto.dta
- byssin.dta
- byssin1.dta
| http://www.stata-press.com/data/r8/auto.dta |
| http://www.stata-press.com/data/r8/byssin.dta |
| http://www.stata-press.com/data/r8/byssin1.dta |
tabstat
tabsum
tabulate
- citytemp2.dta
- dose.dta
| http://www.stata-press.com/data/r8/citytemp2.dta |
| http://www.stata-press.com/data/r8/dose.dta |
test
- census4.dta
- auto.dta
| http://www.stata-press.com/data/r8/census4.dta |
| http://www.stata-press.com/data/r8/auto.dta |
testnl
- earnings.dta
- auto2.dta
- promotion.dta
| http://www.stata-press.com/data/r8/earnings.dta |
| http://www.stata-press.com/data/r8/auto2.dta |
| http://www.stata-press.com/data/r8/promotion.dta |
tobit
- auto.dta
- news.dta
- womenwage.dta
| http://www.stata-press.com/data/r8/auto.dta |
| http://www.stata-press.com/data/r8/news.dta |
| http://www.stata-press.com/data/r8/womenwage.dta |
treatreg
truncreg
- laborsub.dta
| http://www.stata-press.com/data/r8/laborsub.dta |
ttest
- auto.dta
- fuel.dta
- fuel3.dta
- census.dta
| http://www.stata-press.com/data/r8/auto.dta |
| http://www.stata-press.com/data/r8/fuel.dta |
| http://www.stata-press.com/data/r8/fuel3.dta |
| http://www.stata-press.com/data/r8/census.dta |
vce
vwls
zip
StataCorp gratefully acknowledges that some datasets in the Reference Manuals are proprietary and have been used in our printed documentation with the express permission of the copyright holders. If any copyright holder believes that by making these datasets available to the public, StataCorp is in violation of the letter or spirit of any such agreement, please contact [email protected] and any such materials will be removed from this web page.