UCLA Academic Technology Services HomeServicesClassesContactJobs

Stata Textbook Examples
Applied Regression Analysis
Data Files


This page contains the data files for the book Applied Regression Analysis, Linear Models, and Related methods by John Fox.  We are very grateful to Professor Fox for granting us permission to distribute the data from his book at our web site.  If you should write about or otherwise use any of these data files, please credit Professor Fox and the original researchers.

You can obtain the data files in a variety of ways, 1. Downloading all of the files in Stata, 2. Using individual files from Stata, or 3. Getting the files over the web (via this web page).  These three methods are described below.

1. Downloading All of the Files in Stata

If you want to download all of the files, we suggest you create a new directory, such as c:\ara , and copy the files there.  If you wanted to make and use this directory, you would type the following in the Stata command window...

mkdir c:\ara
cd c:\ara

To copy all of the files, type

net from http://www.ats.ucla.edu/stat/stata/examples/
net get ara

2. Using Individual Files from Stata

If you prefer, you can simply use any of the files individually over the internet.  The names of the data files are supplied in the Fox book, and they are also shown in the table below.  Suppose you wanted to use the chile data file.  You would type

use http://www.ats.ucla.edu/stat/stata/examples/ara/chile

3. Getting Files Over the Web

 If you prefer, you can get the files over the web from the table shown below.  The leftmost column gives you the name of the data file.  You can click on the "Stata .dta File" and it will download the Stata .dta File.  If you have Stata installed on your computer, and you choose "Open the File" it should read the file right into Stata.  The third and fourth columns of the table show the codebook for the data file, and the raw data file.

Name of Data File      
Angell Stata .dta File Codebook Raw Data
Anscombe Stata .dta FileCodebookRaw Data
Bfox Stata .dta File Codebook Raw Data
Can-pop Stata .dta File Codebook Raw Data
Chile Stata .dta File Codebook Raw Data
Chirot Stata .dta File Codebook Raw Data
Davis Stata .dta File Codebook Raw Data
Duncan Stata .dta File Codebook Raw Data
Ericksen Stata .dta FileCodebookRaw Data
Friendly Stata .dta FileCodebookRaw Data
Ginzberg Stata .dta FileCodebookRaw Data
Greene Stata .dta File Codebook Raw Data
Guyer Stata .dta File Codebook Raw Data
Hartnagl Stata .dta FileCodebookRaw Data
Leinhard Stata .dta FileCodebookRaw Data
Mandel Stata .dta File Codebook Raw Data
Migratn Stata .dta File Codebook Raw Data
Moore Stata .dta File Codebook Raw Data
Ornstein Stata .dta FileCodebookRaw Data
Prestige Stata .dta FileCodebookRaw Data
Quartet Stata .dta File Codebook Raw Data
Robey Stata .dta File Codebook Raw Data
Sahlins Stata .dta File Codebook Raw Data
US-pop Stata .dta File Codebook Raw Data
Vocab Stata .dta File Codebook Raw Data
Womenlf Stata .dta File Codebook Raw Data


How to cite this page

Report an error on this page

UCLA Researchers are invited to our Statistical Consulting Services
We recommend others to our list of Other Resources for Statistical Computing Help
These pages are Copyrighted (c) by UCLA Academic Technology Services


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.