Escolar Documentos
Profissional Documentos
Cultura Documentos
Aula 5
Aula 5
MQO
Gervsio F. Santos
Universidade Federal da Bahia
Faculdade de Cincias Econmicas
Departamento de Economia
ECO 166 Introduo Econometria
MQO
y
x
1
x
2 .
x
n
x
0
^
x
x y E
c
c
~
) / (
1
^
i i
x y
1
^
0
^ ^
+ =
i
y
= =
mnima u que implica MQO
x y y y u
i
i i i
i
_ __ _ __
2
^
1
^
0
^ ^ ^
^
i i
y y
MQO
Y
x
i
X
0
^
=
Exemplo 2.4 (Wooldridge, p. 32: Salrio e Educao.
Efeito de educao formal em anos de escolaridade sobre o salrio (salrio-
hora) em dlares. Arquivo (WAGE1.RAW)
salrio =
0
+
1
educ + u
salrio = -0,97 + 0,54 educ
_cons -.9771691 .7070256 -1.38 0.168 -2.366345 .4120069
educ .5479924 .0548507 9.99 0.000 .4402209 .6557639
salrio Coef. Std. Err. t P>|t| [95% Conf. Interval]
Total 6731.1333 491 13.7090291 Root MSE = 3.3782
Adj R-squared = 0.1675
Residual 5592.039 490 11.4123245 R-squared = 0.1692
Model 1139.0943 1 1139.0943 Prob > F = 0.0000
F( 1, 490) = 99.81
Source SS df MS Number of obs = 492
. reg salrio educ
salrio 492 5.92063 3.702571 .53 24.98
Variable Obs Mean Std. Dev. Min Max
. summ salrio
-.97716913
. display _b[educ]*0+_b[_cons]
3.4067704
. display _b[educ]*8+_b[_cons]
2.1919698
. display _b[educ]*4
Salrio para educ=0 Salrio para educ=8 4 anos de educao formal
Propriedades algbricas de MQO (1)
^ ^
_
^ _
1
^
1
^
_ :
0
0
i i i
n
i
i i
n
i
i
u y y MQO Decomp.
y y
u x
u
+ = -
= -
= -
= -
=
=
= = =
=
=
=
+ =
+ =
= -
= = = -
= -
n
i
i
n
i
i i
n
i
i i
n
i
i
i i
n
i
i i
n
i
i i
u y y y y
SQR SQE SQT
u SQR
y y sendo y y SQE
y y SQT
1
2
^
1
2
_ ^
1
2
_
1
2
^
_
^ _
1
2
_ ^
1
2
_
) ( ) (
_ ) (
) (
=
= =
+ =
+ =
= = =
1
:
1
) ( ) (
.... ........ .. ..........
2
2
1
2
^
1
2
_ ^
1
2
_