### Stata Textbook Examples Introduction to the Practice of Statistics Download Data Files

This page contains the data files for the book Introduction to the Practice of Statistics.  We are very grateful to W.H. Freeman and the authors for granting us permission to distribute the data from this book at our web site.

You can download the files used to show how to solve the Chapter Examples from within Stata.  Say you want to save these files in a directory called c:\mmwebdata, you would type the following in the Stata command window...

mkdir c:\mmwebdata
cd c:\mmwebdata
net from http://www.ats.ucla.edu/stat/stata/examples/mm/
net get webdata

This directory will then have the data so you can also solve the Chapter Examples from within Stata

You can download the data for a single chapter (i.e. the data from the tables in the chapter and the data for the excersises at the end of the chapter). We suggest you create a new directory and copy the files there.  For example, if you wanted to make a directory called c:\mmchap01 and copy the Chapter 1 files there, you would type the following in the Stata command window...

mkdir c:\mmchap01
cd c:\mmchap01
net from http://www.ats.ucla.edu/stat/stata/examples/mm/
net get chap01

Here are the names of all of the chapters that contain data. You can replace chap01 with the name of the chapter that has the data you want to download.

chap01
chap02
chap05
chap06
chap07
chap08
chap09
chap10
chap11
chap12
chap13
chap14
chap15
appendix

If you want to download all of the chapters, we suggest you create a new directory and copy all of the files there.  For example, if you wanted to make a directory called c:\mmall and copy the files there, you would type the following in the Stata command window...

mkdir c:\mmall
cd c:\mmall
do http://www.ats.ucla.edu/stat/stata/examples/mm/dl_all

This will copy all of the chapters listed in section 2 above, and place them in separate directories.

The content of this web site should not be construed as an endorsement of any particular web site, book, or software product by the University of California.