Datasets for Stata User's Guide, Release 18

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

Chapter 2—A brief description of Stata

Chapter 3—Resources for learning and using Stata

Chapter 6—Managing memory

Chapter 8—Error messages and return codes

Chapter 11—Language syntax

Chapter 12—Data

Chapter 13—Functions and expressions

Chapter 14—Matrix expressions

Chapter 15—Saving and printing output—log files

Chapter 16—Do-files

Chapter 18—Programming Stata

Chapter 20—Estimation and postestimation commands

Chapter 21—Creating reports

Chapter 24—Working with strings

Chapter 25—Working with dates and times

Chapter 26—Working with categorical data and factor variables

Chapter 29—Using the Internet to keep up to date


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.