Intecxpres 182
Intecxpres 182
.........................................................
Introductory Econometrics
Based on the textbook by Wooldridge:
Introductory Econometrics: A Modern Approach
Robert M. Kunst
robert.kunst@univie.ac.at
University of Vienna
and
Institute for Advanced Studies Vienna
October 5, 2018
. . . . . . 1/65
Introductory Econometrics University of Vienna and Institute for Advanced Studies Vienna
Introduction Simple linear regression Multiple linear regression Heteroskedasticity Regressions with time-series observations Seria
.........................................................
Outline
Introduction
Simple linear regression
Multiple linear regression
OLS in the multiple linear regression
Statistical properties of OLS
Inference in the multiple model
OLS asymptotics
Selection of regressors in the multiple model
Heteroskedasticity
Regressions with time-series observations
Serial correlation in time-series regression
Instrumental variables estimation
. . . . . . 2/65
Introductory Econometrics University of Vienna and Institute for Advanced Studies Vienna
Introduction Simple linear regression Multiple linear regression Heteroskedasticity Regressions with time-series observations Seria
.........................................................
. . . . . . 3/65
Introductory Econometrics University of Vienna and Institute for Advanced Studies Vienna
Introduction Simple linear regression Multiple linear regression Heteroskedasticity Regressions with time-series observations Seria
.........................................................
. . . . . . 4/65
Introductory Econometrics University of Vienna and Institute for Advanced Studies Vienna
Introduction Simple linear regression Multiple linear regression Heteroskedasticity Regressions with time-series observations Seria
.........................................................
OLS in the multiple linear regression
y = β0 + β1 x1 + β2 x2 + u,
. . . . . . 5/65
Introductory Econometrics University of Vienna and Institute for Advanced Studies Vienna
Introduction Simple linear regression Multiple linear regression Heteroskedasticity Regressions with time-series observations Seria
.........................................................
OLS in the multiple linear regression
y = β0 + β1 x1 + β2 x2 + . . . + βk xk + u,
Introductory Econometrics University of Vienna and Institute for Advanced Studies Vienna
Introduction Simple linear regression Multiple linear regression Heteroskedasticity Regressions with time-series observations Seria
.........................................................
OLS in the multiple linear regression
. . . . . . 7/65
Introductory Econometrics University of Vienna and Institute for Advanced Studies Vienna
Introduction Simple linear regression Multiple linear regression Heteroskedasticity Regressions with time-series observations Seria
.........................................................
OLS in the multiple linear regression
This system does not yield a nice closed form for the OLS
coefficients, unless matrix algebra is used.
. . . . . . 8/65
Introductory Econometrics University of Vienna and Institute for Advanced Studies Vienna
Introduction Simple linear regression Multiple linear regression Heteroskedasticity Regressions with time-series observations Seria
.........................................................
OLS in the multiple linear regression
. . . . . . 9/65
Introductory Econometrics University of Vienna and Institute for Advanced Studies Vienna
Introduction Simple linear regression Multiple linear regression Heteroskedasticity Regressions with time-series observations Seria
.........................................................
OLS in the multiple linear regression
Introductory Econometrics University of Vienna and Institute for Advanced Studies Vienna
Introduction Simple linear regression Multiple linear regression Heteroskedasticity Regressions with time-series observations Seria
.........................................................
OLS in the multiple linear regression
. . . . . . 11/65
Introductory Econometrics University of Vienna and Institute for Advanced Studies Vienna
Introduction Simple linear regression Multiple linear regression Heteroskedasticity Regressions with time-series observations Seria
.........................................................
OLS in the multiple linear regression
y = β̂0 + β̂1 x1 + û
. . . . . . 12/65
Introductory Econometrics University of Vienna and Institute for Advanced Studies Vienna
Introduction Simple linear regression Multiple linear regression Heteroskedasticity Regressions with time-series observations Seria
.........................................................
OLS in the multiple linear regression
y = β̃0 + β̃1 x1 + ũ
Introductory Econometrics University of Vienna and Institute for Advanced Studies Vienna
Introduction Simple linear regression Multiple linear regression Heteroskedasticity Regressions with time-series observations Seria
.........................................................
OLS in the multiple linear regression
Introductory Econometrics University of Vienna and Institute for Advanced Studies Vienna
Introduction Simple linear regression Multiple linear regression Heteroskedasticity Regressions with time-series observations Seria
.........................................................
Statistical properties of OLS
y = β0 + β1 x1 + β2 x2 + . . . + βk xk + u,
. . . . . . 15/65
Introductory Econometrics University of Vienna and Institute for Advanced Studies Vienna
Introduction Simple linear regression Multiple linear regression Heteroskedasticity Regressions with time-series observations Seria
.........................................................
Statistical properties of OLS
. . . . . . 16/65
Introductory Econometrics University of Vienna and Institute for Advanced Studies Vienna
Introduction Simple linear regression Multiple linear regression Heteroskedasticity Regressions with time-series observations Seria
.........................................................
Statistical properties of OLS
No multicollinearity
In simple regression, OLS requires some variation in the regressor
(should not be entirely constant). In multiple regression, more is
needed. The matrix X′ X must be invertible:
MLR.3 There are no exact linear relationships connecting the
regressor variables, and no regressor is constant in sample or
in population.
Introductory Econometrics University of Vienna and Institute for Advanced Studies Vienna
Introduction Simple linear regression Multiple linear regression Heteroskedasticity Regressions with time-series observations Seria
.........................................................
Statistical properties of OLS
. . . . . . 18/65
Introductory Econometrics University of Vienna and Institute for Advanced Studies Vienna
Introduction Simple linear regression Multiple linear regression Heteroskedasticity Regressions with time-series observations Seria
.........................................................
Statistical properties of OLS
E(u|x1 , x2 , . . . , xk ) = 0.
. . . . . . 19/65
Introductory Econometrics University of Vienna and Institute for Advanced Studies Vienna
Introduction Simple linear regression Multiple linear regression Heteroskedasticity Regressions with time-series observations Seria
.........................................................
Statistical properties of OLS
Introductory Econometrics University of Vienna and Institute for Advanced Studies Vienna
Introduction Simple linear regression Multiple linear regression Heteroskedasticity Regressions with time-series observations Seria
.........................................................
Statistical properties of OLS
Unbiasedness of OLS
E(β̂j ) = βj , j = 0, 1, . . . , k,
. . . . . . 21/65
Introductory Econometrics University of Vienna and Institute for Advanced Studies Vienna
Introduction Simple linear regression Multiple linear regression Heteroskedasticity Regressions with time-series observations Seria
.........................................................
Statistical properties of OLS
Introductory Econometrics University of Vienna and Institute for Advanced Studies Vienna
Introduction Simple linear regression Multiple linear regression Heteroskedasticity Regressions with time-series observations Seria
.........................................................
Statistical properties of OLS
Homoskedasticity
var(u|x1 , . . . , xk ) = σ 2 .
. . . . . . 23/65
Introductory Econometrics University of Vienna and Institute for Advanced Studies Vienna
Introduction Simple linear regression Multiple linear regression Heteroskedasticity Regressions with time-series observations Seria
.........................................................
Statistical properties of OLS
Introductory Econometrics University of Vienna and Institute for Advanced Studies Vienna
Introduction Simple linear regression Multiple linear regression Heteroskedasticity Regressions with time-series observations Seria
.........................................................
Statistical properties of OLS
σ2
var(β̂j |X) =
SSTj (1 − Rj2 )
∑
is obtained, where SSTj denotes ni=1 (xij − x̄j )2 and Rj2 is the R 2
from a regression of xj on the other regressors xl , l ̸= j. Note that
this formula does not use any matrices.
Strong variation in the regressor xj and weak correlation with other
regressors benefits the precision of the coefficient estimate β̂j .
. . . . . . 25/65
Introductory Econometrics University of Vienna and Institute for Advanced Studies Vienna
Introduction Simple linear regression Multiple linear regression Heteroskedasticity Regressions with time-series observations Seria
.........................................................
Statistical properties of OLS
Introductory Econometrics University of Vienna and Institute for Advanced Studies Vienna
Introduction Simple linear regression Multiple linear regression Heteroskedasticity Regressions with time-series observations Seria
.........................................................
Statistical properties of OLS
Introductory Econometrics University of Vienna and Institute for Advanced Studies Vienna
Introduction Simple linear regression Multiple linear regression Heteroskedasticity Regressions with time-series observations Seria
.........................................................
Inference in the multiple model
Normal regression
. . . . . . 28/65
Introductory Econometrics University of Vienna and Institute for Advanced Studies Vienna
Introduction Simple linear regression Multiple linear regression Heteroskedasticity Regressions with time-series observations Seria
.........................................................
Inference in the multiple model
Theorem
Under the assumptions (MLR.1)–(MLR.6), the conditional
distribution on the regressors of the OLS coefficient estimates β̂j is
normal, i.e.
β̂j |X ∼ N {βj , var(β̂j )},
with var(β̂j ) given by the direct expression using the idea of a
regression of xj on other covariates or as the (j, j) element of the
variance matrix σ 2 (X′ X)−1 .
Introductory Econometrics University of Vienna and Institute for Advanced Studies Vienna
Introduction Simple linear regression Multiple linear regression Heteroskedasticity Regressions with time-series observations Seria
.........................................................
Inference in the multiple model
Introductory Econometrics University of Vienna and Institute for Advanced Studies Vienna
Introduction Simple linear regression Multiple linear regression Heteroskedasticity Regressions with time-series observations Seria
.........................................................
Inference in the multiple model
Theorem
Under assumptions (MLR.1)–(MLR.6),
β̂j − βj
∼ tn−k−1 ,
c β̂j )
s.e.(
. . . . . . 31/65
Introductory Econometrics University of Vienna and Institute for Advanced Studies Vienna
Introduction Simple linear regression Multiple linear regression Heteroskedasticity Regressions with time-series observations Seria
.........................................................
Inference in the multiple model
Introductory Econometrics University of Vienna and Institute for Advanced Studies Vienna
Introduction Simple linear regression Multiple linear regression Heteroskedasticity Regressions with time-series observations Seria
.........................................................
Inference in the multiple model
Densities of t distributions
0.3
0.2
f(x)
0.1
0.0
−4 −2 0 2 4
Introductory Econometrics University of Vienna and Institute for Advanced Studies Vienna
Introduction Simple linear regression Multiple linear regression Heteroskedasticity Regressions with time-series observations Seria
.........................................................
Inference in the multiple model
H0 : β j = 0
β̂j
tβj = ,
c β̂j )
s.e.(
. . . . . . 34/65
Introductory Econometrics University of Vienna and Institute for Advanced Studies Vienna
Introduction Simple linear regression Multiple linear regression Heteroskedasticity Regressions with time-series observations Seria
.........................................................
Inference in the multiple model
. . . . . . 35/65
Introductory Econometrics University of Vienna and Institute for Advanced Studies Vienna
Introduction Simple linear regression Multiple linear regression Heteroskedasticity Regressions with time-series observations Seria
.........................................................
Inference in the multiple model
. . . . . . 36/65
Introductory Econometrics University of Vienna and Institute for Advanced Studies Vienna
Introduction Simple linear regression Multiple linear regression Heteroskedasticity Regressions with time-series observations Seria
.........................................................
Inference in the multiple model
. . . . . . 37/65
Introductory Econometrics University of Vienna and Institute for Advanced Studies Vienna
Introduction Simple linear regression Multiple linear regression Heteroskedasticity Regressions with time-series observations Seria
.........................................................
Inference in the multiple model
Incorrect definition:
I The p–value is the probability of the null hypothesis for this
sample.
. . . . . . 38/65
Introductory Econometrics University of Vienna and Institute for Advanced Studies Vienna
Introduction Simple linear regression Multiple linear regression Heteroskedasticity Regressions with time-series observations Seria
.........................................................
Inference in the multiple model
0.4
0.3
0.2
0.1
0.0
−4 −2 0 2 4
Introductory Econometrics University of Vienna and Institute for Advanced Studies Vienna
Introduction Simple linear regression Multiple linear regression Heteroskedasticity Regressions with time-series observations Seria
.........................................................
Inference in the multiple model
0.4
0.3
0.2
0.1
0.0
−4 −2 0 2 4
The area under the density curve to the right of the observed value of 2.2
is 0.014, which yields the p–value. The one-sided test rejects on the
levels of 10%, 5%, but not 1%.
. . . . . . 40/65
Introductory Econometrics University of Vienna and Institute for Advanced Studies Vienna
Introduction Simple linear regression Multiple linear regression Heteroskedasticity Regressions with time-series observations Seria
.........................................................
Inference in the multiple model
Introductory Econometrics University of Vienna and Institute for Advanced Studies Vienna
Introduction Simple linear regression Multiple linear regression Heteroskedasticity Regressions with time-series observations Seria
.........................................................
Inference in the multiple model
β̂j − βj0
.
c β̂j )
s.e.(
. . . . . . 42/65
Introductory Econometrics University of Vienna and Institute for Advanced Studies Vienna
Introduction Simple linear regression Multiple linear regression Heteroskedasticity Regressions with time-series observations Seria
.........................................................
Inference in the multiple model
H0 : βl+1 = βl+2 = . . . = βk = 0,
Introductory Econometrics University of Vienna and Institute for Advanced Studies Vienna
Introduction Simple linear regression Multiple linear regression Heteroskedasticity Regressions with time-series observations Seria
.........................................................
Inference in the multiple model
Densities of F distributions
1.0
0.8
0.6
f(x)
0.4
0.2
0.0
0 1 2 3 4 5
Introductory Econometrics University of Vienna and Institute for Advanced Studies Vienna
Introduction Simple linear regression Multiple linear regression Heteroskedasticity Regressions with time-series observations Seria
.........................................................
Inference in the multiple model
H0 : β2 + β3 = 1, β5 = 3.61, β6 = 2β7 ,
Introductory Econometrics University of Vienna and Institute for Advanced Studies Vienna
Introduction Simple linear regression Multiple linear regression Heteroskedasticity Regressions with time-series observations Seria
.........................................................
Inference in the multiple model
. . . . . . 46/65
Introductory Econometrics University of Vienna and Institute for Advanced Studies Vienna
Introduction Simple linear regression Multiple linear regression Heteroskedasticity Regressions with time-series observations Seria
.........................................................
Inference in the multiple model
Introductory Econometrics University of Vienna and Institute for Advanced Studies Vienna
Introduction Simple linear regression Multiple linear regression Heteroskedasticity Regressions with time-series observations Seria
.........................................................
Inference in the multiple model
Ouch!
. . . . . . 48/65
Introductory Econometrics University of Vienna and Institute for Advanced Studies Vienna
Introduction Simple linear regression Multiple linear regression Heteroskedasticity Regressions with time-series observations Seria
.........................................................
OLS asymptotics
P(|Xn − θ| > ε) → 0 as n → ∞.
Introductory Econometrics University of Vienna and Institute for Advanced Studies Vienna
Introduction Simple linear regression Multiple linear regression Heteroskedasticity Regressions with time-series observations Seria
.........................................................
OLS asymptotics
Consistency of OLS
An estimator θ̂ for the parameter θ is called consistent iff
plim θ̂(n) = θ,
n→∞
. . . . . . 50/65
Introductory Econometrics University of Vienna and Institute for Advanced Studies Vienna
Introduction Simple linear regression Multiple linear regression Heteroskedasticity Regressions with time-series observations Seria
.........................................................
OLS asymptotics
Consider
1 1
β̂ = β + (X′ X)−1 X′ u = β + ( X′ X)−1 X′ u.
n n
Typically, the term n−1 X′ X will converge to some kind of variance
matrix. The term n−1 X′ u should converge to its expectation
EX′ u, which is 0 if X and u are uncorrelated and Eu = 0. Thus,
the condition
MLR.4’ E(u) = 0, cov(xj , u) = 0, for j = 1, . . . , k,
will suffice for consistency and can be substituted for the stronger
assumption (MLR.4).
. . . . . . 51/65
Introductory Econometrics University of Vienna and Institute for Advanced Studies Vienna
Introduction Simple linear regression Multiple linear regression Heteroskedasticity Regressions with time-series observations Seria
.........................................................
OLS asymptotics
. . . . . . 52/65
Introductory Econometrics University of Vienna and Institute for Advanced Studies Vienna
Introduction Simple linear regression Multiple linear regression Heteroskedasticity Regressions with time-series observations Seria
.........................................................
OLS asymptotics
β̂j − βj d
→ N (0, 1),
c β̂j )
s.e.(
√ d
and generally that n(β̂j − βj ) → N (0, σβ2j ) with σβ2j determined
either from the matrix formula σ 2 (X′ X)−1 or by the
aforementioned construction from regressions among regressors.
. . . . . . 53/65
Introductory Econometrics University of Vienna and Institute for Advanced Studies Vienna
Introduction Simple linear regression Multiple linear regression Heteroskedasticity Regressions with time-series observations Seria
.........................................................
OLS asymptotics
. . . . . . 54/65
Introductory Econometrics University of Vienna and Institute for Advanced Studies Vienna
Introduction Simple linear regression Multiple linear regression Heteroskedasticity Regressions with time-series observations Seria
.........................................................
OLS asymptotics
Introductory Econometrics University of Vienna and Institute for Advanced Studies Vienna
Introduction Simple linear regression Multiple linear regression Heteroskedasticity Regressions with time-series observations Seria
.........................................................
OLS asymptotics
yi = β0 + β1 x1,i + . . . + βk xk,i + ui ,
by OLS and keep the residuals ũ. Then, regress these ũ on all k
regressors
ũi = γ0 + γ1 x1,i + . . . + γk xk,i + vi .
The nR 2 from this second, auxiliary regression is the LM test
statistic. Under H0 , it is asymptotically distributed as χ2 (q).
. . . . . . 56/65
Introductory Econometrics University of Vienna and Institute for Advanced Studies Vienna
Introduction Simple linear regression Multiple linear regression Heteroskedasticity Regressions with time-series observations Seria
.........................................................
Selection of regressors in the multiple model
Introductory Econometrics University of Vienna and Institute for Advanced Studies Vienna
Introduction Simple linear regression Multiple linear regression Heteroskedasticity Regressions with time-series observations Seria
.........................................................
Selection of regressors in the multiple model
Adjusted R 2
. . . . . . 58/65
Introductory Econometrics University of Vienna and Institute for Advanced Studies Vienna
Introduction Simple linear regression Multiple linear regression Heteroskedasticity Regressions with time-series observations Seria
.........................................................
Selection of regressors in the multiple model
Penalizing complexity
Consider the estimated error variance
1 ∑ SSR
n
2
σ̂ = ûi2 = ,
n−k −1 n−k −1
i=1
Introductory Econometrics University of Vienna and Institute for Advanced Studies Vienna
Introduction Simple linear regression Multiple linear regression Heteroskedasticity Regressions with time-series observations Seria
.........................................................
Selection of regressors in the multiple model
. . . . . . 60/65
Introductory Econometrics University of Vienna and Institute for Advanced Studies Vienna
Introduction Simple linear regression Multiple linear regression Heteroskedasticity Regressions with time-series observations Seria
.........................................................
Selection of regressors in the multiple model
Introductory Econometrics University of Vienna and Institute for Advanced Studies Vienna
Introduction Simple linear regression Multiple linear regression Heteroskedasticity Regressions with time-series observations Seria
.........................................................
. . . . . . 62/65
Introductory Econometrics University of Vienna and Institute for Advanced Studies Vienna
Introduction Simple linear regression Multiple linear regression Heteroskedasticity Regressions with time-series observations Seria
.........................................................
. . . . . . 63/65
Introductory Econometrics University of Vienna and Institute for Advanced Studies Vienna
Introduction Simple linear regression Multiple linear regression Heteroskedasticity Regressions with time-series observations Seria
.........................................................
. . . . . . 64/65
Introductory Econometrics University of Vienna and Institute for Advanced Studies Vienna
Introduction Simple linear regression Multiple linear regression Heteroskedasticity Regressions with time-series observations Seria
.........................................................
. . . . . . 65/65
Introductory Econometrics University of Vienna and Institute for Advanced Studies Vienna