endogeneity classic problem in econometrics. · what is endogeneity? • classic problem in...

32
Endogeneity Tom Smith 1

Upload: doque

Post on 22-Aug-2019

214 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Endogeneity Classic Problem in Econometrics. · What is Endogeneity? • Classic Problem in Econometrics: – More police officers might reduce crime but cities with higher crime

Endogeneity

Tom Smith

1

Page 2: Endogeneity Classic Problem in Econometrics. · What is Endogeneity? • Classic Problem in Econometrics: – More police officers might reduce crime but cities with higher crime

What is Endogeneity?

• Classic Problem in Econometrics: – More police officers might reduce crime but cities with higher

crime rates might demand more police officers. – More diffuse ownership might affect performance but firms with

strong performance might attract diffuse ownership. – Banks with adequate capital reserves might have good

performance but good performing Banks might have stronger capital reserves.

– Athletes might develop lactic acid as their performance deteriorates but lactic acid might be facilitating the muscles to aid performance.

• In all cases standard regression analysis might confound these 2 effects.

2

Page 3: Endogeneity Classic Problem in Econometrics. · What is Endogeneity? • Classic Problem in Econometrics: – More police officers might reduce crime but cities with higher crime

What is Endogeneity?

• Endogeneity problem is similar to the errors in variables problem.

• Since most of you will be familiar with the errors in variables approach lets review this simpler problem

• Then we can draw out the parts that apply also to the endogeneity problem

3

Page 4: Endogeneity Classic Problem in Econometrics. · What is Endogeneity? • Classic Problem in Econometrics: – More police officers might reduce crime but cities with higher crime

Measurement Error Problem

• Lets take the following equation where: = True value Measures with error

• OLS minimizes the sum of squared errors

• Which has first order conditions

*

Y XX X

α β µε

= + +

= +

*XX *X

4

2[ ]L E Y Xα β= − −

[ ] 0

[ ] 0

L E Y X

L E Y X X

α βα

α ββ

∂→ − − =

∂∂

→ − − =∂

known as the normal equations of OLS

Thus the X variable is not independent of the error

Page 5: Endogeneity Classic Problem in Econometrics. · What is Endogeneity? • Classic Problem in Econometrics: – More police officers might reduce crime but cities with higher crime

Measurement Error Problem

5

[ ] 0

[ ] 0

L E Y X

L E Y X X

α βα

α ββ

∂→ − − =

∂∂

→ − − =∂

* *

* *

( , ) ( , )( ) ( ) ( )

Cov Y X Cov Y XVar X Var X Var

εβε ε+

= =+ +

Since X is measured with error *X X ε= +

**

*

( , )( )

Cov Y XVar X

β =

( , )( )

Cov Y XVar X

β→ =

The True Beta is So the calculated Beta is a biased and Inconsistent estimator of the true Beta

This comes about because the X variable is not independent of the error

Page 6: Endogeneity Classic Problem in Econometrics. · What is Endogeneity? • Classic Problem in Econometrics: – More police officers might reduce crime but cities with higher crime

Measurement Error Problem

• Solution is to use instrument variable (IV): (z) • Properties of (z)

– (1) Uncorrelated with the error (i.e. exogenous) – (2) Relevant to (i.e. non zero correlation)

• The IV estimator is:

( , )( , )

Cov Y ZCov X Z

β =

6

*X

Page 7: Endogeneity Classic Problem in Econometrics. · What is Endogeneity? • Classic Problem in Econometrics: – More police officers might reduce crime but cities with higher crime

Think of this as a two Stage Procedure

• 1st Stage: Define:

• 2nd Stage:

( )( )

( )( )

( )( )

( )( )

( )( )( )

( ) ( )( )

2

ˆ, , , ,ˆ

,substitute

, , ( , ) ( , )

Cov Y X Cov Y a b z bCov Y z Cov Y zVar a b z b Var z bVar zVar X

Cov X zb

Var z

Cov Y z Cov Y zCov X z Cov X zVar z

Var z

β

β

+⇒ = = = =

+

=

⇒ = =

( )cov( , )

varX zX a b z b

z= + ⇒ =

ˆY Xα β= +

X̂ a b z= +

7 Two Stage Least Squares gives us the familiar measurement error IV estimator

Page 8: Endogeneity Classic Problem in Econometrics. · What is Endogeneity? • Classic Problem in Econometrics: – More police officers might reduce crime but cities with higher crime

Instrumental Variables (IV) • Lets think of normal equations of OLS

• If we replace with in the 2nd equation

• This gives us another way to think of the IV estimator

( )( )

( )( )

0 ,0

E Y X Cov Y XE Y X X Var X

α ββ

α β− − = → =− − =

X z( )( )

( )( )

0 ,0 ,

E Y X Cov Y zE Y X z Cov X z

α ββ

α β− − = → =− − =

8

Page 9: Endogeneity Classic Problem in Econometrics. · What is Endogeneity? • Classic Problem in Econometrics: – More police officers might reduce crime but cities with higher crime

Endogeneity • Think of a specific example • The Simultaneous Equations are:

Where the Y’s are endogenous variables ; the X’s are exogenous variables. The problem is similar to the measurement error issue - is correlated with since as you can see from eqn (2) contains error which then induces in eqn 1 a problem similar to measurement error with similar consequences: -- ie biased and inconsistent estimators

( )1 0 1 2 2 1 1

2 0 1 1 2 2 2

1 (2)

Y Y X uY Y X u

α α αβ β β

= + + +

= + + +

Y u

9

2Y

Page 10: Endogeneity Classic Problem in Econometrics. · What is Endogeneity? • Classic Problem in Econometrics: – More police officers might reduce crime but cities with higher crime

Two Stage Least Squares (2SLS)

• Consider estimating (1) with 2SLS

• Consider estimating (2) with 2SLS

2(1) 1st Stage: Regress Y on exogenous variables

2 0 1 1 2 2 2

2 0 1 1 2 2ˆ

Y a a X a X

Let Y a a X a X

ε= + + +

= + +

(2) 2nd Stage: 1 0 1 2 2 1

ˆY Y Xα α α= + +

(1) 1st Stage:1 0 1 1 2 2 1

1 0 1 1 2 2ˆ:

Y b b X b X

Let Y b b X b X

ε= + + +

= + +(2) 2nd Stage:

2 0 1 1 2 2ˆY Y Xβ β β= + +

10

Page 11: Endogeneity Classic Problem in Econometrics. · What is Endogeneity? • Classic Problem in Econometrics: – More police officers might reduce crime but cities with higher crime

Instrumental Variables

• Let’s go back to the normal equation of OLS:

( )( )

( )( )

1 0 1 2 2 1

1 0 1 2 2 1 2

1 0 1 2 2 1 1

2 0 1 1 2 2

2 0 1 1 2 2 1

2 0 1 1 2 2 2

( )

0

( )

Y Y XY Y X Y

Y Y X XE

Y Y XY Y X Y

Y Y X X

α α αα α α

α α αβ β ββ β β

β β β

− − − − − − − − − = − − −

− − − − − −

11

Where the endogenous variables are in brackets

Page 12: Endogeneity Classic Problem in Econometrics. · What is Endogeneity? • Classic Problem in Econometrics: – More police officers might reduce crime but cities with higher crime

Instrumental Variables

• To get IV estimators simply replace the endogenous variables with instruments

• Doing the above is a good way to see if the system is identified. • Textbooks spend many pages on rank and order conditions but basically all

you need is to be able to write out the IV system as above and have a unique equation for every parameter.

1 2 and Y Y1 2( , )X X

( )( )

( )( )

1 0 1 2 2

1 0 1 2 2 1 2

1 0 1 2 2 1 1

2 0 1 1 2 2

2 0 1 1 2 2 1

2 0 1 1 2 2 2

( )

0

( )

Y Y XY Y X X

Y Y X XE

Y Y XY Y X X

Y Y X X

α α αα α α

α α αβ β ββ β β

β β β

− − − − − − − − − = − − −

− − − − − −

12

Page 13: Endogeneity Classic Problem in Econometrics. · What is Endogeneity? • Classic Problem in Econometrics: – More police officers might reduce crime but cities with higher crime

Instrumental Variables - Identification

• Here is an example where you don’t have identification

• Normal equations:

1 0 1 2 2 1

2 0 1 1 2 1

Y Y XY Y X

α α αβ β β

= + += + +

13

( )( )( )( )( )( )

1 0 1 2 2 1

1 0 1 2 2 1 2

1 0 1 2 2 1 1

2 0 1 1 2 1

2 0 1 1 2 1 1

2 0 1 1 2 1 1

( )

0

Y Y XY Y X Y

Y Y X XE

Y Y X

Y Y X Y

Y Y X X

α α αα α α

α α α

β β β

β β β

β β β

− − − − − − − − − = − − −

− − − − − −

Page 14: Endogeneity Classic Problem in Econometrics. · What is Endogeneity? • Classic Problem in Econometrics: – More police officers might reduce crime but cities with higher crime

Instrumental Variables - Identification

• Here is an example where you don’t have identification

• Instrumental Variables:

1 0 1 2 2 1

2 0 1 1 2 1

Y Y XY Y X

α α αβ β β

= + += + +

( )( )( )( )( )( )( )

1 0 1 2 2 1

1 0 1 2 2 1

1 0 1 2 2 1 1

2 0 1 1 2 1

2 0 1 1 2 1

2 0 1 1 2 1 1

Systemis not?

identifed0 as these 2

eqns don't(?) have an

instrument

Y Y X

Y Y X

Y Y X XE

Y Y X

Y Y X

Y Y X X

α α α

α α α

α α α

β β β

β β β

β β β

− − −

− − − − − − = − − − − − − − − −

14

Page 15: Endogeneity Classic Problem in Econometrics. · What is Endogeneity? • Classic Problem in Econometrics: – More police officers might reduce crime but cities with higher crime

Differenced GMM

• Graham (JFE 1996) looked at the difference in leverage as the dependant variable. The logical extension is to look at the whole equation in changes and add a lagged Y variable to take account of the dynamics of the relationship.

• Taking first difference of equation (1) gives:

• Note that the intercept term cancels and also that the error term will now be correlated.

( )1 0 1 1 1 2 2 3 1 1

2 0 1 2 1 2 1 3 2 2

1 (2)

t t t t t

t t t t t

Y Y Y X uY Y Y X u

α α α α

β β β β−

= + + + +

= + + + +

1 1 1 1 2 2 3 1 1t t t t tY Y Y X uα α α−∆ = ∆ + ∆ + ∆ + ∆

15

Page 16: Endogeneity Classic Problem in Econometrics. · What is Endogeneity? • Classic Problem in Econometrics: – More police officers might reduce crime but cities with higher crime

Differenced GMM

• The estimated moment conditions are:

1 1 1 1 2 2 3 1 1t t t t tY Y Y X uα α α−∆ = ∆ + ∆ + ∆ + ∆

1 1 1 1 2 2 3 1

1 1 1 1 2 2 3 1 2 2

1 1 1 1 2 2 3 1 1 2

( ) 0( )

t t t t

t t t t t

t t t t t

Y Y Y XE Y Y Y X Y

Y Y Y X X

α α αα α αα α α

− −

− −

∆ − ∆ − ∆ − ∆ ∆ − ∆ − ∆ − ∆ = ∆ − ∆ − ∆ − ∆

16

The instruments are at t-2 as the change in the X variables are from t-1 to t

Page 17: Endogeneity Classic Problem in Econometrics. · What is Endogeneity? • Classic Problem in Econometrics: – More police officers might reduce crime but cities with higher crime

System GMM

• The above treats all of the explanatory variables as endogenous and is known as Differenced GMM. It can be run in STATA as a Dynamic Panel. STATA also lets you run System GMM which is the equation in difference form, instrumented in lagged levels and the equation in levels, instrumented with lagged differences. So this second equation would appear as follows:

• The above are known as the Arellano and Bond estimators. Stephen Bond has an excellent site on the use of Differenced GMM and System GMM. See his course on panel data econometrics at www.nuffield.ox.ac.uk/users/bond

• Good Example of application in Corporate Governance is Wintoki et al “Endogeneity and the Dynamics of Corporate Governance” SSRN

17

1 1 1 1 2 2 3 1

1 1 1 1 2 2 3 1 2 2

1 1 1 1 2 2 3 1 1 2

( ) ) 0( )

t t t t

t t t t t

t t t t t

Y Y Y XE Y Y Y X Y

Y Y Y X X

α α αα α αα α α

− −

− −

− − − − − − ∆ = − − − ∆

Page 18: Endogeneity Classic Problem in Econometrics. · What is Endogeneity? • Classic Problem in Econometrics: – More police officers might reduce crime but cities with higher crime

Specification Tests

18

• Endogeneity Test • Hausman-Wu

• Instruments correlated with Endogeneous Variables • F test

• Instruments uncorrelated with error • Overidentifying Chi-squared test

Page 19: Endogeneity Classic Problem in Econometrics. · What is Endogeneity? • Classic Problem in Econometrics: – More police officers might reduce crime but cities with higher crime

How to Test for Endogeneity

• Perform Hausman-Wu test of Endogeneity using the following test: is efficient and consistent

is consistent

• This hypothesis is tested by the following statistics which has a distribution with degrees of freedom equal to the number of

elements in

0

1

::

OLS

IV

HH

ββ

β

[ ]#

1 2( ) ( )elements

TOLS IV IV OLS OLS IVV V

ββ β β β χ−− − −

19

Page 20: Endogeneity Classic Problem in Econometrics. · What is Endogeneity? • Classic Problem in Econometrics: – More police officers might reduce crime but cities with higher crime

How to Test for Instruments correlated with endogenous variable

• Perform 1st Stage Regression of Endogenous variable on Instruments:

• Check and F statistic of this regression

– Rule of Thumb F > 10 Staiger Stock (1997) – More formal tests Stock and Yogo (2001), Kleibergen and Paap (2006)

20

1 0 1 1 2 2 1Y b b X b X ε= + + +

2R

Page 21: Endogeneity Classic Problem in Econometrics. · What is Endogeneity? • Classic Problem in Econometrics: – More police officers might reduce crime but cities with higher crime

How to Test for Instruments uncorrelated with error

• Overidentifying J test is a Chi-squared test of whether the instruments are uncorrelated with the error

21

( )( )

( )( )

1 0 1 2 2

1 0 1 2 2 1 2

1 0 1 2 2 1 1

2 0 1 1 2 2

2 0 1 1 2 2 1

2 0 1 1 2 2 2

( )

0

( )

Y Y XY Y X X

Y Y X XE

Y Y XY Y X X

Y Y X X

α α αα α α

α α αβ β ββ β β

β β β

− − − − − − − − − = − − −

− − − − − −

Page 22: Endogeneity Classic Problem in Econometrics. · What is Endogeneity? • Classic Problem in Econometrics: – More police officers might reduce crime but cities with higher crime

Coming up with Instruments

• Use exogenous variables that appear elsewhere in the system • Used lagged values of the endogenous variable • Come up with economically meaningful instruments

– Random Lottery draw used in determining effect of serving in Vietnam war on future earning prospects – see Angrist (AER, 1990)

– Sex of first born used in determining effect of family successions on firm performance – see Bennedsen, Nielsen, et al (QJE, 2007)

– Top Managers prior Military service as a proxy for Disclosure Quality – see Smith Bamber (Accounting Review 2010)

– Marginal Tax rate as a proxy for leverage in an examination of the effects of default probability -- see Molina (JF 2005)

– Education as an instrument in determining the effect of family successions on firm value – see Perez-Gonzalez (AER 2006)

22

Page 23: Endogeneity Classic Problem in Econometrics. · What is Endogeneity? • Classic Problem in Econometrics: – More police officers might reduce crime but cities with higher crime

Endogeneity Example

23

Insider Ownership

Performance

3% 5% 7%

B

C

A

Each Firm optimises Ownership/performance relation

Page 24: Endogeneity Classic Problem in Econometrics. · What is Endogeneity? • Classic Problem in Econometrics: – More police officers might reduce crime but cities with higher crime

Endogeneity Example

24

Insider Ownership

Performance

3% 5% 7%

B

C

A

Equilibrium for each firm

Page 25: Endogeneity Classic Problem in Econometrics. · What is Endogeneity? • Classic Problem in Econometrics: – More police officers might reduce crime but cities with higher crime

Endogeneity Example

25

Insider Ownership

Performance

3% 5% 7%

B

C

A

A Senate committee Requires a study to Examine ownership Performance relation

Page 26: Endogeneity Classic Problem in Econometrics. · What is Endogeneity? • Classic Problem in Econometrics: – More police officers might reduce crime but cities with higher crime

Endogeneity Example

26

Insider Ownership

Performance

3% 5% 7%

B

C

A

A Senate committee Requires a study to Examine ownership Performance relation

Page 27: Endogeneity Classic Problem in Econometrics. · What is Endogeneity? • Classic Problem in Econometrics: – More police officers might reduce crime but cities with higher crime

Endogeneity Example

27

Insider Ownership

Performance

3% 5% 7%

B

C

A

Senate committee Conclude 5% is optimum Passes a law saying Must have 5% ownership

Page 28: Endogeneity Classic Problem in Econometrics. · What is Endogeneity? • Classic Problem in Econometrics: – More police officers might reduce crime but cities with higher crime

Endogeneity Example

28

Insider Ownership

Performance

3% 5% 7%

B

C

A

However at 5% ownership A and B are no longer at Optimum

Page 29: Endogeneity Classic Problem in Econometrics. · What is Endogeneity? • Classic Problem in Econometrics: – More police officers might reduce crime but cities with higher crime

Endogeneity Example

29

Insider Ownership

Performance

3% 5% 7%

B

C

A

Comparison with Optimum For A and B

Page 30: Endogeneity Classic Problem in Econometrics. · What is Endogeneity? • Classic Problem in Econometrics: – More police officers might reduce crime but cities with higher crime

Endogeneity Example

30

Insider Ownership

Performance

3% 5% 7%

B

C

A

Arrows show the loss in Performance to A and B If they have 5% Ownership

Page 31: Endogeneity Classic Problem in Econometrics. · What is Endogeneity? • Classic Problem in Econometrics: – More police officers might reduce crime but cities with higher crime

Endogeneity Example

31

Insider Ownership

Performance

3% 5% 7%

B

C

A

In contrast IV estimation Finds that there is no Relation

Page 32: Endogeneity Classic Problem in Econometrics. · What is Endogeneity? • Classic Problem in Econometrics: – More police officers might reduce crime but cities with higher crime

Discussion

32

• Good References here: • Demsetz (Journal of Law and Economics, 1983) • Demsetz and Lehn (Journal of Political Economy, 1985) • Coles, Lemmon and Meschke (SSRN, 2007)

• Firms know that by having less ownership they increase agency issues but do so because there are additional benefits • Cross sectional regression will find no relation because of endogeneity • Much better to model the ownership/performance relation at the firm level • Observe the managerial pay-performance sensitivity that maximizes performance • Coles et al look at the productivity parameters for managerial input and investment that would give rise to observed level of ownership and investment • Get very sensible results

• Productivity of managerial input high in personal and business services and equipment industries (education, software, networking, computers) • Productivity of managerial input low in metal mining and utilities • Model Q values highly correlated with observed Q