Write a code that separately runs the first stage regression

Assignment Help Other Subject
Reference no: EM132473246

Assignment -

Instructions - In what follows, the 'full' model considers x1 and x2, while the truncated model refers to a specification that only uses x1.Z1, Z2, Z3 and Z4 will be candidates for instrumental variables.

This is the Var-Cov matrix that I used for simulating the data:

Correlations

Const

x1

x2

Z1

Z2

Z3

Z4

eps

Const

1

0

0

0

0

0

0

0

x1

0

1

0.12

0.5

0

0.2

0.01

0.6

x2

0

0.12

1

0.4

0

0

0.001

0.02

Z1

0

0.5

0.4

1

0.6

0

0

0.6

Z2

0

0

0

0

1

0.4

0

0

Z3

0

0.2

0

0

0.4

1

0

0

Z4

0

0.01

0.001

0

0

0

1

0

eps

0

0.6

0.02

0.6

0

0

0

1

Here are the "true coefficients" I used to generate y4 and y5:

y4 = 0.48 + 1.18*x[1] + 0.72*x[2] + eps

y5 = 0.48 + 2.2*x[1] + 1.74*x[2] + 0.4*eps

Question - IV for starters

Compare the estimates of the full OLS model and the IV Regression. -Why are the estimated coefficients different?

Looking at the Var-Cov Matrix, what bias would you expect for x1 and what bias for x2?, calculate! (Hint: the X - matrix for calculating the bias consists of x1 and x2., i.e. you can disregard the z's and the constant for this calculation. E(X,u) is given by the "eps" - column)

Which of the X Variables is endogenous with y (e.g.asimultaneityproblem)?

You have 4 candidates that you can use as an instrumental variable for X1, but

- One is itself endogenous.

- One is a weak instrument

- One is irrelevant and

- Only one is valid.

Which is which?

Now try instrumenting for x2!

Before you go ahead, consider for each z if you can or cannot use it as instrument. Explain, why not, or, if you can, explain what the assumptions would be and explain the exclusion restriction.

Refer to the "IV-assumptions" in the Angristbook or on the slides for your argument.

Independent of your answer in the previous points: consider using Z4 as an instrument for X2:

- Do 2SLS, describe which steps you have to take?

- Write a code that separately runs the first stage and the second stage regression.

- Which of the two assumptions can you test? Is it satisfied?

- Rehash the MM-IV Estimator that we saw in class.

- What variables will you include in the Z matrix?

- Write a code that directly implements the estimator in matrix notation.

- Now interpret the coefficient estimates that you got In the direct IV and In the 2SLS.

- Share any thoughts, questions or confusion on this exercise. (Hint: it's likely that the final estimation result is not satisfactory - maybe you can see why, but don't worry if you cannot.)

Reference no: EM132473246

Questions Cloud

Implementing corporate social responsibility : Describe at least two benefits to companies implementing corporate social responsibility (CSR) and shared value strategies.
Concern about their future and attempt to increase : An interesting paradox called the "Paradox of Thrift" arises when households become concern about their future and attempt to increase their saving.
Compare and contrast the church shooting : Compare and contrast the Church Shooting that occurred on June 17, 2015, in Charleston, South Carolina to the shooting that occurred on December
How were power relationships constructed in the roman world : How were power relationships constructed in the Roman world? In your answer, avoid focusing solely on the powers of the emperor
Write a code that separately runs the first stage regression : Write a code that separately runs the first stage and the second stage regression. Write a code that directly implements the estimator in matrix notation
Quantitative article annotation assignment : Quantitative Article Annotation Assignment Help and Solution - summarize aim of the study and specific research objectives and describe the model.
Identity derived from reinvented notions of uniqueness : iscuss this claim, with special reference to developments in the Tokugawa and Meiji periods. Include as many relevant details as possible
What point is the opinion editorial trying to make : What point is the opinion editorial trying to make? What is the meaning of the expression "psychological firewall" in the context of this reading?
Demand curve for coffee shifts out : A number of changes in the state of the world are listed below. For each, illustrate using a simple diagram, whether the demand curve for coffee shifts out

Reviews

Write a Review

Other Subject Questions & Answers

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd