M1 IF TD Panel
M1 IF TD Panel
M1 IF TD Panel
Exercice 2
On souhaite expliquer le niveau du produit intérieur brut (Y) en fonction de l’investissement
direct étranger (X1) pour 36 pays durant la période 1990-2010.
. . xtreg Y X1, fe
1
overall = 0.0816 max = 21
F(1,644) = 119.09
corr(u_i, Xb) = 0.1626 Prob > F = 0.0000
------------------------------------------------------------------------------
Y| Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
X1 | 5.14e-08 4.71e-09 10.91 0.000 4.22e-08 6.07e-08
_cons | 24887.66 158.0846 157.43 0.000 24577.23 25198.08
-------------+----------------------------------------------------------------
sigma_u | 16793.155
sigma_e | 3504.8479
rho | .95825957 (fraction of variance due to u_i)
------------------------------------------------------------------------------
F test that all u_i=0: F(35, 644) = 355.12 Prob > F = 0.0000
. xtreg Y X1, re
------------------------------------------------------------------------------
Y| Coef. Std. Err. z P>|z| [95% Conf. Interval]
-------------+----------------------------------------------------------------
X1 | 5.17e-08 4.71e-09 10.98 0.000 4.25e-08 6.10e-08
_cons | 25720.3 2778.71 9.26 0.000 20274.13 31166.47
-------------+----------------------------------------------------------------
sigma_u | 16637.811
sigma_e | 3504.8479
rho | .95750976 (fraction of variance due to u_i)
------------------------------------------------------------------------------
. hausman EQ1
2
b = consistent under Ho and Ha; obtained from xtreg
B = inconsistent under Ha, efficient under Ho; obtained from xtreg
chi2(1) = (b-B)'[(V_b-V_B)^(-1)](b-B)
= 2.33
Prob>chi2 = 0.1272
xtabond Y X1, lags(1) maxldep(2) maxlags(2) artests(2)
. estat sargan
Sargan test of overidentifying restrictions
H0: overidentifying restrictions are valid
chi2(36) = 521.9526
Prob > chi2 = 0.0000