Docsity

Multiple Linear Regression: Gauss-Markov Assumptions and Hypothesis Testing, Study notes of Introduction to Econometrics

Partial preview of the text

Download Multiple Linear Regression: Gauss-Markov Assumptions and Hypothesis Testing and more Study notes Introduction to Econometrics in PDF only on Docsity!

Multiple linear regression

ECO 5314

Dr. Peter M. Summers

Texas Tech University

September 9, 2008

  • I Verbeek, ch.
  • I Greene, chs. 2-

The Gauss-Markov assumptions

Apart from linearity, and rank(X ) = k, we assume the following:

1. E (

i

) = 0 ∀i

  1.  and X are independent
  2. Var (i ) = σ

2 ∀i

  1. Cov ( i

j

) = 0 ∀i 6 = j

The Gauss-Markov assumptions

I (^) Assumptions 3 & 4 imply Var () = σ

2 In, also known as

spherical disturbances

I Var (i ) = σ

2 ∀i ⇒ homoskedasticity

I Cov (i , j ) = 0 ∀i 6 = j ⇒ no serial correlation

I Assumption 2 means none of the X ’s has any effect on any of

the ’s

I ⇒ E (|X ) = 0 and Var (|X ) = σ

2 In

I (^) X ’s can be deterministic or stochastic

Small-sample properties of OLS estimators

We don’t know σ

2 , so we need an (unbiased) estimator for it:

s

2

n − k

n ∑

i=

e

2

i

So

Var ( ˆβ) = s

2 (X

′ X )

− 1

. For the k

th coefficient, we have

Var ( ˆβ k

) = s

2 c kk

, where c kk

is the k

th diagonal element of

(X

′ X )

− 1 .

If we have spherical disturbances, then se( ˆβ k

) = s

c kk

is the

standard error of

β k

(needed for statistical inference).

Small-sample properties of OLS estimators

Variation in the x’s is good. Suppose

y i

= β 1

  • β 2

x i 2

  • β 3

x i 3

Then

Var (

β 2

σ

2

1 − r

2

23

[

n ∑

i=

(x i 2

− ¯x 2

2

]

− 1

where r 23 is the correlation between x 2 and x 3.

Small-sample properties of OLS estimators

I (^) Gauss-Markov assumptions and Normally-distributed errors

means that, for an individual coefficient β k

zk =

β k

− β k

σ

c kk

is a standard Normal variable (i.e., z ∼ N(0, 1)).

I (^) Replacing σ by s means that this isn’t true any more.

However,

tk =

β k

− β k

s

c kk

has a student-t distribution with N − k degrees of freedom

−3 −2 −1 0 1 2 3

0

N(0,1)

t(3)

t(3)

Hypothesis testing

Example: Wages and gender

wage = β 1

  • β 2

× male + 

I (^) Null hypothesis H 0

: β 2

I Alternative H 1 : β 2 6 = 0 (2-sided)

I (^) Alternative H 1

: β 2

≥ 0 (1-sided)

Hypothesis testing

Example: Wages and gender

wage = β 1

  • β 2

× male + 

I (^) Test statistic is t 2

t 2 =

β 2

− β

0

2

se(

β 2 )

I (^) β

0

2

= 0 ⇒ t 2

∼ t(N − 2)

I Significance level α = 5% (most commonly used)

I (^) Compare t 2

to t(N − 2 , α/2) (for 2-sided test) or t(N − 2 , α)

(for 1-sided test)

I (^) t(3292) is N(0, 1), so use z

  1. 025

= 1.96 or z

  1. 05

Hypothesis testing

Example: Wages and gender

wage = β 1

  • β 2

× male + 

I (^) Since t 2

∼ t(N − k) under the null, then with probability

1 − α,

−t(N − k, α/2) ≤ t 2 ≤ −t(N − k, α/2)

−t(N − k, α/2) ≤

β 2

− β 2

se( ˆβ 2

≤ −t(N − k, α/2), or

β 2

− t(N − k, α/2)se(β 2

) ≤ β 2

β 2

  • t(N − k, α/2)se(β 2

I (^) This is the (1 − α)% confidence interval

Goodness-of-fit

Example: Wages and gender

wage = β 1

  • β 2

× male + 

I (^) Given that β 2

is significantly different from 0 (or just

significant), how well is the variation in wages explained by

gender differences?

I (^) Consider y = X β + . The total variation in y is

N

i=

(yi − ¯y )

2 = TSS (total sum of squares)

I The model predicts y using ˆy = X

β. The variation in ˆy is

∑ N

i=

(ˆy i

− ¯y )

2 = ESS (explained sum of squares)

I (^) A measure of goodness-of-fit is

R

2

ESS

TSS

Goodness-of-fit

Interpretation of R

2 :

I (^) Fraction of variance of y explained by X

I (^) Measure of quality of linear approximation

I (^) Relationship between variation in y and variation in ˆy :

R

2

= [corr (y , yˆ )]

2

=

N

i=

(yi − ¯y )(ˆyi − y¯ )

2

N

i=

(y i

− y¯ )

2

N

i=

(ˆy i

− ¯y )

2

Goodness-of-fit

Other things equal, higher values for R

2 are better. But:

I (^) Sometimes R

2 = 0.2 is high, R

2 = 0.9 is low

I (^) Trying to maximize R

2 can be bad practice

I R

2 can’t fall when a new variable is added

Adjusted R

2 :

R

2

= 1 −

1 /(N − k)

N

i=

e

2

i

1 /(N − 1)

N

i=

(y i

− ¯y )

2

N − 1

N − k

SSR

TSS