






















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!























Dr. Peter M. Summers
Texas Tech University
September 9, 2008
Apart from linearity, and rank(X ) = k, we assume the following:
i
) = 0 ∀i
2 ∀i
j
) = 0 ∀i 6 = j
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
We don’t know σ
2 , so we need an (unbiased) estimator for it:
s
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 )
− 1 .
If we have spherical disturbances, then se( ˆβ k
) = s
c kk
is the
standard error of
β k
(needed for statistical inference).
Variation in the x’s is good. Suppose
y i
= β 1
x i 2
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.
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)
Example: Wages and gender
wage = β 1
× male +
I (^) Null hypothesis H 0
: β 2
I Alternative H 1 : β 2 6 = 0 (2-sided)
I (^) Alternative H 1
: β 2
≥ 0 (1-sided)
Example: Wages and gender
wage = β 1
× 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.96 or z
Example: Wages and gender
wage = β 1
× 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
I (^) This is the (1 − α)% confidence interval
Example: Wages and gender
wage = β 1
× 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
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 :
2
= [corr (y , yˆ )]
2
=
N
i=
(yi − ¯y )(ˆyi − y¯ )
2
N
i=
(y i
− y¯ )
2
N
i=
(ˆy i
− ¯y )
2
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
2 can’t fall when a new variable is added
Adjusted R
2 :
2
= 1 −
1 /(N − k)
N
i=
e
2
i
N
i=
(y i
− ¯y )
2
N − k