Datasets for Stata User's Guide, Release 12
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.
Chapter 1 - Read this – it will help
- auto.dta
- nlswork.dta
| http://www.stata-press.com/data/r12/auto.dta |
| http://www.stata-press.com/data/r12/nlswork.dta |
Chapter 2 - A brief description of Stata
- lbw2.dta
- auto.dta
| http://www.stata-press.com/data/r12/lbw2.dta |
| http://www.stata-press.com/data/r12/auto.dta |
Chapter 3 - Resources for learning and using Stata
- auto.dta
- oddeven.dta
| http://www.stata-press.com/data/r12/auto.dta |
| http://www.stata-press.com/data/r12/oddeven.dta |
Chapter 6 - Managing memory
Chapter 8 - Error messages and return codes
- auto.dta
- citytemp.dta
| http://www.stata-press.com/data/r12/auto.dta |
| http://www.stata-press.com/data/r12/citytemp.dta |
Chapter 11 - Language syntax
- census12.dta
- auto.dta
- gxmpl1.dta
- gxmpl2.dta
- citytemp3.dta
| http://www.stata-press.com/data/r12/census12.dta |
| http://www.stata-press.com/data/r12/auto.dta |
| http://www.stata-press.com/data/r12/gxmpl1.dta |
| http://www.stata-press.com/data/r12/gxmpl2.dta |
| http://www.stata-press.com/data/r12/citytemp3.dta |
Chapter 12 - Data
- gxmpl3.dta
- format.dta
- auto.dta
- gxmpl4.dta
- gxmpl5.dta
| http://www.stata-press.com/data/r12/gxmpl3.dta |
| http://www.stata-press.com/data/r12/format.dta |
| http://www.stata-press.com/data/r12/auto.dta |
| http://www.stata-press.com/data/r12/gxmpl4.dta |
| http://www.stata-press.com/data/r12/gxmpl5.dta |
Chapter 13 - Functions and expressions
- gxmpl6.dta
- gxmpl7.dta
- gxmpl8.dta
- gxmpl9.dta
| http://www.stata-press.com/data/r12/gxmpl6.dta |
| http://www.stata-press.com/data/r12/gxmpl7.dta |
| http://www.stata-press.com/data/r12/gxmpl8.dta |
| http://www.stata-press.com/data/r12/gxmpl9.dta |
Chapter 14 - Matrix expressions
Chapter 15 - Saving and printing output – log files
Chapter 16 - Do-files
- census5.dta
- census.dta
| http://www.stata-press.com/data/r12/census5.dta |
| http://www.stata-press.com/data/r12/census.dta |
Chapter 18 - Programming Stata
Chapter 20 - Estimation and postestimation commands
- auto.dta
- regress.dta
- lbw3.dta
- systolic.dta
- nhanes2.dta
- nlsw88.dta
- yield.dta
- cholesterol.dta
- auto7.dta
| http://www.stata-press.com/data/r12/auto.dta |
| http://www.stata-press.com/data/r12/regress.dta |
| http://www.stata-press.com/data/r12/lbw3.dta |
| http://www.stata-press.com/data/r12/systolic.dta |
| http://www.stata-press.com/data/r12/nhanes2.dta |
| http://www.stata-press.com/data/r12/nlsw88.dta |
| http://www.stata-press.com/data/r12/yield.dta |
| http://www.stata-press.com/data/r12/cholesterol.dta |
| http://www.stata-press.com/data/r12/auto7.dta |
Chapter 23 - Working with strings
Chapter 24 - Working with dates and times
- datexmpl2.dta
| http://www.stata-press.com/data/r12/datexmpl2.dta |
Chapter 25 - Working with categorical data and factor variables
- agexmpl.dta
- fvex.dta
- censusfv.dta
- estimability.dta
| http://www.stata-press.com/data/r12/agexmpl.dta |
| http://www.stata-press.com/data/r12/fvex.dta |
| http://www.stata-press.com/data/r12/censusfv.dta |
| http://www.stata-press.com/data/r12/estimability.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.