Instrumental Variables & 2SLS

Similar documents
MULTIPLE REGRESSION AND ISSUES IN REGRESSION ANALYSIS

Wooldridge, Introductory Econometrics, 3d ed. Chapter 12: Serial correlation and heteroskedasticity in time series regressions

Solución del Examen Tipo: 1

ECON 142 SKETCH OF SOLUTIONS FOR APPLIED EXERCISE #2

Econometric analysis of the Belgian car market

Financial Risk Management Exam Sample Questions/Answers

problem arises when only a non-random sample is available differs from censored regression model in that x i is also unobserved

2. Linear regression with multiple regressors

IAPRI Quantitative Analysis Capacity Building Series. Multiple regression analysis & interpreting results

Lecture 15. Endogeneity & Instrumental Variable Estimation

Chapter 10: Basic Linear Unobserved Effects Panel Data. Models:

Please follow the directions once you locate the Stata software in your computer. Room 114 (Business Lab) has computers with Stata software

SYSTEMS OF REGRESSION EQUATIONS

IMPACT EVALUATION: INSTRUMENTAL VARIABLE METHOD

What s New in Econometrics? Lecture 8 Cluster and Stratified Sampling

Overview of Violations of the Basic Assumptions in the Classical Normal Linear Regression Model

Panel Data: Linear Models

Correlational Research

Module 5: Multiple Regression Analysis

Regression Analysis (Spring, 2000)

Introduction to Regression and Data Analysis

1. THE LINEAR MODEL WITH CLUSTER EFFECTS

Example: Boats and Manatees

Mgmt 469. Model Specification: Choosing the Right Variables for the Right Hand Side

Correlated Random Effects Panel Data Models

Using instrumental variables techniques in economics and finance

Empirical Methods in Applied Economics

PITFALLS IN TIME SERIES ANALYSIS. Cliff Hurvich Stern School, NYU

Regression III: Advanced Methods

Multiple Regression: What Is It?

Simple Linear Regression Inference

Multiple Linear Regression in Data Mining

Simple Regression Theory II 2010 Samuel L. Baker

Multiple Linear Regression

Financial Risk Management Exam Sample Questions

16 : Demand Forecasting

Chapter 2. Dynamic panel data models

From the help desk: Bootstrapped standard errors

Introduction to Regression Models for Panel Data Analysis. Indiana University Workshop in Methods October 7, Professor Patricia A.

False. Model 2 is not a special case of Model 1, because Model 2 includes X5, which is not part of Model 1. What she ought to do is estimate

FIXED EFFECTS AND RELATED ESTIMATORS FOR CORRELATED RANDOM COEFFICIENT AND TREATMENT EFFECT PANEL DATA MODELS

Employer-Provided Health Insurance and Labor Supply of Married Women

Missing Data: Part 1 What to Do? Carol B. Thompson Johns Hopkins Biostatistics Center SON Brown Bag 3/20/13

Mgmt 469. Regression Basics. You have all had some training in statistics and regression analysis. Still, it is useful to review

Outline. Topic 4 - Analysis of Variance Approach to Regression. Partitioning Sums of Squares. Total Sum of Squares. Partitioning sums of squares

Accounting for Time-Varying Unobserved Ability Heterogeneity within Education Production Functions

Part 2: Analysis of Relationship Between Two Variables

Econometrics Simple Linear Regression

Hypothesis testing - Steps

Chapter 10. Key Ideas Correlation, Correlation Coefficient (r),

Chapter 1. Vector autoregressions. 1.1 VARs and the identi cation problem

Panel Data Analysis in Stata

Chapter 7: Dummy variable regression

EFFECT OF INVENTORY MANAGEMENT EFFICIENCY ON PROFITABILITY: CURRENT EVIDENCE FROM THE U.S. MANUFACTURING INDUSTRY

Nonlinear Regression Functions. SW Ch 8 1/54/

X X X a) perfect linear correlation b) no correlation c) positive correlation (r = 1) (r = 0) (0 < r < 1)

The VAR models discussed so fare are appropriate for modeling I(0) data, like asset returns or growth rates of macroeconomic time series.

Elements of statistics (MATH0487-1)

ON THE ROBUSTNESS OF FIXED EFFECTS AND RELATED ESTIMATORS IN CORRELATED RANDOM COEFFICIENT PANEL DATA MODELS

Examining the effects of exchange rates on Australian domestic tourism demand: A panel generalized least squares approach

Note 2 to Computer class: Standard mis-specification tests

Regression with a Binary Dependent Variable

Chapter 6: Multivariate Cointegration Analysis

DETERMINANTS OF CAPITAL ADEQUACY RATIO IN SELECTED BOSNIAN BANKS

LOGIT AND PROBIT ANALYSIS

MISSING DATA TECHNIQUES WITH SAS. IDRE Statistical Consulting Group

Section 14 Simple Linear Regression: Introduction to Least Squares Regression

Appendices with Supplementary Materials for CAPM for Estimating Cost of Equity Capital: Interpreting the Empirical Evidence

Unit 31 A Hypothesis Test about Correlation and Slope in a Simple Linear Regression

Statistical tests for SPSS

Simple linear regression

Univariate Regression

Influences of Organizational Structure and Diversification on Medical Malpractice Insurer Performance

Testing for Granger causality between stock prices and economic growth

Causal Forecasting Models

The Effect of Housing on Portfolio Choice. July 2009

UNDERSTANDING ANALYSIS OF COVARIANCE (ANCOVA)

August 2012 EXAMINATIONS Solution Part I

5. Multiple regression

Pearson s Correlation

FORECASTING DEPOSIT GROWTH: Forecasting BIF and SAIF Assessable and Insured Deposits

QUANTITATIVE METHODS BIOLOGY FINAL HONOUR SCHOOL NON-PARAMETRIC TESTS

INTRODUCTION TO MULTIPLE CORRELATION

Notes on Applied Linear Regression

Mortgage Lending Discrimination and Racial Differences in Loan Default

PARTIAL LEAST SQUARES IS TO LISREL AS PRINCIPAL COMPONENTS ANALYSIS IS TO COMMON FACTOR ANALYSIS. Wynne W. Chin University of Calgary, CANADA

SIMPLE LINEAR CORRELATION. r can range from -1 to 1, and is independent of units of measurement. Correlation can be done on two dependent variables.

Course Objective This course is designed to give you a basic understanding of how to run regressions in SPSS.

Effects of CEO turnover on company performance

Lecture 3: Differences-in-Differences

Why Is Micro Evidence on the Effects of Uncertainty Not Replicated In Macro Data?

Exploratory Factor Analysis

2.2 Elimination of Trend and Seasonality

Department of Economics Session 2012/2013. EC352 Econometric Methods. Solutions to Exercises from Week (0.052)

MULTIPLE REGRESSION WITH CATEGORICAL DATA

Statistics 104: Section 6!

Premaster Statistics Tutorial 4 Full solutions

PS 271B: Quantitative Methods II. Lecture Notes

Linear Models in STATA and ANOVA

Chapter 4: Vector Autoregressive Models

Transcription:

Instrumental Variables & 2SLS y 1 = β 0 + β 1 y 2 + β 2 z 1 +... β k z k + u y 2 = π 0 + π 1 z k+1 + π 2 z 1 +... π k z k + v Economics 20 - Prof. Schuetze 1 Why Use Instrumental Variables? Instrumental Variables (IV) estimation i is used when your model has endogenous x s i.e. whenever Cov(x,u) 0 Thus, IV can be used to address the problem of omitted variable bias Also, IV can be used to solve the classic errors-invariables problem Economics 20 - Prof. Schuetze 2 1

What Is an Instrumental Variable? In order for a variable, z, to serve as a valid instrument for x, the following must be true 1. The instrument must be exogenous 2. The instrument must be correlated with the endogenous variable x Economics 20 - Prof. Schuetze 3 Difference between IV and Proxy? With IV we will leave the unobserved variable in the error term but use an estimation method that recognizes the presence of the omitted variable With a proxy we were trying to remove the unobserved variable from the error term e.g. IQ Economics 20 - Prof. Schuetze 4 2

More on Valid Instruments We can t test if Cov(z,u) = 0 as this is a population assumption Instead, we have to rely on common sense and economic theory to decide if it makes sense However, we can test if Cov(z,x) 0 using a random sample Simply estimate x = π 0 + π 1 z + v, and test H 0 : π 1 = 0 Economics 20 - Prof. Schuetze 5 IV Estimation in the Simple Regression Case We can show that if we have a valid instrument we can get consistent t estimates t of the parameters For y = β 0 + β 1 x + u Cov(z,y) = β 1 Cov(z,x) + Cov(z,u), so Thus, β 1 = Cov(z,y) / Cov(z,x), since Cov(z,u)=0 and Cov(z,x) 0 Then the IV estimator t for β 1 is Economics 20 - Prof. Schuetze 6 3

Inference with IV Estimation The IV estimator also has an approximate normal distribution in large samples To get estimates of the standard errors we need a slightly different homoskedasticity assumption: If this is true, we can show that the asymptotic variance of β 1 -hat is: Economics 20 - Prof. Schuetze 7 Inference with IV Estimation Each of the elements in the population variance can be estimated t from a random sample The estimated variance is then: 2 ( ˆ ˆ σ Var β 1) = SST R 2 x x, z Economics 20 - Prof. Schuetze 8 4

IV versus OLS estimation Standard error in IV case differs from OLS only in the R 2 from regressing x on z Since R 2 < 1, IV standard errors are larger Economics 20 - Prof. Schuetze 9 The Effect of Poor Instruments What if our assumption that Cov(z,u) = 0 is false? The IV estimator will be inconsistent also We can compare the asymptotic bias in OLS to that in IV in this case: Corr( z, u) σ u IV : plim ˆ β 1 = β1 + Corr( z, x) σ ~ OLS: plim β 1 = β1 + Corr( x, u) x σ σ u x Economics 20 - Prof. Schuetze 10 5

Effect of Poor Instruments (cont) So, it is not necessarily better to us IV instead of OLS even if z and u are not highly correlated Also notice that the inconsistency gets really large if z and x are only loosely correlated Economics 20 - Prof. Schuetze 11 A Note on R 2 in IV R 2 after IV estimation can be negative Recall that R 2 = 1 - SSR/SST where SSR is the residual sum of IV residuals SSR in this case can be larger than SST making the R 2 negative Thus, R 2 isn t very useful here and can tbeused for F-tests Economics 20 - Prof. Schuetze 12 6

IV Estimation in the Multiple Regression Case IV estimation can be extended to the multiple regression case Estimating: y 1 = β 0 + β 1 y 2 + β 2 z 1 + u 1 Where y 2 is endogenous and z 1 is exogenous Call this the structural model If we estimate the structural model the coefficients will be biased and inconsistent i t Thus, we need an instrument for y 2 Economics 20 - Prof. Schuetze 13 Multiple Regression IV (cont) No, because it appears in the structural model Instead, we need an instrument, z 2, that: 1. 2. 3. - Now because of z 1 we need a partial correlation - i.e. for the reduced form equation y 2 = π 0 + π 1 z 1 + π 2 z 2 + v 2 Economics 20 - Prof. Schuetze 14 7

Two Stage Least Squares (2SLS) It is possible to have multiple instruments Consider the structural model, with 1 endogenous, y 2, and 1 exogenous, z 1, RHS variable Suppose that we have two valid instruments, z 2 and z 3 Since z 1, z 2 and z 3 are uncorrelated with u 1, so is any linear combination of these Thus, any linear combination is also a valid instrument Economics 20 - Prof. Schuetze 15 Best Instrument The best instrument is the one that is most highly correlated ltdwith y 2 This turns out to be a linear combination of the exogenous variables The reduce form equation is: y 2 = π 0 + π 1 z 1 + π 2 z 2 + π 3 z 3 + v 2 or y 2 = y 2 * + v 2 Economics 20 - Prof. Schuetze 16 8

More on 2SLS We can estimate y 2 * by regressing gyy 2 on z 1, z 2 and z 3 the first stage regression If then substitute ŷ 2 for y 2 in the structural model, get same coefficient as IV While the coefficients are the same, the standard errors from doing 2SLS by hand are incorrect Also recall that since the R2 can be negative F- tests will be invalid Stata will calculate the correct standard error and F-tests Economics 20 - Prof. Schuetze 17 More on 2SLS (cont) We can extend this method to include multiple endogenous variables Economics 20 - Prof. Schuetze 18 9

Addressing Errors-in-Variables with IV Estimation Recall the classical errors-in-variables problem where we observe x 1 instead of x 1 * Where x 1 = x 1 * + e 1, we showed that when x 1 and e 1 are correlated the OLS estimates are biased We maintain the assumption that u is uncorrelated with x 1 *, x 1 and x 2 and that and e 1 is uncorrelated with x 1 * and x 2 Economics 20 - Prof. Schuetze 19 Example of Instrument Suppose that we have a second measure of x 1 *(z 1 ) Examples: z 1 will also measure x 1 * with error However, as long as the measurement error in z 1 is uncorrelated with the measurement error in x 1, z 1 is a valid instrument Economics 20 - Prof. Schuetze 20 10

Testing for Endogeneity Since OLS is preferred to IV if we do not have an endogeneity problem, then we d like to be able to test for endogeneity Suppose we have the following structural model: y 1 = β 0 + β 1 y 2 + β 2 z 1 + β 3 z 2 + u We suspect that y 2 is endogenous and we have instruments for y 2 (z 3, z 4 ) Economics 20 - Prof. Schuetze 21 Testing for Endogeneity (cont) 1. Hausman Test If all variables are exogenous both OLS and 2SLS are consistent 2R 2. Regression Test In the first stage equation: y 2 = π 0 + π 1 z 1 + π 2 z 2 + π 3 z 3 + π 3 z 3 + v 2 Each of the z s are uncorrelated with u 1 Economics 20 - Prof. Schuetze 22 11

Testing for Endogeneity (cont) So, save the residuals from the first stage Include the residual in the structural equation (which of course has y 2 in it) If the coefficient on the residual is statistically different from zero, reject the null of exogeneity Economics 20 - Prof. Schuetze 23 Testing Overidentifying Restrictions How can we determine if we have a good instrument -correlated with y 2 uncorrelated with u? Easy to test if z is correlated with y 2 If there is just one instrument for our endogenous variable, we can t test whether the instrument is uncorrelated with the error (u is unobserved) If we have multiple l instruments, it is possible to test the overidentifying restrictions Economics 20 - Prof. Schuetze 24 12

The OverID Test Using our previous example, suppose we have two instruments for y 2 (z 3, z 4 ) We could estimate our structural model using only z 3 as an instrument, assuming it is uncorrelated with the error, and get the residuals: Economics 20 - Prof. Schuetze 25 The OverID Test We could do the same for z 3, as long as we can assume that z 4 is uncorrelated with u 1 A procedure that allows us to do this is: 1. 2. 3. Under the null that all instruments are uncorrelated with the error, LM ~ χ q2 where q is the number of extra instruments Economics 20 - Prof. Schuetze 26 13

Testing for Heteroskedasticity When using 2SLS, we need a slight adjustment to the Breusch-Pagan test Get the residuals from the IV estimation Regress these residuals squared on all of the exogenous variables in the model (including the instruments) Test for the joint significance Note: there are also robust standard errors in the IV setting Economics 20 - Prof. Schuetze 27 Testing for Serial Correlation Also need a slight adjustment to the test for serial correlation when using 2SLS Re-estimate the structural model by 2SLS, including the lagged residuals, and using the same instruments as originally Test if the coefficient on the lagged residual (ρ) is statistically different than zero Can also correct for serial correlation by doing 2SLS on a quasi-differenced model, using quasidifferenced instruments Economics 20 - Prof. Schuetze 28 14