LLICO2b_ECO1_English
LLICO2b_ECO1_English
STATISTICAL PROPERTIES
y i = β1 + β 2 x 2 i + u i
y Point Cloud:
Set of observations
x x used to estimate the
x
x x x model
x
x x
x x x
x
x x
x
x2
15
To estimate the SLRM suppose to get values for the
parameters β1 and β2 such that they fit in the best possible
way the point cloud....
x x
y$ = β$ 1 + β$ 2 x 2
x
x x x
x
x x
x x x
x
x x
x
x2
the idea is to find that straight line that is the best in fitting
the point cloud, i.e., that is characterized by the least
distance between each point and its representation on the
straight line....
ei = y i − y$ i = y i − β$ 1 − β$ 2 x 2 i ( )
Or in matrix form:
$ = Y − Xβ$
e= Y−Y
Hence, we will obtain those values for β$ 1 and β$ 2 such
that the residual is the minimum.
16
In order to minimize the residual we can follow different
criteria:
$ $
Hence, we will obtain those values of β1 and β 2 that
make minimum the sum of squared residuals(SSR)....
Min SSR
on:
N N 2
Or in matrix form,
17
e1
N
e2
SSR = ∑ ei2 = e' e = (e1 e2 ... eN ) ... =
i =1
e
N
( )( )
= Y − Yˆ ' Y − Yˆ =
( )( ) ( )(
= Y − Xβˆ ' Y − Xβˆ = Y ' − βˆ ' X ' Y − Xβˆ = )
= Y ' Y − Y ' Xβˆ − βˆ ' X 'Y + βˆ ' X ' Xβˆ =
= Y ' Y − 2 βˆ ' X 'Y + βˆ ' X ' Xβˆ
Hence:
(
Min SSR = Min Y ' Y − 2 βˆ ' X ' Y + βˆ ' X ' Xβˆ )
= =
(
∂SSR ∂e' e ∂ Y ' Y − 2βˆ ' X ' Y + βˆ ' X ' Xβˆ )
= −2 X ' Y + 2 X ' Xβˆ
∂βˆ ∂βˆ ∂βˆ
∂SSR
=0
∂β
ˆ
18
βˆOLS = ( X ' X )−1 ( X ' Y )
with:
1 1 ... 1 1 x 21 ... x k1
x 21 x 22 ... x 2 N 1 x 22 ... x k 2
( X' X ) = =
... ... ... ... ... ... ... ...
x k1 xk2 ... x kN 1 x 2 N ... x kN
N N
N ∑ x2i ... ∑ x ki
i =1 i =1
N N N
x2i ... ∑ x 2 i x ki
= ∑ ∑x 2
2i
i =1 i =1 i =1
... ... ... ...
N x N
... ∑ x 2ki
N
∑
i=1 ki
∑ x ki x 2i
i =1 i =1
N
1 1 ... 1 y1 ∑ y i
i =1
N
x 21 x 22 ... x 2 N y 2 x2i yi
( )
X ' Y = = ∑
... ... ... ... ... i =1
...
x k1 xk2 ... x kN y N N x y
∑
i=1 ki i
19
Therefore, β̂OLS has dimension Kx1.
= 2 =
( )
∂ 2 SSR ∂ 2 e' e ∂ 2 Y ' Y − 2βˆ ' X ' Y + βˆ ' X ' Xβˆ
=
∂ β2 ˆ
∂ β ˆ ∂ β 2 ˆ
=
(
∂ − 2 X ' Y + 2 X `X βˆ )
= 2 X'X
∂βˆ
1ª) Linearity
2ª) Unbiasedness
3ª) Efficiency
4ª) Consistency
20
1ª) Linearity
= β + ( X' X) X' U
−1
2ª) Unbiasedness
( ) (
E(β) = E ( X' X) X' Y = E β + ( X' X) X' U =
$ −1 −1
)
= β + ( X' X ) X' E( U) = β
−1
()
Bias ( βˆ ) = E βˆ − β = 0
21
3ª) Efficiency
( ) (( )( )) ( )(
VAR βˆOLS = E βˆ − β βˆ − β ' = E ( X ' X ) X 'U ( X ' X ) X 'U ' =
−1 −1
)
= ( X ' X ) X ' E (UU ' ) X ( X ' X ) =
−1 −1
= σ u2 ( X ' X )
−1
( )
VAR βˆOLS = σ u2 ( X ' X )
−1
( )
VAR βˆ j = σ u2a jj ∀j = 1,2,..., k
ajj is the j-element of the
principal diagonal of
(X'X)-1
22
An estimator that satisfies the properties of linearity,
unbiasedness and efficiency is also called BLUE (best
linear unbiased estimator).
4ª) Consistency
N β$ β
We can say that an estimator is consistent when the limit
of its Mean Squared Error (MSE) with N that tends to
infinity is equal to zero:
LimN →∞ MSE ( βˆ ) = 0
Since: ˆ ˆ (
MSE ( β ) = VAR ( β ) + bias ( β )
ˆ )2
23
Lim N →∞ MSE ( βˆ ) = Lim N →∞VAR ( βˆ ) =
−1
σ X'X
2
( 2
u)−1
= LimN →∞σ X ' X = Lim N →∞ u
=0
N N
24
1ª) The vector of the residuals is a linear combination of
the endogeneous variable.
M=I-X(X'X)-1X' is:
that MM'=M'M=M'M'=M
• a singular matrix: M = 0
e = MY = M ( Xβ + U) = MXβ + MU = MU
25
Given that:
1 1 ... 1 e1 0
x 21 x 22 ... x 2 N e 2 0
X' e = =
... ... ... ... ... ...
x k1 x k2 ... x kN e N 0
implies:
N N
1
∑e
i =1
i = 0 and e=
N
∑e
i =1
i =0
e~N(0, σ2uM)
E ( e) = E ( MU ) = ME ( U ) = 0
26
Therefore the residuals are not spherical.
27
e' e
σˆ u2 ,OLS =
N −k
()
VAR β$ = σ 2u ( X' X) −1 ()
$ β$ = σ$ 2 ( X' X) −1
VAR u
VAR(β$ j ) = σ u2 a jj $ (β$ ) = σ$ 2 a
VAR j u jj
•
e' e = ∑ e2i
i =1
•
e' e = Y' Y − β$ ' X' Y
e' e = ( Y − Ŷ)' ( Y − Ŷ) = ( Y − Xβˆ )' ( Y − Xβˆ ) = ( Y'− βˆ ' X' )( Y − Xβˆ ) =
= Y' Y − Y' Xβˆ − βˆ ' X' Y + βˆ ' X' Xβˆ = Y' Y − 2βˆ ' X' Y + βˆ ' X' Xβˆ =
= Y' Y − 2βˆ ' X' Y + βˆ ' X' X( X' X) −1 ( X' Y) = Y' Y − βˆ ' X' Y
28
e' e = Y' Y − β$ ' X' Y = Y' Y − β$ ' X'( Xβ$ + e) = Y' Y − β$ ' X' Xβ$ − β$ ' X' e =
= Y' Y − β$ ' X' Xβ$ = Y' Y − Y $ 'Y
$
29