Datasets for Stata Data Management Reference Manual, Release 16
Datasets used in the Stata documentation were selected to demonstrate how to use Stata. Some datasets have been altered to explain a particular feature. Do not use these datasets for analysis.
To download a dataset:
- Click on a filename 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 Zappend
- odd1.dta
- even.dta
- odd.dta
- oddeven.dta
- capop.dta
- ilpop.dta
- txpop.dta
| http://www.stata-press.com/data/r16/odd1.dta |
| http://www.stata-press.com/data/r16/even.dta |
| http://www.stata-press.com/data/r16/odd.dta |
| http://www.stata-press.com/data/r16/oddeven.dta |
| http://www.stata-press.com/data/r16/capop.dta |
| http://www.stata-press.com/data/r16/ilpop.dta |
| http://www.stata-press.com/data/r16/txpop.dta |
assert
assertnested
- schools.dta
- carchoice.dta
| http://www.stata-press.com/data/r16/schools.dta |
| http://www.stata-press.com/data/r16/carchoice.dta |
bcal
by
checksum
clear
clonevar
codebook
- educ3.dta
- citytemp.dta
- auto.dta
- funnyvar.dta
| http://www.stata-press.com/data/r16/educ3.dta |
| http://www.stata-press.com/data/r16/citytemp.dta |
| http://www.stata-press.com/data/r16/auto.dta |
| http://www.stata-press.com/data/r16/funnyvar.dta |
collapse
- college.dta
- census5.dta
| http://www.stata-press.com/data/r16/college.dta |
| http://www.stata-press.com/data/r16/census5.dta |
compare
- fullauto.dta
| http://www.stata-press.com/data/r16/fullauto.dta |
compress
- compxmp2.dta
| http://www.stata-press.com/data/r16/compxmp2.dta |
contract
copy
- fullauto.dta
- simple.dta
| http://www.stata-press.com/data/r16/fullauto.dta |
| https://www.stata.com/examples/simple.dta |
corr2data
count
- countxmpl.dta
| http://www.stata-press.com/data/r16/countxmpl.dta |
Datetime
Datetime relative dates
- birthdays.dta
| http://www.stata-press.com/data/r16/birthdays.dta |
describe
- states.dta
- census.dta
- auto.dta
| http://www.stata-press.com/data/r16/states.dta |
| http://www.stata-press.com/data/r16/census.dta |
| http://www.stata-press.com/data/r16/auto.dta |
destring
- destring1.dta
- destring2.dta
- tostring.dta
| http://www.stata-press.com/data/r16/destring1.dta |
| http://www.stata-press.com/data/r16/destring2.dta |
| http://www.stata-press.com/data/r16/tostring.dta |
drop
- census11.dta
| http://www.stata-press.com/data/r16/census11.dta |
ds
duplicates
egen
- egenxmpl.dta
- egenxmpl2.dta
- egenxmpl3.dta
- auto.dta
- states1.dta
- egenxmpl4.dta
- auto3.dta
- egenxmpl5.dta
- egenxmpl6.dta
| http://www.stata-press.com/data/r16/egenxmpl.dta |
| http://www.stata-press.com/data/r16/egenxmpl2.dta |
| http://www.stata-press.com/data/r16/egenxmpl3.dta |
| http://www.stata-press.com/data/r16/auto.dta |
| http://www.stata-press.com/data/r16/states1.dta |
| http://www.stata-press.com/data/r16/egenxmpl4.dta |
| http://www.stata-press.com/data/r16/auto3.dta |
| http://www.stata-press.com/data/r16/egenxmpl5.dta |
| http://www.stata-press.com/data/r16/egenxmpl6.dta |
encode
- hbp2.dta
- hbp3.dta
| http://www.stata-press.com/data/r16/hbp2.dta |
| http://www.stata-press.com/data/r16/hbp3.dta |
expand
- expandxmpl.dta
| http://www.stata-press.com/data/r16/expandxmpl.dta |
expandcl
- expclxmpl.dta
| http://www.stata-press.com/data/r16/expclxmpl.dta |
fillin
format
- census10.dta
- fmtxmpl.dta
- fmtxmpl2.dta
| http://www.stata-press.com/data/r16/census10.dta |
| http://www.stata-press.com/data/r16/fmtxmpl.dta |
| http://www.stata-press.com/data/r16/fmtxmpl2.dta |
frames intro
- auto.dta
- census.dta
| http://www.stata-press.com/data/r16/auto.dta |
| http://www.stata-press.com/data/r16/census.dta |
frame create
frame put
frame pwf
frlink
- persons.dta
- txcounty.dta
- family.dta
- discharge1.dta
- discharge2.dta
| http://www.stata-press.com/data/r16/persons.dta |
| http://www.stata-press.com/data/r16/txcounty.dta |
| http://www.stata-press.com/data/r16/family.dta |
| http://www.stata-press.com/data/r16/discharge1.dta |
| http://www.stata-press.com/data/r16/discharge2.dta |
generate
- genxmpl1.dta
- genxmpl2.dta
- genxmpl3.dta
- genxmpl4.dta
| http://www.stata-press.com/data/r16/genxmpl1.dta |
| http://www.stata-press.com/data/r16/genxmpl2.dta |
| http://www.stata-press.com/data/r16/genxmpl3.dta |
| http://www.stata-press.com/data/r16/genxmpl4.dta |
gsort
- auto.dta
- bp3.dta
| http://www.stata-press.com/data/r16/auto.dta |
| http://www.stata-press.com/data/r16/bp3.dta |
icd
- nhds2010.dta
| http://www.stata-press.com/data/r16/nhds2010.dta |
icd9
- nhds2010.dta
| http://www.stata-press.com/data/r16/nhds2010.dta |
icd9p
- nhds2010.dta
| http://www.stata-press.com/data/r16/nhds2010.dta |
icd10
- australia10.dta
| http://www.stata-press.com/data/r16/australia10.dta |
icd10cm
- hosp2015.dta
| http://www.stata-press.com/data/r16/hosp2015.dta |
icd10pcs
- hosp2015.dta
| http://www.stata-press.com/data/r16/hosp2015.dta |
import dbase
import excel
import sasxport5
import sasxport8
insobs
inspect
- auto.dta
- bobsdata.dta
- census.dta
- citytemp.dta
| http://www.stata-press.com/data/r16/auto.dta |
| http://www.stata-press.com/data/r16/bobsdata.dta |
| http://www.stata-press.com/data/r16/census.dta |
| http://www.stata-press.com/data/r16/citytemp.dta |
ipolate
- ipolxmpl1.dta
- ipolxmpl2.dta
| http://www.stata-press.com/data/r16/ipolxmpl1.dta |
| http://www.stata-press.com/data/r16/ipolxmpl2.dta |
isid
- auto.dta
- grunfeld.dta
| http://www.stata-press.com/data/r16/auto.dta |
| http://www.stata-press.com/data/r16/grunfeld.dta |
joinby
- child.dta
- parent.dta
| http://www.stata-press.com/data/r16/child.dta |
| http://www.stata-press.com/data/r16/parent.dta |
label
labelbook
- labelbook1.dta
- labelbook2.dta
- data_in_trouble.dta
- auto.dta
| http://www.stata-press.com/data/r16/labelbook1.dta |
| http://www.stata-press.com/data/r16/labelbook2.dta |
| http://www.stata-press.com/data/r16/data_in_trouble.dta |
| http://www.stata-press.com/data/r16/auto.dta |
list
lookfor
memory
merge
- autosize.dta
- autoexpense.dta
- sforce.dta
- dollars.dta
- overlap1.dta
- overlap2.dta
| http://www.stata-press.com/data/r16/autosize.dta |
| http://www.stata-press.com/data/r16/autoexpense.dta |
| http://www.stata-press.com/data/r16/sforce.dta |
| http://www.stata-press.com/data/r16/dollars.dta |
| http://www.stata-press.com/data/r16/overlap1.dta |
| http://www.stata-press.com/data/r16/overlap2.dta |
mvencode
notes
order
outfile
- outfilexmpl.dta
| http://www.stata-press.com/data/r16/outfilexmpl.dta |
pctile
- auto.dta
- bp1.dta
- bp2.dta
| http://www.stata-press.com/data/r16/auto.dta |
| http://www.stata-press.com/data/r16/bp1.dta |
| http://www.stata-press.com/data/r16/bp2.dta |
putmata
recast
recode
- recodexmpl.dta
| http://www.stata-press.com/data/r16/recodexmpl.dta |
rename
- renamexmpl.dta
| http://www.stata-press.com/data/r16/renamexmpl.dta |
reshape
- reshape1.dta
- reshape2.dta
- reshapexp1.dta
- reshape6.dta
- reshape3.dta
- reshape4.dta
- reshapexp2.dta
| http://www.stata-press.com/data/r16/reshape1.dta |
| http://www.stata-press.com/data/r16/reshape2.dta |
| http://www.stata-press.com/data/r16/reshapexp1.dta |
| http://www.stata-press.com/data/r16/reshape6.dta |
| http://www.stata-press.com/data/r16/reshape3.dta |
| http://www.stata-press.com/data/r16/reshape4.dta |
| http://www.stata-press.com/data/r16/reshapexp2.dta |
sample
separate
snapshot
sort
stack
- stackxmpl.dta
- citytemp.dta
| http://www.stata-press.com/data/r16/stackxmpl.dta |
| http://www.stata-press.com/data/r16/citytemp.dta |
statsby
- auto2.dta
- statsby.dta
| http://www.stata-press.com/data/r16/auto2.dta |
| http://www.stata-press.com/data/r16/statsby.dta |
sysuse
use
- nlswork.dta
- union.dta
| http://www.stata-press.com/data/r16/nlswork.dta |
| http://www.stata-press.com/data/r16/union.dta |
vl
- auto.dta
- questionnaire.dta
| http://www.stata-press.com/data/r16/auto.dta |
| http://www.stata-press.com/data/r16/questionnaire.dta |
vl list
webuse
xpose
- xposexmpl.dta
| http://www.stata-press.com/data/r16/xposexmpl.dta |
StataCorp gratefully acknowledges that some proprietary datasets in the reference manuals 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.