STATA Programs and Data Files

STATA Resources

ECON: 30331: Econometrics

 

Below is an introduction to STATA that accompanies this class. The tutorial is designed to be interactive where you type along with the worksheet. Please download and print the tutorial, find a computer with STATA, then start

 

Introduction to STATA tutorial (in pdf format)

 

Programs and data sets to accompany the tutorial

 

Excel data set with raw data: cps87.xls
STATA data set: cps87.dta
STATA program that generates all the results in the tutorial:  

cps87.do

Results from cps87.do: cps87.log
Read in the Excel version of the data, cps87.xls:  

read_in_excel_version_cps87.do

 

Data sets and programs used in class

 

Chapter Stata data set Stata program Output
Chapter 2 state_cig_data.dta state_cig_data.do state_cig_data.log
attendance.dta attendance.do attendance.log
cps87.dta educ_earn.do educ_earn.log
Chapter 3 ca_school_data_2.dta class_size_1.do class_size_1.log
gpa_example_1.dta gpa_example_1.do gpa_example_1.log
law_school_1985.dta
house_price.dta
Chapter 4 ca_school_data_2.dta class_size_4.do class_size_4.log
  ed_attain.dta ed_attain.do ed_attain.log
  cig_industry.dta cig_industry.do cig_industry.log
  state_cig_data.dta state_cig_data_1.do state_cig_data1.log
Chapter 8 bmi1.dta bmi1.do bmi1.log
state_cig_data.dta state_cig_data_2.do state_cig_data_2.log
Time series tbill3.dta tbill3.do tbill3.log
productivity.dta productivity.do productivity.log
taylor_rule.dta taylor_rule.do taylor_rule.log
daily_mortality.dta daily_mortality.do daily_mortality.log
  phillips_curve.dta phillip_curve.do phillips_curve.log
Example:�

Efficient markets

djia_random_walk.do djia_daily_data.dta djia_random_walk.log
Chapter 13

Diff/n/diff

kentucky.dta kentucky.do kentucky.log
2SLS models pums80.dta pums80.do pums80.log
Regression

Discontinuity

models

card_et_al.dta card_et_al.do card_et_al.log