SlideShare a Scribd company logo
1 of 18
ECN 425: Introduction to Econometrics
Alvin Murphy Arizona State University: Fall
2018
Assignment #1
Due at the beginning of class on Thursday, September 6th
PART I: DERIVING OLS ESTIMATORS
(You must show all work to receive full credit)
1) 1) Suppose the population regression function can be written
10
two restrictions imply:
1
:1
n
i
i
u
n
1
:1
n
i
ii
ux
n
. Parts (a)-(c) of this problem ask you to derive the OLS
estimators for
0
1
(20 points: 5/5/10)
1
:1
n
i
i
u
n
to demonstrate that the OLS estimator for
0
xy
10
n
i
i
y
n
y
:1
1
n
i
i
x
n
x
:1
1
.
1
:1
n
i
ii
ux
n
together with the result from (a) to demonstrate that the OLS
estimator for
1
n
i
ii
n
i
ii
xxx
yyx
1
:1
1
̂ .
(c) Use your result from (b) together with the definition of the
variance and covariance to
demonstrate that
i
ii
x
yx
var
,covˆ
1
2
2) Suppose the population regression function is uzy
i
10
following sample regression function:
iii
uxy ˆˆˆ
10
(20 points: 10/10)
(a) Express your estimator,
1
̂ , in terms of the data and parameters of the population
regression function,
ii
zx ,,
1
i
u .
(b) Use your result from (a) to demonstrate that
1
̂ is generally a biased estimator for
1
PART II: USING A FAKE DATA EXPERIMENT TO
INVESTIGATE OLS ESTIMATORS
A fake data experiment can be a useful way to investigate the
properties of an estimator. This
process begins by specifying the “true” economic model (i.e.
the population regression
function). The next step is to use this model to generate some
data that represent a population.
Finally, by taking repeated samples from the population and
using these samples to estimate the
sample regression function several times, you can evaluate how
well your estimator performs
(e.g. bias and variance) under specific conditions.
3) In this problem, you will use a fake data experiment to
demonstrate the importance of
correctly specifying the form of the sample regression function.
More precisely, you will
compare the bias of the OLS estimator when the model is
correctly specified, to the bias
when the model is incorrectly specified to use the wrong
explanatory variable. In the file
“fake1.dta”, I have generated a population of 500 observations
from the (true) regression
10
.
(25 points: 5/5/5/5/5)
a) Use these data to calculate the population parameters
0
1
use 2 decimal places.
3
b) Now, take a random 5% sample from the population and
discard the remaining
observations. This can be done using the command “bsample
round(0.05*_N)”. Use
this random sample to calculate OLS estimates for
0
1
Report your results out to
3 decimal places.
c) Repeat part (b) 19 more times, saving the values for
0
̂ and
1
̂ on each iteration. Thus,
on each iteration you are reloading “fake1.dta”, taking a new
randomly-chosen 5%
sample, and using that sample to generate estimates for
0
1
0
̂
1
̂bias . Of your
20 samples, what is the closest and the farthest that you come
from recovering the true
values of
0
1
00
11
00
11
d) Repeat the exercise in parts (b) and (c), except this time you
will incorrectly replace z
1
̂bias , 11
11
0
̂
1
̂bias consistent with the
theoretical properties of correctly specified OLS estimators?
Are your sample results
from part (d) consistent with what you learned from problem #2
about the theoretical
properties of an OLS estimator that is incorrectly specified to
use the wrong explanatory
variable? Please explain your answers.
1 Stata hint: After typing in the commands for the first iteration
in part (b), you can use the review window to click
on those same commands 19 more times, rather than typing
them again
4
PART III: EMPIRICAL ANALYSIS2
4) Use airfare.dta to answer the following questions. (15
points: 5/5/5)
(i) Report the mean, standard deviation, minimum and maximum
airfare for: (a) one-way
flights less than 500 miles, (b) one way flights between 500 and
1000 miles, (c) one-way
flights between 1000 and 2000 miles; and (d) one way flights
over 2000 miles.
(ii) Estimate a regression model where a one mile increase in
flight distance changes the
fare by a constant dollar amount. Use your result to predict the
price of flying 250 miles.
(iii) Now estimate a regression model where a one percent
increase in flight distance
leads to a constant percentage change in price. Use your result
to report the elasticity of
airfare to flight distance.
5) Is there adverse selection in the market for health care? I
have obtained state-level data on
health outcomes for the share of the population with health
insurance for 2004, 2005, 2008,
2009, and 2010. These data are from the Behavioral Risk
Factor Surveillance System. This
question asks you investigate the data, run some regressions,
and interpret the results. The
file BRFSS.dta contains data on state population, state
population with health insurance, and
health outcomes for the insured population.
(20 points: 5/5/5/5)
a) Generate a variable, share_insured, that measures the share of
the state population with
health insurance. Report summary statistics for share_insured
for each year (mean, st.
dev, min, max). Did the share of people with health insurance
in the average state
increase during the 2000’s?
b) Use a simple linear regression model to estimate how the
share of people with health
insurance impacts health outcomes for the insured population.
Report slope coefficients,
their standard errors, the number of observations, and the R2 in
the table below.
2 Stata hint: you might find the if and bysort commands helpful
on this part of the assignment.
5
avg. days
health not
good
avg. days
health
prevented
regular activity
disability (%)
use
equipment
because of
disability (%)
exercise in
past month
(%)
asthma (%) diabetes (%)
Slope coefficient ___ ___ ___ ___ ___ ___ ___
(___) (___) (___) (___) (___) (___) (___)
N ___ ___ ___ ___ ___ ___ ___
R2 ___ ___ ___ ___ ___ ___ ___
Dependent Variable
c) Based on your results, how would increasing the share of the
state population with health
insurance by 1% affect the average days that insured consumers
report their health is not
good? How would it affect the percentage of the insured
consumers with diabetes? Are
these results consistent with the presence of adverse selection in
the market for health
insurance? Explain your answer.
d) Does it seem reasonable to expect that the model we
estimated in part (b) provides an
unbiased estimator for the impact of health insurance on health
outcomes in the insured
population? If so, justify your answer by explaining why you
suspect SLR.1 through
SLR.4 are satisfied. If not, explain why you suspect one or
more of the four SLR
assumptions are violated.

More Related Content

Similar to ECN 425 Introduction to Econometrics Alvin Murphy .docx

Instructions and Advice · This assignment consists of six que.docx
Instructions and Advice · This assignment consists of six que.docxInstructions and Advice · This assignment consists of six que.docx
Instructions and Advice · This assignment consists of six que.docxdirkrplav
 
Week 1 Practice SetUniversity of Phoenix MaterialPract.docx
Week 1 Practice SetUniversity of Phoenix MaterialPract.docxWeek 1 Practice SetUniversity of Phoenix MaterialPract.docx
Week 1 Practice SetUniversity of Phoenix MaterialPract.docxnealralix138661
 
Stat2010 Sample Final
Stat2010 Sample FinalStat2010 Sample Final
Stat2010 Sample Finalknksmart
 
Findings, Conclusions, & RecommendationsReport Writing
Findings, Conclusions, & RecommendationsReport WritingFindings, Conclusions, & RecommendationsReport Writing
Findings, Conclusions, & RecommendationsReport WritingShainaBoling829
 
STAT 200 Introduction to Statistics Final Examination, Spri.docx
STAT 200 Introduction to Statistics Final Examination, Spri.docxSTAT 200 Introduction to Statistics Final Examination, Spri.docx
STAT 200 Introduction to Statistics Final Examination, Spri.docxrafaelaj1
 
Esitmates for year 201620162015Sales (units) increase.docx
Esitmates for year 201620162015Sales (units) increase.docxEsitmates for year 201620162015Sales (units) increase.docx
Esitmates for year 201620162015Sales (units) increase.docxYASHU40
 
International journal of applied sciences and innovation vol 2015 - no 2 - ...
International journal of applied sciences and innovation   vol 2015 - no 2 - ...International journal of applied sciences and innovation   vol 2015 - no 2 - ...
International journal of applied sciences and innovation vol 2015 - no 2 - ...sophiabelthome
 
As mentioned earlier, the mid-term will have conceptual and quanti.docx
As mentioned earlier, the mid-term will have conceptual and quanti.docxAs mentioned earlier, the mid-term will have conceptual and quanti.docx
As mentioned earlier, the mid-term will have conceptual and quanti.docxfredharris32
 
Page 1 of 10  ClassTime_______________Day_____________.docx
Page 1 of 10  ClassTime_______________Day_____________.docxPage 1 of 10  ClassTime_______________Day_____________.docx
Page 1 of 10  ClassTime_______________Day_____________.docxalfred4lewis58146
 
07 ch ken black solution
07 ch ken black solution07 ch ken black solution
07 ch ken black solutionKrunal Shah
 

Similar to ECN 425 Introduction to Econometrics Alvin Murphy .docx (12)

Instructions and Advice · This assignment consists of six que.docx
Instructions and Advice · This assignment consists of six que.docxInstructions and Advice · This assignment consists of six que.docx
Instructions and Advice · This assignment consists of six que.docx
 
Week 1 Practice SetUniversity of Phoenix MaterialPract.docx
Week 1 Practice SetUniversity of Phoenix MaterialPract.docxWeek 1 Practice SetUniversity of Phoenix MaterialPract.docx
Week 1 Practice SetUniversity of Phoenix MaterialPract.docx
 
Stat2010 Sample Final
Stat2010 Sample FinalStat2010 Sample Final
Stat2010 Sample Final
 
Res 110 entire course
Res 110 entire courseRes 110 entire course
Res 110 entire course
 
Findings, Conclusions, & RecommendationsReport Writing
Findings, Conclusions, & RecommendationsReport WritingFindings, Conclusions, & RecommendationsReport Writing
Findings, Conclusions, & RecommendationsReport Writing
 
STAT 200 Introduction to Statistics Final Examination, Spri.docx
STAT 200 Introduction to Statistics Final Examination, Spri.docxSTAT 200 Introduction to Statistics Final Examination, Spri.docx
STAT 200 Introduction to Statistics Final Examination, Spri.docx
 
Esitmates for year 201620162015Sales (units) increase.docx
Esitmates for year 201620162015Sales (units) increase.docxEsitmates for year 201620162015Sales (units) increase.docx
Esitmates for year 201620162015Sales (units) increase.docx
 
International journal of applied sciences and innovation vol 2015 - no 2 - ...
International journal of applied sciences and innovation   vol 2015 - no 2 - ...International journal of applied sciences and innovation   vol 2015 - no 2 - ...
International journal of applied sciences and innovation vol 2015 - no 2 - ...
 
As mentioned earlier, the mid-term will have conceptual and quanti.docx
As mentioned earlier, the mid-term will have conceptual and quanti.docxAs mentioned earlier, the mid-term will have conceptual and quanti.docx
As mentioned earlier, the mid-term will have conceptual and quanti.docx
 
Page 1 of 10  ClassTime_______________Day_____________.docx
Page 1 of 10  ClassTime_______________Day_____________.docxPage 1 of 10  ClassTime_______________Day_____________.docx
Page 1 of 10  ClassTime_______________Day_____________.docx
 
MidTerm memo
MidTerm memoMidTerm memo
MidTerm memo
 
07 ch ken black solution
07 ch ken black solution07 ch ken black solution
07 ch ken black solution
 

More from tidwellveronique

EDUC 742EDUC 742Reading Summary and Reflective Comments .docx
EDUC 742EDUC 742Reading Summary and Reflective Comments .docxEDUC 742EDUC 742Reading Summary and Reflective Comments .docx
EDUC 742EDUC 742Reading Summary and Reflective Comments .docxtidwellveronique
 
EDUC 380 Blog Post Samples Module 1 The Brain Below .docx
EDUC 380 Blog Post Samples Module 1 The Brain  Below .docxEDUC 380 Blog Post Samples Module 1 The Brain  Below .docx
EDUC 380 Blog Post Samples Module 1 The Brain Below .docxtidwellveronique
 
EDUC 741Course Project Part 1 Grading RubricCriteriaLevels .docx
EDUC 741Course Project Part 1 Grading RubricCriteriaLevels .docxEDUC 741Course Project Part 1 Grading RubricCriteriaLevels .docx
EDUC 741Course Project Part 1 Grading RubricCriteriaLevels .docxtidwellveronique
 
EDUC 740Prayer Reflection Report Grading RubricCriteriaLev.docx
EDUC 740Prayer Reflection Report Grading RubricCriteriaLev.docxEDUC 740Prayer Reflection Report Grading RubricCriteriaLev.docx
EDUC 740Prayer Reflection Report Grading RubricCriteriaLev.docxtidwellveronique
 
EDUC 6733 Action Research for EducatorsReading LiteracyDraft.docx
EDUC 6733 Action Research for EducatorsReading LiteracyDraft.docxEDUC 6733 Action Research for EducatorsReading LiteracyDraft.docx
EDUC 6733 Action Research for EducatorsReading LiteracyDraft.docxtidwellveronique
 
EDUC 637Technology Portfolio InstructionsGeneral OverviewF.docx
EDUC 637Technology Portfolio InstructionsGeneral OverviewF.docxEDUC 637Technology Portfolio InstructionsGeneral OverviewF.docx
EDUC 637Technology Portfolio InstructionsGeneral OverviewF.docxtidwellveronique
 
EDUC 364 The Role of Cultural Diversity in Schooling A dialecti.docx
EDUC 364 The Role of Cultural Diversity in Schooling A dialecti.docxEDUC 364 The Role of Cultural Diversity in Schooling A dialecti.docx
EDUC 364 The Role of Cultural Diversity in Schooling A dialecti.docxtidwellveronique
 
EDUC 144 Writing Tips The writing assignments in this cla.docx
EDUC 144 Writing Tips  The writing assignments in this cla.docxEDUC 144 Writing Tips  The writing assignments in this cla.docx
EDUC 144 Writing Tips The writing assignments in this cla.docxtidwellveronique
 
EDUC 1300- LEARNING FRAMEWORK Portfolio Page Prompts .docx
EDUC 1300- LEARNING FRAMEWORK Portfolio Page Prompts .docxEDUC 1300- LEARNING FRAMEWORK Portfolio Page Prompts .docx
EDUC 1300- LEARNING FRAMEWORK Portfolio Page Prompts .docxtidwellveronique
 
EDU734 Teaching and Learning Environment Week 5.docx
EDU734 Teaching and  Learning Environment Week 5.docxEDU734 Teaching and  Learning Environment Week 5.docx
EDU734 Teaching and Learning Environment Week 5.docxtidwellveronique
 
EDU 505 – Contemporary Issues in EducationCOURSE DESCRIPTION.docx
EDU 505 – Contemporary Issues in EducationCOURSE DESCRIPTION.docxEDU 505 – Contemporary Issues in EducationCOURSE DESCRIPTION.docx
EDU 505 – Contemporary Issues in EducationCOURSE DESCRIPTION.docxtidwellveronique
 
EDU 3338 Lesson Plan TemplateCandidate NameCooperatin.docx
EDU 3338 Lesson Plan TemplateCandidate NameCooperatin.docxEDU 3338 Lesson Plan TemplateCandidate NameCooperatin.docx
EDU 3338 Lesson Plan TemplateCandidate NameCooperatin.docxtidwellveronique
 
EDU 3215 Lesson Plan Template & Elements Name Andres Rod.docx
EDU 3215 Lesson Plan Template & Elements  Name Andres Rod.docxEDU 3215 Lesson Plan Template & Elements  Name Andres Rod.docx
EDU 3215 Lesson Plan Template & Elements Name Andres Rod.docxtidwellveronique
 
EDST 1100R SITUATED LEARNING EDST 1100 N Situated Learning .docx
EDST 1100R SITUATED LEARNING  EDST 1100 N Situated Learning .docxEDST 1100R SITUATED LEARNING  EDST 1100 N Situated Learning .docx
EDST 1100R SITUATED LEARNING EDST 1100 N Situated Learning .docxtidwellveronique
 
EDU 151 Thematic Unit Required ComponentsThematic Unit Requireme.docx
EDU 151 Thematic Unit Required ComponentsThematic Unit Requireme.docxEDU 151 Thematic Unit Required ComponentsThematic Unit Requireme.docx
EDU 151 Thematic Unit Required ComponentsThematic Unit Requireme.docxtidwellveronique
 
EDSP 429Differentiated Instruction PowerPoint InstructionsThe .docx
EDSP 429Differentiated Instruction PowerPoint InstructionsThe .docxEDSP 429Differentiated Instruction PowerPoint InstructionsThe .docx
EDSP 429Differentiated Instruction PowerPoint InstructionsThe .docxtidwellveronique
 
EDSP 429Fact Sheet on Disability Categories InstructionsThe pu.docx
EDSP 429Fact Sheet on Disability Categories InstructionsThe pu.docxEDSP 429Fact Sheet on Disability Categories InstructionsThe pu.docx
EDSP 429Fact Sheet on Disability Categories InstructionsThe pu.docxtidwellveronique
 
EDSP 370Individualized Education Plan (IEP) InstructionsThe .docx
EDSP 370Individualized Education Plan (IEP) InstructionsThe .docxEDSP 370Individualized Education Plan (IEP) InstructionsThe .docx
EDSP 370Individualized Education Plan (IEP) InstructionsThe .docxtidwellveronique
 
EDSP 377Scenario InstructionsScenario 2 Teaching communicatio.docx
EDSP 377Scenario InstructionsScenario 2 Teaching communicatio.docxEDSP 377Scenario InstructionsScenario 2 Teaching communicatio.docx
EDSP 377Scenario InstructionsScenario 2 Teaching communicatio.docxtidwellveronique
 
EDSP 377Autism Interventions1. Applied Behavior Analysis (ABA).docx
EDSP 377Autism Interventions1. Applied Behavior Analysis (ABA).docxEDSP 377Autism Interventions1. Applied Behavior Analysis (ABA).docx
EDSP 377Autism Interventions1. Applied Behavior Analysis (ABA).docxtidwellveronique
 

More from tidwellveronique (20)

EDUC 742EDUC 742Reading Summary and Reflective Comments .docx
EDUC 742EDUC 742Reading Summary and Reflective Comments .docxEDUC 742EDUC 742Reading Summary and Reflective Comments .docx
EDUC 742EDUC 742Reading Summary and Reflective Comments .docx
 
EDUC 380 Blog Post Samples Module 1 The Brain Below .docx
EDUC 380 Blog Post Samples Module 1 The Brain  Below .docxEDUC 380 Blog Post Samples Module 1 The Brain  Below .docx
EDUC 380 Blog Post Samples Module 1 The Brain Below .docx
 
EDUC 741Course Project Part 1 Grading RubricCriteriaLevels .docx
EDUC 741Course Project Part 1 Grading RubricCriteriaLevels .docxEDUC 741Course Project Part 1 Grading RubricCriteriaLevels .docx
EDUC 741Course Project Part 1 Grading RubricCriteriaLevels .docx
 
EDUC 740Prayer Reflection Report Grading RubricCriteriaLev.docx
EDUC 740Prayer Reflection Report Grading RubricCriteriaLev.docxEDUC 740Prayer Reflection Report Grading RubricCriteriaLev.docx
EDUC 740Prayer Reflection Report Grading RubricCriteriaLev.docx
 
EDUC 6733 Action Research for EducatorsReading LiteracyDraft.docx
EDUC 6733 Action Research for EducatorsReading LiteracyDraft.docxEDUC 6733 Action Research for EducatorsReading LiteracyDraft.docx
EDUC 6733 Action Research for EducatorsReading LiteracyDraft.docx
 
EDUC 637Technology Portfolio InstructionsGeneral OverviewF.docx
EDUC 637Technology Portfolio InstructionsGeneral OverviewF.docxEDUC 637Technology Portfolio InstructionsGeneral OverviewF.docx
EDUC 637Technology Portfolio InstructionsGeneral OverviewF.docx
 
EDUC 364 The Role of Cultural Diversity in Schooling A dialecti.docx
EDUC 364 The Role of Cultural Diversity in Schooling A dialecti.docxEDUC 364 The Role of Cultural Diversity in Schooling A dialecti.docx
EDUC 364 The Role of Cultural Diversity in Schooling A dialecti.docx
 
EDUC 144 Writing Tips The writing assignments in this cla.docx
EDUC 144 Writing Tips  The writing assignments in this cla.docxEDUC 144 Writing Tips  The writing assignments in this cla.docx
EDUC 144 Writing Tips The writing assignments in this cla.docx
 
EDUC 1300- LEARNING FRAMEWORK Portfolio Page Prompts .docx
EDUC 1300- LEARNING FRAMEWORK Portfolio Page Prompts .docxEDUC 1300- LEARNING FRAMEWORK Portfolio Page Prompts .docx
EDUC 1300- LEARNING FRAMEWORK Portfolio Page Prompts .docx
 
EDU734 Teaching and Learning Environment Week 5.docx
EDU734 Teaching and  Learning Environment Week 5.docxEDU734 Teaching and  Learning Environment Week 5.docx
EDU734 Teaching and Learning Environment Week 5.docx
 
EDU 505 – Contemporary Issues in EducationCOURSE DESCRIPTION.docx
EDU 505 – Contemporary Issues in EducationCOURSE DESCRIPTION.docxEDU 505 – Contemporary Issues in EducationCOURSE DESCRIPTION.docx
EDU 505 – Contemporary Issues in EducationCOURSE DESCRIPTION.docx
 
EDU 3338 Lesson Plan TemplateCandidate NameCooperatin.docx
EDU 3338 Lesson Plan TemplateCandidate NameCooperatin.docxEDU 3338 Lesson Plan TemplateCandidate NameCooperatin.docx
EDU 3338 Lesson Plan TemplateCandidate NameCooperatin.docx
 
EDU 3215 Lesson Plan Template & Elements Name Andres Rod.docx
EDU 3215 Lesson Plan Template & Elements  Name Andres Rod.docxEDU 3215 Lesson Plan Template & Elements  Name Andres Rod.docx
EDU 3215 Lesson Plan Template & Elements Name Andres Rod.docx
 
EDST 1100R SITUATED LEARNING EDST 1100 N Situated Learning .docx
EDST 1100R SITUATED LEARNING  EDST 1100 N Situated Learning .docxEDST 1100R SITUATED LEARNING  EDST 1100 N Situated Learning .docx
EDST 1100R SITUATED LEARNING EDST 1100 N Situated Learning .docx
 
EDU 151 Thematic Unit Required ComponentsThematic Unit Requireme.docx
EDU 151 Thematic Unit Required ComponentsThematic Unit Requireme.docxEDU 151 Thematic Unit Required ComponentsThematic Unit Requireme.docx
EDU 151 Thematic Unit Required ComponentsThematic Unit Requireme.docx
 
EDSP 429Differentiated Instruction PowerPoint InstructionsThe .docx
EDSP 429Differentiated Instruction PowerPoint InstructionsThe .docxEDSP 429Differentiated Instruction PowerPoint InstructionsThe .docx
EDSP 429Differentiated Instruction PowerPoint InstructionsThe .docx
 
EDSP 429Fact Sheet on Disability Categories InstructionsThe pu.docx
EDSP 429Fact Sheet on Disability Categories InstructionsThe pu.docxEDSP 429Fact Sheet on Disability Categories InstructionsThe pu.docx
EDSP 429Fact Sheet on Disability Categories InstructionsThe pu.docx
 
EDSP 370Individualized Education Plan (IEP) InstructionsThe .docx
EDSP 370Individualized Education Plan (IEP) InstructionsThe .docxEDSP 370Individualized Education Plan (IEP) InstructionsThe .docx
EDSP 370Individualized Education Plan (IEP) InstructionsThe .docx
 
EDSP 377Scenario InstructionsScenario 2 Teaching communicatio.docx
EDSP 377Scenario InstructionsScenario 2 Teaching communicatio.docxEDSP 377Scenario InstructionsScenario 2 Teaching communicatio.docx
EDSP 377Scenario InstructionsScenario 2 Teaching communicatio.docx
 
EDSP 377Autism Interventions1. Applied Behavior Analysis (ABA).docx
EDSP 377Autism Interventions1. Applied Behavior Analysis (ABA).docxEDSP 377Autism Interventions1. Applied Behavior Analysis (ABA).docx
EDSP 377Autism Interventions1. Applied Behavior Analysis (ABA).docx
 

Recently uploaded

“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfadityarao40181
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxsocialsciencegdgrohi
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerunnathinaik
 

Recently uploaded (20)

“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdf
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developer
 

ECN 425 Introduction to Econometrics Alvin Murphy .docx

  • 1. ECN 425: Introduction to Econometrics Alvin Murphy Arizona State University: Fall 2018 Assignment #1 Due at the beginning of class on Thursday, September 6th PART I: DERIVING OLS ESTIMATORS (You must show all work to receive full credit) 1) 1) Suppose the population regression function can be written 10 two restrictions imply: 1
  • 2. :1 n i i u n 1 :1 n i ii ux n . Parts (a)-(c) of this problem ask you to derive the OLS estimators for 0
  • 3. 1 (20 points: 5/5/10) 1 :1 n i i u n to demonstrate that the OLS estimator for 0 xy 10
  • 5. 1 :1 n i ii ux n together with the result from (a) to demonstrate that the OLS estimator for 1
  • 6. n i ii n i ii xxx yyx 1 :1 1 ̂ . (c) Use your result from (b) together with the definition of the variance and covariance to demonstrate that i
  • 7. ii x yx var ,covˆ 1 2 2) Suppose the population regression function is uzy i 10 following sample regression function: iii uxy ˆˆˆ 10 (20 points: 10/10)
  • 8. (a) Express your estimator, 1 ̂ , in terms of the data and parameters of the population regression function, ii zx ,, 1 i u . (b) Use your result from (a) to demonstrate that 1 ̂ is generally a biased estimator for 1 PART II: USING A FAKE DATA EXPERIMENT TO
  • 9. INVESTIGATE OLS ESTIMATORS A fake data experiment can be a useful way to investigate the properties of an estimator. This process begins by specifying the “true” economic model (i.e. the population regression function). The next step is to use this model to generate some data that represent a population. Finally, by taking repeated samples from the population and using these samples to estimate the sample regression function several times, you can evaluate how well your estimator performs (e.g. bias and variance) under specific conditions. 3) In this problem, you will use a fake data experiment to demonstrate the importance of correctly specifying the form of the sample regression function. More precisely, you will compare the bias of the OLS estimator when the model is correctly specified, to the bias when the model is incorrectly specified to use the wrong explanatory variable. In the file “fake1.dta”, I have generated a population of 500 observations from the (true) regression
  • 10. 10 . (25 points: 5/5/5/5/5) a) Use these data to calculate the population parameters 0 1 use 2 decimal places. 3 b) Now, take a random 5% sample from the population and discard the remaining observations. This can be done using the command “bsample round(0.05*_N)”. Use this random sample to calculate OLS estimates for 0
  • 11. 1 Report your results out to 3 decimal places. c) Repeat part (b) 19 more times, saving the values for 0 ̂ and 1 ̂ on each iteration. Thus, on each iteration you are reloading “fake1.dta”, taking a new randomly-chosen 5% sample, and using that sample to generate estimates for 0 1 0 ̂ 1
  • 12. ̂bias . Of your 20 samples, what is the closest and the farthest that you come from recovering the true values of 0 1 00 11 00 11 d) Repeat the exercise in parts (b) and (c), except this time you will incorrectly replace z 1 ̂bias , 11
  • 13. 11 0 ̂ 1 ̂bias consistent with the theoretical properties of correctly specified OLS estimators? Are your sample results from part (d) consistent with what you learned from problem #2 about the theoretical properties of an OLS estimator that is incorrectly specified to use the wrong explanatory variable? Please explain your answers. 1 Stata hint: After typing in the commands for the first iteration
  • 14. in part (b), you can use the review window to click on those same commands 19 more times, rather than typing them again 4 PART III: EMPIRICAL ANALYSIS2 4) Use airfare.dta to answer the following questions. (15 points: 5/5/5) (i) Report the mean, standard deviation, minimum and maximum airfare for: (a) one-way flights less than 500 miles, (b) one way flights between 500 and 1000 miles, (c) one-way flights between 1000 and 2000 miles; and (d) one way flights over 2000 miles. (ii) Estimate a regression model where a one mile increase in flight distance changes the fare by a constant dollar amount. Use your result to predict the price of flying 250 miles.
  • 15. (iii) Now estimate a regression model where a one percent increase in flight distance leads to a constant percentage change in price. Use your result to report the elasticity of airfare to flight distance. 5) Is there adverse selection in the market for health care? I have obtained state-level data on health outcomes for the share of the population with health insurance for 2004, 2005, 2008, 2009, and 2010. These data are from the Behavioral Risk Factor Surveillance System. This question asks you investigate the data, run some regressions, and interpret the results. The file BRFSS.dta contains data on state population, state population with health insurance, and health outcomes for the insured population. (20 points: 5/5/5/5) a) Generate a variable, share_insured, that measures the share of the state population with
  • 16. health insurance. Report summary statistics for share_insured for each year (mean, st. dev, min, max). Did the share of people with health insurance in the average state increase during the 2000’s? b) Use a simple linear regression model to estimate how the share of people with health insurance impacts health outcomes for the insured population. Report slope coefficients, their standard errors, the number of observations, and the R2 in the table below. 2 Stata hint: you might find the if and bysort commands helpful on this part of the assignment. 5 avg. days health not good avg. days health
  • 17. prevented regular activity disability (%) use equipment because of disability (%) exercise in past month (%) asthma (%) diabetes (%) Slope coefficient ___ ___ ___ ___ ___ ___ ___ (___) (___) (___) (___) (___) (___) (___) N ___ ___ ___ ___ ___ ___ ___ R2 ___ ___ ___ ___ ___ ___ ___ Dependent Variable c) Based on your results, how would increasing the share of the
  • 18. state population with health insurance by 1% affect the average days that insured consumers report their health is not good? How would it affect the percentage of the insured consumers with diabetes? Are these results consistent with the presence of adverse selection in the market for health insurance? Explain your answer. d) Does it seem reasonable to expect that the model we estimated in part (b) provides an unbiased estimator for the impact of health insurance on health outcomes in the insured population? If so, justify your answer by explaining why you suspect SLR.1 through SLR.4 are satisfied. If not, explain why you suspect one or more of the four SLR assumptions are violated.