{"id":71,"date":"2019-01-28T16:11:04","date_gmt":"2019-01-28T20:11:04","guid":{"rendered":"http:\/\/sites.nd.edu\/william-evans\/?page_id=71"},"modified":"2021-07-20T09:11:30","modified_gmt":"2021-07-20T13:11:30","slug":"stata-programs-and-data-files","status":"publish","type":"page","link":"https:\/\/sites.nd.edu\/william-evans\/econ-30331-econometrics-undergraduate\/stata-programs-and-data-files\/","title":{"rendered":"STATA Programs and Data Files"},"content":{"rendered":"<p style=\"text-align: center\"><strong>STATA Resources<\/strong><\/p>\n<p style=\"text-align: center\"><strong>ECON: 30331: Econometrics<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"font-weight: 400\"><strong>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<\/strong><\/p>\n<p style=\"font-weight: 400\"><strong>\u00a0<\/strong><\/p>\n<p style=\"font-weight: 400\"><strong><a href=\"https:\/\/www3.nd.edu\/~wevans1\/econ30331\/Introduction%20to%20STATA.pdf\">Introduction to STATA<\/a>\u00a0tutorial (in pdf format)<\/strong><\/p>\n<p style=\"font-weight: 400\"><strong>\u00a0<\/strong><\/p>\n<p style=\"font-weight: 400\"><strong>Programs and data sets to accompany the tutorial<\/strong><\/p>\n<p style=\"font-weight: 400\"><strong>\u00a0<\/strong><\/p>\n<table>\n<tbody>\n<tr>\n<td width=\"276\"><strong>Excel data set with raw data:<\/strong><\/td>\n<td width=\"264\"><strong><a href=\"https:\/\/www3.nd.edu\/~wevans1\/econ30331\/cps87.xls\">cps87.xls<\/a><\/strong><\/td>\n<\/tr>\n<tr>\n<td width=\"276\"><strong>STATA data set:<\/strong><\/td>\n<td width=\"264\"><strong><a href=\"https:\/\/www3.nd.edu\/~wevans1\/econ30331\/cps87.dta\">cps87.dta<\/a><\/strong><\/td>\n<\/tr>\n<tr>\n<td width=\"276\"><strong>STATA program that generates all the results in the tutorial:<\/strong><\/td>\n<td width=\"264\"><strong>\u00a0<\/strong><\/p>\n<p><strong><a href=\"https:\/\/www3.nd.edu\/~wevans1\/econ30331\/cps87.do\">cps87.do<\/a><\/strong><\/td>\n<\/tr>\n<tr>\n<td width=\"276\"><strong>Results from cps87.do:<\/strong><\/td>\n<td width=\"264\"><strong><a href=\"https:\/\/www3.nd.edu\/~wevans1\/econ30331\/cps87.log\">cps87.log<\/a><\/strong><\/td>\n<\/tr>\n<tr>\n<td width=\"276\"><strong>Read in the Excel version of the data, cps87.xls:<\/strong><\/td>\n<td width=\"264\"><strong>\u00a0<\/strong><\/p>\n<p><strong><a href=\"https:\/\/www3.nd.edu\/~wevans1\/econ30331\/read_in_excel_version_cps87.do\">read_in_excel_version_cps87.do<\/a><\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"font-weight: 400\"><strong>\u00a0<\/strong><\/p>\n<p style=\"font-weight: 400\"><strong>Data sets and programs used in class<\/strong><\/p>\n<p style=\"font-weight: 400\"><strong>\u00a0<\/strong><\/p>\n<table>\n<tbody>\n<tr>\n<td width=\"136\"><strong>Chapter<\/strong><\/td>\n<td width=\"149\"><strong>Stata data set<\/strong><\/td>\n<td width=\"138\"><strong>Stata program<\/strong><\/td>\n<td width=\"147\"><strong>Output<\/strong><\/td>\n<\/tr>\n<tr>\n<td width=\"136\"><strong>Chapter 2<\/strong><\/td>\n<td width=\"149\"><a href=\"https:\/\/www3.nd.edu\/~wevans1\/econ30331\/state_cig_data.dta\">state_cig_data.dta<\/a><\/td>\n<td width=\"138\"><a href=\"https:\/\/www3.nd.edu\/~wevans1\/econ30331\/state_cig_data.do\">state_cig_data.do<\/a><\/td>\n<td width=\"147\"><a href=\"https:\/\/www3.nd.edu\/~wevans1\/econ30331\/state_cig_data.log\">state_cig_data.log<\/a><\/td>\n<\/tr>\n<tr>\n<td width=\"136\"><\/td>\n<td width=\"149\"><a href=\"https:\/\/www3.nd.edu\/~wevans1\/econ30331\/attendance.dta\">attendance.dta<\/a><\/td>\n<td width=\"138\"><a href=\"https:\/\/www3.nd.edu\/~wevans1\/econ30331\/attendance.do\">attendance.do<\/a><\/td>\n<td width=\"147\"><a href=\"https:\/\/www3.nd.edu\/~wevans1\/econ30331\/attendance.log\">attendance.log<\/a><\/td>\n<\/tr>\n<tr>\n<td width=\"136\"><\/td>\n<td width=\"149\"><a href=\"https:\/\/www3.nd.edu\/~wevans1\/econ30331\/cps87.dta\">cps87.dta<\/a><\/td>\n<td width=\"138\"><a href=\"https:\/\/www3.nd.edu\/~wevans1\/econ30331\/educ_earn.do\">educ_earn.do<\/a><\/td>\n<td width=\"147\"><a href=\"https:\/\/www3.nd.edu\/~wevans1\/econ30331\/educ_earn.log\">educ_earn.log<\/a><\/td>\n<\/tr>\n<tr>\n<td width=\"136\"><strong>Chapter 3<\/strong><\/td>\n<td width=\"149\"><a href=\"https:\/\/www3.nd.edu\/~wevans1\/econ30331\/ca_school_data_2.dta\">ca_school_data_2.dta<\/a><\/td>\n<td width=\"138\"><a href=\"https:\/\/www3.nd.edu\/~wevans1\/econ30331\/class_size_1.do\">class_size_1.do<\/a><\/td>\n<td width=\"147\"><a href=\"https:\/\/www3.nd.edu\/~wevans1\/econ30331\/class_size_1.log\">class_size_1.log<\/a><\/td>\n<\/tr>\n<tr>\n<td width=\"136\"><\/td>\n<td width=\"149\"><a href=\"https:\/\/www3.nd.edu\/~wevans1\/econ30331\/gpa_example_1.dta\">gpa_example_1.dta<\/a><\/td>\n<td width=\"138\"><a href=\"https:\/\/www3.nd.edu\/~wevans1\/econ30331\/gpa_example_1.do\">gpa_example_1.do<\/a><\/td>\n<td width=\"147\"><a href=\"https:\/\/www3.nd.edu\/~wevans1\/econ30331\/gpa_example_1.log\">gpa_example_1.log<\/a><\/td>\n<\/tr>\n<tr>\n<td width=\"136\"><\/td>\n<td width=\"149\"><a href=\"https:\/\/www3.nd.edu\/~wevans1\/econ30331\/law_school_1985.dta\">law_school_1985.dta<\/a><\/td>\n<td width=\"138\"><\/td>\n<td width=\"147\"><\/td>\n<\/tr>\n<tr>\n<td width=\"136\"><\/td>\n<td width=\"149\"><a href=\"https:\/\/www3.nd.edu\/~wevans1\/econ30331\/house_price.dta\">house_price.dta<\/a><\/td>\n<td width=\"138\"><\/td>\n<td width=\"147\"><\/td>\n<\/tr>\n<tr>\n<td width=\"136\"><strong>Chapter 4<\/strong><\/td>\n<td width=\"149\"><a href=\"https:\/\/www3.nd.edu\/~wevans1\/econ30331\/ca_school_data_2.dta\">ca_school_data_2.dta<\/a><\/td>\n<td width=\"138\"><a href=\"https:\/\/www3.nd.edu\/~wevans1\/econ30331\/class_size_4.do\">class_size_4.do<\/a><\/td>\n<td width=\"147\"><a href=\"https:\/\/www3.nd.edu\/~wevans1\/econ30331\/class_size_4.log\">class_size_4.log<\/a><\/td>\n<\/tr>\n<tr>\n<td width=\"136\"><strong>\u00a0<\/strong><\/td>\n<td width=\"149\"><a href=\"https:\/\/www3.nd.edu\/~wevans1\/econ30331\/ed_attain.dta\">ed_attain.dta<\/a><\/td>\n<td width=\"138\"><a href=\"https:\/\/www3.nd.edu\/~wevans1\/econ30331\/ed_attain.do\">ed_attain.do<\/a><\/td>\n<td width=\"147\"><a href=\"https:\/\/www3.nd.edu\/~wevans1\/econ30331\/ed_attain.log\">ed_attain.log<\/a><\/td>\n<\/tr>\n<tr>\n<td width=\"136\"><strong>\u00a0<\/strong><\/td>\n<td width=\"149\"><a href=\"https:\/\/www3.nd.edu\/~wevans1\/econ30331\/cig_industry.dta\">cig_industry.dta<\/a><\/td>\n<td width=\"138\"><a href=\"https:\/\/www3.nd.edu\/~wevans1\/econ30331\/cig_industry.do\">cig_industry.do<\/a><\/td>\n<td width=\"147\"><a href=\"https:\/\/www3.nd.edu\/~wevans1\/econ30331\/cig_industry.log\">cig_industry.log<\/a><\/td>\n<\/tr>\n<tr>\n<td width=\"136\"><strong>\u00a0<\/strong><\/td>\n<td width=\"149\"><a href=\"https:\/\/www3.nd.edu\/~wevans1\/econ30331\/state_cig_data.dta\">state_cig_data.dta<\/a><\/td>\n<td width=\"138\"><a href=\"https:\/\/www3.nd.edu\/~wevans1\/econ30331\/state_cig_data_1.do\">state_cig_data_1.do<\/a><\/td>\n<td width=\"147\"><a href=\"https:\/\/www3.nd.edu\/~wevans1\/econ30331\/state_cig_data_1.log\">state_cig_data1.log<\/a><\/td>\n<\/tr>\n<tr>\n<td width=\"136\"><strong>Chapter 8<\/strong><\/td>\n<td width=\"149\"><a href=\"https:\/\/www3.nd.edu\/~wevans1\/econ30331\/bmi1.dta\">bmi1.dta<\/a><\/td>\n<td width=\"138\"><a href=\"https:\/\/www3.nd.edu\/~wevans1\/econ30331\/bmi1.do\">bmi1.do<\/a><\/td>\n<td width=\"147\"><a href=\"https:\/\/www3.nd.edu\/~wevans1\/econ30331\/bmi1.log\">bmi1.log<\/a><\/td>\n<\/tr>\n<tr>\n<td width=\"136\"><\/td>\n<td width=\"149\"><a href=\"https:\/\/www3.nd.edu\/~wevans1\/econ30331\/state_cig_data.dta\">state_cig_data.dta<\/a><\/td>\n<td width=\"138\"><a href=\"https:\/\/www3.nd.edu\/~wevans1\/econ30331\/state_cig_data_2.do\">state_cig_data_2.do<\/a><\/td>\n<td width=\"147\"><a href=\"https:\/\/www3.nd.edu\/~wevans1\/econ30331\/state_cig_data_2.log\">state_cig_data_2.log<\/a><\/td>\n<\/tr>\n<tr>\n<td rowspan=\"4\" width=\"136\"><strong>Time series<\/strong><\/td>\n<td width=\"149\"><a href=\"https:\/\/www3.nd.edu\/~wevans1\/econ30331\/tbill3.dta\">tbill3.dta<\/a><\/td>\n<td width=\"138\"><a href=\"https:\/\/www3.nd.edu\/~wevans1\/econ30331\/tbill3.do\">tbill3.do<\/a><\/td>\n<td width=\"147\"><a href=\"https:\/\/www3.nd.edu\/~wevans1\/econ30331\/tbill3.log\">tbill3.log<\/a><\/td>\n<\/tr>\n<tr>\n<td width=\"149\"><a href=\"https:\/\/www3.nd.edu\/~wevans1\/econ30331\/productivity.dta\">productivity.dta<\/a><\/td>\n<td width=\"138\"><a href=\"https:\/\/www3.nd.edu\/~wevans1\/econ30331\/productivity.do\">productivity.do<\/a><\/td>\n<td width=\"147\"><a href=\"https:\/\/www3.nd.edu\/~wevans1\/econ30331\/productivity.log\">productivity.log<\/a><\/td>\n<\/tr>\n<tr>\n<td width=\"149\"><a href=\"https:\/\/www3.nd.edu\/~wevans1\/econ30331\/taylor_rule.dta\">taylor_rule.dta<\/a><\/td>\n<td width=\"138\"><a href=\"https:\/\/www3.nd.edu\/~wevans1\/econ30331\/taylor_rule.do\">taylor_rule.do<\/a><\/td>\n<td width=\"147\"><a href=\"https:\/\/www3.nd.edu\/~wevans1\/econ30331\/taylor_rule.log\">taylor_rule.log<\/a><\/td>\n<\/tr>\n<tr>\n<td width=\"149\"><a href=\"https:\/\/www3.nd.edu\/~wevans1\/econ30331\/daily_mortality.dta\">daily_mortality.dta<\/a><\/td>\n<td width=\"138\"><a href=\"https:\/\/www3.nd.edu\/~wevans1\/econ30331\/daily_mortality.do\">daily_mortality.do<\/a><\/td>\n<td width=\"147\"><a href=\"https:\/\/www3.nd.edu\/~wevans1\/econ30331\/daily_mortality.log\">daily_mortality.log<\/a><\/td>\n<\/tr>\n<tr>\n<td width=\"136\"><strong>\u00a0<\/strong><\/td>\n<td width=\"149\"><a href=\"https:\/\/www3.nd.edu\/~wevans1\/econ30331\/phillips_curve.dta\">phillips_curve.dta<\/a><\/td>\n<td width=\"138\"><a href=\"https:\/\/www3.nd.edu\/~wevans1\/econ30331\/phillips_curve.do\">phillip_curve.do<\/a><\/td>\n<td width=\"147\"><a href=\"https:\/\/www3.nd.edu\/~wevans1\/econ30331\/phillips_curve.log\">phillips_curve.log<\/a><\/td>\n<\/tr>\n<tr>\n<td width=\"136\"><strong>Example:\ufffd<\/strong><\/p>\n<p><strong>Efficient markets<\/strong><\/td>\n<td width=\"149\"><a href=\"https:\/\/www3.nd.edu\/~wevans1\/econ30331\/djia_random_walk.do\">djia_random_walk.do<\/a><\/td>\n<td width=\"138\"><a href=\"https:\/\/www3.nd.edu\/~wevans1\/econ30331\/djia_daily_data.dta\">djia_daily_data.dta<\/a><\/td>\n<td width=\"147\"><a href=\"https:\/\/www3.nd.edu\/~wevans1\/econ30331\/djia_random_walk.log\">djia_random_walk.log<\/a><\/td>\n<\/tr>\n<tr>\n<td width=\"136\"><strong>Chapter 13<\/strong><\/p>\n<p><strong>Diff\/n\/diff<\/strong><\/td>\n<td width=\"149\"><a href=\"https:\/\/www3.nd.edu\/~wevans1\/econ30331\/kentucky.dta\">kentucky.dta<\/a><\/td>\n<td width=\"138\"><a href=\"https:\/\/www3.nd.edu\/~wevans1\/econ30331\/kentucky.do\">kentucky.do<\/a><\/td>\n<td width=\"147\"><a href=\"https:\/\/www3.nd.edu\/~wevans1\/econ30331\/kentucky.log\">kentucky.log<\/a><\/td>\n<\/tr>\n<tr>\n<td width=\"136\"><strong>2SLS models<\/strong><\/td>\n<td width=\"149\"><a href=\"https:\/\/www3.nd.edu\/~wevans1\/econ30331\/pums80.dta\">pums80.dta<\/a><\/td>\n<td width=\"138\"><a href=\"https:\/\/www3.nd.edu\/~wevans1\/econ30331\/pums80.do\">pums80.do<\/a><\/td>\n<td width=\"147\"><a href=\"https:\/\/www3.nd.edu\/~wevans1\/econ30331\/pums80.log\">pums80.log<\/a><\/td>\n<\/tr>\n<tr>\n<td width=\"136\"><strong>Regression<\/strong><\/p>\n<p><strong>Discontinuity<\/strong><\/p>\n<p><strong>models<\/strong><\/td>\n<td width=\"149\"><a href=\"https:\/\/www3.nd.edu\/~wevans1\/econ30331\/card_et_al.dta\">card_et_al.dta<\/a><\/td>\n<td width=\"138\"><a href=\"https:\/\/www3.nd.edu\/~wevans1\/econ30331\/card_et_al.do\">card_et_al.do<\/a><\/td>\n<td width=\"147\"><a href=\"https:\/\/www3.nd.edu\/~wevans1\/econ30331\/card_et_al.log\">card_et_al.log<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"font-weight: 400\">\n","protected":false},"excerpt":{"rendered":"<p>STATA Resources ECON: 30331: Econometrics &nbsp; 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 \u00a0 Introduction to STATA\u00a0tutorial (in pdf format) \u00a0 Programs and data sets [&hellip;]<\/p>\n","protected":false},"author":3287,"featured_media":0,"parent":48,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-71","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/sites.nd.edu\/william-evans\/wp-json\/wp\/v2\/pages\/71","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sites.nd.edu\/william-evans\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/sites.nd.edu\/william-evans\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/sites.nd.edu\/william-evans\/wp-json\/wp\/v2\/users\/3287"}],"replies":[{"embeddable":true,"href":"https:\/\/sites.nd.edu\/william-evans\/wp-json\/wp\/v2\/comments?post=71"}],"version-history":[{"count":2,"href":"https:\/\/sites.nd.edu\/william-evans\/wp-json\/wp\/v2\/pages\/71\/revisions"}],"predecessor-version":[{"id":73,"href":"https:\/\/sites.nd.edu\/william-evans\/wp-json\/wp\/v2\/pages\/71\/revisions\/73"}],"up":[{"embeddable":true,"href":"https:\/\/sites.nd.edu\/william-evans\/wp-json\/wp\/v2\/pages\/48"}],"wp:attachment":[{"href":"https:\/\/sites.nd.edu\/william-evans\/wp-json\/wp\/v2\/media?parent=71"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}