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 ...

ABCDEFG   H   IJ   K   LMNOP   Q   RS   T   UVWX   Y   Z  

append

assert

assertnested


bcal

by


checksum

clear

clonevar

codebook

collapse

compare

compress

contract

copy

corr2data

count


Datetime

Datetime relative dates

describe

destring

drop

ds

duplicates


egen

encode

expand

expandcl


fillin

format

frames intro

frame create

frame put

frame pwf

frlink


generate

gsort


icd

icd9

icd9p

icd10

icd10cm

icd10pcs

import dbase

import excel

import sasxport5

import sasxport8

insobs

inspect

ipolate

isid


joinby


label

labelbook

list

lookfor


memory

merge

mvencode


notes


order

outfile


pctile

putmata


recast

recode

rename

reshape


sample

separate

snapshot

sort

stack

statsby

sysuse


use


vl

vl list


webuse


xpose


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 webmaster@stata-press.com and any such materials will be removed from this web page.