Download Stata Data Files
This page describes how to download the data files used in Experimental Design . We are very grateful to Professor Kirk for granting us permission to distribute the data files from his book at our web site. 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
If you want to download all of the files, we suggest you create a new directory, such as c:kirk , 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:kirk cd c:kirk
To copy all of the files, type
net from https://stats.idre.ucla.edu/stat/stata/examples/ net get kirk
2. Using Individual Files
If you prefer, you can simply use any of the files individually over the internet. Suppose you wanted to use the crf33.dta file. You would type
use https://stats.idre.ucla.edu/stat/stata/examples/kirk/crf33
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 | Stata .dta File |
co3 | Stata .dta File |
crac3 | Stata .dta File |
crac4 | Stata .dta File |
cr4 | Stata .dta File |
crf222 | Stata .dta File |
crf33 | Stata .dta File |
crf33a | Stata .dta File |
crf33b | Stata .dta File |
crff24-1 | Stata .dta File |
crh27 | Stata .dta File |
crh28 | Stata .dta File |
grb4 | Stata .dta File |
ls4 | Stata .dta File |
ls4a | Stata .dta File |
lscf3-2 | Stata .dta File |
lsff42-2 | Stata .dta File |
lsff33-2 | Stata .dta File |
rb3 | Stata .dta File |
rb4 | Stata .dta File |
rbcf2-2 | Stata .dta File |
rbcf2-3 | Stata .dta File |
rbcf3-2 | Stata .dta File |
rbf33 | Stata .dta File |
rbpf2-3 | Stata .dta File |
rbpf3-2 | Stata .dta File |
rbpf32-2 | Stata .dta File |
spf2-22 | Stata .dta File |
spf2-3a | Stata .dta File |
spf2-4 | Stata .dta File |
spf22-4 | Stata .dta File |