Datasets for Stata User's Guide, Release 9

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.


Chapter 1 - Read this – it will help

Chapter 2 - A brief description of Stata

Chapter 3 - Resources for learning and using Stata

Chapter 6 - Setting the size of memory

Chapter 8 - Error messages and return codes

Chapter 11 - Language syntax

Chapter 12 - Data

Chapter 14 - Matrix expressions

Chapter 15 - Printing and preserving output

Chapter 16 - Do-files

Chapter 18 - Programming Stata

Chapter 20 - Estimation and postestimation commands

Chapter 23 - Dealing with strings

Chapter 25 - Dealing with categorical variables


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.