economics 310
DESCRIPTION
Economics 310. Lecture 20 Two Stage Least Squares. Two Stage Least Squares. Want Unique Estimates with over-identified equations Want to use all information in system’s data set. Two stage least squares allows us to use all exogenous variables and still get unique estimates. - PowerPoint PPT PresentationTRANSCRIPT
Economics 310
Lecture 20Two Stage Least Squares
Two Stage Least Squares Want Unique Estimates with over-
identified equations Want to use all information in
system’s data set. Two stage least squares allows us
to use all exogenous variables and still get unique estimates.
Understanding identificationInstrumental Variable estimation
3
2
0
1
132121
111
1
3
2
0
1
3212
1332201121
432121
13210
1
22
1
22
11
1
00
2210t
,
y
as equation demand the writecan weformmatrix In
,,,1,,
Re
,,1
,
P
as equationsupply therewrite and
modelsupply and demandlast our use willWe
xxxyZWhere
Z
xxxy
xxxy
WxPSxIxxPyQylet
PSIPQ
asdemandwrite
Where
WQ
ttttt
tt
ttt
Supply in matrix form
2
0
1
24112
2222
2
0
1
411
22401112
,
y
assupply thecan write weform,matrix In
xxyZWhere
Zxxy
xxy
2-stage least squares
111111
11441331221111
1
2
14112
22
4321
ˆyˆˆ
y
yfor form reduced
.eerror with thecorrelated
is variableendogenous the with Zmodelour In
0)e(0)eE(X' i.e. .,error term the
witheduncorrelat being variablesexogenous thehave
xX variablesexogenous
ofmatrix our model,supply and demandour For
XX
xxxx
isThe
yxxy
Eand
We
xxx
2-Stage least squares
.ˆ
ˆ
ˆy
ˆyˆyy
ˆyy
asequation supply thecan write then weˆyZ
ˆyZy replace weIf
22
2112
2222
211
2
0
1
411
2
0
1
41112
2
2
0
1
41112
41112
1141121
eduncorrelatareandZTas
e
whereZ
orexxxx
orexx
xx
thenwithxxyin
2-stage least squares
TZyZy
whereZZ
yZZZ
and
/ˆ'ˆˆ
ˆˆˆ)ˆv(oc
ismatrix covariance estimated The
ˆˆˆˆ
squares.least ordinary apply can we
limit in the eduncorrelat are Z Since
222222
22
1
2'2
222
2
'2
1
2'22
22
Example
edisturbanc stochastic time,t
typroductivi industrialR index, living ofcost P
profitsQ n,consumptio personalC
formation capitalnet I income, nationalY
Y
EconomyGerman West of Model Menges
41111110
391876
2543
12110t
Where
RQQ
PCYC
QYI
IY
tttt
ttttt
tttt
ttt
Estimate of 1st Menges Equation
|_2sls y ylag i (ylag, clag, qlag, r, p)
TWO STAGE LEAST SQUARES - DEPENDENT VARIABLE = Y
5 EXOGENOUS VARIABLES
2 POSSIBLE ENDOGENOUS VARIABLES
51 OBSERVATIONS
R-SQUARE = 0.9975 R-SQUARE ADJUSTED = 0.9974
VARIANCE OF THE ESTIMATE-SIGMA**2 = 1750.8
STANDARD ERROR OF THE ESTIMATE-SIGMA = 41.843
SUM OF SQUARED ERRORS-SSE= 84040.
MEAN OF DEPENDENT VARIABLE = 7301.2
VARIABLE ESTIMATED STANDARD T-RATIO PARTIAL STANDARDIZED ELASTICITY
NAME COEFFICIENT ERROR 48 DF P-VALUE CORR. COEFFICIENT AT MEANS
YLAG 1.0053 0.1125E-01 89.35 0.000 0.997 0.9818 0.9972
I 0.10274E-01 0.4928E-02 2.085 0.042 0.288 0.0319 0.0024
CONSTANT 3.3871 75.70 0.4474E-01 0.964 0.006 0.0000 0.0005
Alternative derivation of 2sls
estimator.efficient not but consistenta is This zero. togoes '
oft independen ist matrix thaconstant togoes '
limit thein and ''
)('')ˆ(
''''ˆ
get weequation, this toOLSapply we
as modelour rewrite can we,',','
])'[,0(~''''
get we,X'by equationour multiple weIf
0)(0)'(
xX is variablesexogenous ofmatrix Our
),0(~
2*2
*22
1
2'2
1
2'22
222'2
1
2'22
2
'2
1
2'2
*
2
*2
1*2
*22
*22
*2
*
2
2*22
*22
*
2
2222222
22
4321
2222222
eXeand
eZXT
XXZZXXZE
ZXXZZXXZEE
yXXZZXXZyZZZ
If
eZy
eXeZXZyXyletweif
XXNXXZXyX
eEandeXENow
xxx
INZy
Alternative estimator
)')'(,(~ˆ
arg
')'(')'(
ˆ
')'cov(
1
21'
22222
2
1'2
1
21'
2
*
2
1*'2
1*2
1*'22
22222
ZXXXXZN
sampleelIn
yXXXXZZXXXXZ
yWZZWZ
isestimatorGLSThe
WXXeXSince
2sls
estimator. 2sls theis This
ˆ]ˆˆ[
')'(')'(')'(
')'(')'(ˆ
2
'2
12
'2
2
1'2
1
211'
2
2
1'2
1
21'
22
yZZZ
yXXXXZZXXXXXXXXZ
yXXXXZZXXXXZ