Hello,
I'm running a panel data on 6 nations to analyze how structural characteristics affect gov budget components.
I've found that after running the Hausman test, that FE is preferred.
(1) I checked for time-fixed effects, and it turned out significant, hence I ran FE again with robust standard errors and ran the TESTPARM again and it's still there.. What should I do?
. xtreg compensation loggdp loggdpcap depend open popdens oilrents i.time, fe
Fixed-effects (within) regression Number of obs = 66
Group variable: countrynum Number of groups = 5
R-sq: within = 0.6184 Obs per group: min = 10
between = 0.0336 avg = 13.2
overall = 0.0157 max = 15
F(20,41) = 3.32
corr(u_i, Xb) = -0.9901 Prob > F = 0.0006
------------------------------------------------------------------------------
compensation | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
loggdp | 5.936893 7.980265 0.74 0.461 -10.17958 22.05336
loggdpcap | -29.00649 10.11438 -2.87 0.007 -49.43289 -8.580081
depend | .1813371 .0776225 2.34 0.024 .0245753 .3380989
open | .0264436 .0392724 0.67 0.505 -.0528687 .1057559
popdens | -.0597901 .0290672 -2.06 0.046 -.1184925 -.0010877
oilrents | -.1078702 .0494338 -2.18 0.035 -.2077038 -.0080365
|
time |
2 | 1.475155 .8063946 1.83 0.075 -.1533922 3.103702
3 | 1.803126 .8851192 2.04 0.048 .0155918 3.590661
4 | 2.629039 .9398327 2.80 0.008 .7310085 4.52707
5 | 3.242708 1.032514 3.14 0.003 1.157503 5.327912
6 | 4.392323 1.176661 3.73 0.001 2.016009 6.768637
7 | 5.049528 1.357306 3.72 0.001 2.308392 7.790664
8 | 5.27229 1.478431 3.57 0.001 2.286538 8.258042
9 | 6.387174 1.556374 4.10 0.000 3.244012 9.530336
10 | 6.46084 1.548937 4.17 0.000 3.332699 9.588981
11 | 6.8555 1.524781 4.50 0.000 3.776142 9.934858
12 | 8.015308 1.601325 5.01 0.000 4.781367 11.24925
13 | 7.607703 1.743455 4.36 0.000 4.086724 11.12868
14 | 7.670823 1.794717 4.27 0.000 4.046317 11.29533
15 | 8.212025 1.811259 4.53 0.000 4.554114 11.86994
|
_cons | 49.64063 62.6624 0.79 0.433 -76.90866 176.1899
-------------+----------------------------------------------------------------
sigma_u | 20.537813
sigma_e | 1.0744317
rho | .99727063 (fraction of variance due to u_i)
------------------------------------------------------------------------------
F test that all u_i=0: F(4, 41) = 7.45 Prob > F = 0.0001
. testparm i. time
( 1) 2.time = 0
( 2) 3.time = 0
( 3) 4.time = 0
( 4) 5.time = 0
( 5) 6.time = 0
( 6) 7.time = 0
( 7) 8.time = 0
( 8) 9.time = 0
( 9) 10.time = 0
(10) 11.time = 0
(11) 12.time = 0
(12) 13.time = 0
(13) 14.time = 0
(14) 15.time = 0
F( 14, 41) = 2.26
Prob > F = 0.0215
================================================== ===
. xtreg compensation loggdp loggdpcap depend open popdens oilrents i.time, fe vce(robust)
Fixed-effects (within) regression Number of obs = 66
Group variable: countrynum Number of groups = 5
R-sq: within = 0.6184 Obs per group: min = 10
between = 0.0336 avg = 13.2
overall = 0.0157 max = 15
F(4,4) = .
corr(u_i, Xb) = -0.9901 Prob > F = .
(Std. Err. adjusted for 5 clusters in countrynum)
------------------------------------------------------------------------------
| Robust
compensation | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
loggdp | 5.936893 7.822397 0.76 0.490 -15.78156 27.65535
loggdpcap | -29.00649 8.733987 -3.32 0.029 -53.25592 -4.757052
depend | .1813371 .1339092 1.35 0.247 -.1904544 .5531285
open | .0264436 .0471894 0.56 0.605 -.1045751 .1574623
popdens | -.0597901 .0361108 -1.66 0.173 -.1600498 .0404697
oilrents | -.1078702 .0312756 -3.45 0.026 -.1947051 -.0210352
|
time |
2 | 1.475155 1.085362 1.36 0.246 -1.538293 4.488602
3 | 1.803126 .8407005 2.14 0.099 -.5310323 4.137285
4 | 2.629039 1.015436 2.59 0.061 -.1902639 5.448342
5 | 3.242708 1.012003 3.20 0.033 .4329366 6.052479
6 | 4.392323 1.311021 3.35 0.029 .7523444 8.032302
7 | 5.049528 1.60214 3.15 0.034 .6012743 9.497781
8 | 5.27229 1.668428 3.16 0.034 .6399925 9.904588
9 | 6.387174 1.821449 3.51 0.025 1.330022 11.44433
10 | 6.46084 1.969247 3.28 0.030 .9933339 11.92835
11 | 6.8555 1.806006 3.80 0.019 1.841223 11.86978
12 | 8.015308 1.990894 4.03 0.016 2.487699 13.54292
13 | 7.607703 1.336088 5.69 0.005 3.898128 11.31728
14 | 7.670823 1.475115 5.20 0.007 3.575246 11.7664
15 | 8.212025 1.775552 4.63 0.010 3.282301 13.14175
|
_cons | 49.64063 69.88321 0.71 0.517 -144.3863 243.6675
-------------+----------------------------------------------------------------
sigma_u | 20.537813
sigma_e | 1.0744317
rho | .99727063 (fraction of variance due to u_i)
------------------------------------------------------------------------------
. testparm i.time
( 1) 2.time = 0
( 2) 3.time = 0
( 3) 4.time = 0
( 4) 5.time = 0
( 5) 6.time = 0
( 6) 7.time = 0
( 7) 8.time = 0
( 8) 9.time = 0
( 9) 10.time = 0
(10) 11.time = 0
(11) 12.time = 0
(12) 13.time = 0
(13) 14.time = 0
(14) 15.time = 0
Constraint 2 dropped
Constraint 3 dropped
Constraint 4 dropped
Constraint 5 dropped
Constraint 7 dropped
Constraint 8 dropped
Constraint 9 dropped
Constraint 10 dropped
Constraint 12 dropped
Constraint 13 dropped
F( 4, 4) = 13.64
Prob > F = 0.0134
--------------------------------------------------------------------------
(2) When running further tests (xttset2, xttset3, and xtserial) should I run robust standard errors? or test on the normal errors? or include the time dummy variables? I'm very confused.
Thanks, any input would be appreciated.
I'm running a panel data on 6 nations to analyze how structural characteristics affect gov budget components.
I've found that after running the Hausman test, that FE is preferred.
(1) I checked for time-fixed effects, and it turned out significant, hence I ran FE again with robust standard errors and ran the TESTPARM again and it's still there.. What should I do?
. xtreg compensation loggdp loggdpcap depend open popdens oilrents i.time, fe
Fixed-effects (within) regression Number of obs = 66
Group variable: countrynum Number of groups = 5
R-sq: within = 0.6184 Obs per group: min = 10
between = 0.0336 avg = 13.2
overall = 0.0157 max = 15
F(20,41) = 3.32
corr(u_i, Xb) = -0.9901 Prob > F = 0.0006
------------------------------------------------------------------------------
compensation | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
loggdp | 5.936893 7.980265 0.74 0.461 -10.17958 22.05336
loggdpcap | -29.00649 10.11438 -2.87 0.007 -49.43289 -8.580081
depend | .1813371 .0776225 2.34 0.024 .0245753 .3380989
open | .0264436 .0392724 0.67 0.505 -.0528687 .1057559
popdens | -.0597901 .0290672 -2.06 0.046 -.1184925 -.0010877
oilrents | -.1078702 .0494338 -2.18 0.035 -.2077038 -.0080365
|
time |
2 | 1.475155 .8063946 1.83 0.075 -.1533922 3.103702
3 | 1.803126 .8851192 2.04 0.048 .0155918 3.590661
4 | 2.629039 .9398327 2.80 0.008 .7310085 4.52707
5 | 3.242708 1.032514 3.14 0.003 1.157503 5.327912
6 | 4.392323 1.176661 3.73 0.001 2.016009 6.768637
7 | 5.049528 1.357306 3.72 0.001 2.308392 7.790664
8 | 5.27229 1.478431 3.57 0.001 2.286538 8.258042
9 | 6.387174 1.556374 4.10 0.000 3.244012 9.530336
10 | 6.46084 1.548937 4.17 0.000 3.332699 9.588981
11 | 6.8555 1.524781 4.50 0.000 3.776142 9.934858
12 | 8.015308 1.601325 5.01 0.000 4.781367 11.24925
13 | 7.607703 1.743455 4.36 0.000 4.086724 11.12868
14 | 7.670823 1.794717 4.27 0.000 4.046317 11.29533
15 | 8.212025 1.811259 4.53 0.000 4.554114 11.86994
|
_cons | 49.64063 62.6624 0.79 0.433 -76.90866 176.1899
-------------+----------------------------------------------------------------
sigma_u | 20.537813
sigma_e | 1.0744317
rho | .99727063 (fraction of variance due to u_i)
------------------------------------------------------------------------------
F test that all u_i=0: F(4, 41) = 7.45 Prob > F = 0.0001
. testparm i. time
( 1) 2.time = 0
( 2) 3.time = 0
( 3) 4.time = 0
( 4) 5.time = 0
( 5) 6.time = 0
( 6) 7.time = 0
( 7) 8.time = 0
( 8) 9.time = 0
( 9) 10.time = 0
(10) 11.time = 0
(11) 12.time = 0
(12) 13.time = 0
(13) 14.time = 0
(14) 15.time = 0
F( 14, 41) = 2.26
Prob > F = 0.0215
================================================== ===
. xtreg compensation loggdp loggdpcap depend open popdens oilrents i.time, fe vce(robust)
Fixed-effects (within) regression Number of obs = 66
Group variable: countrynum Number of groups = 5
R-sq: within = 0.6184 Obs per group: min = 10
between = 0.0336 avg = 13.2
overall = 0.0157 max = 15
F(4,4) = .
corr(u_i, Xb) = -0.9901 Prob > F = .
(Std. Err. adjusted for 5 clusters in countrynum)
------------------------------------------------------------------------------
| Robust
compensation | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
loggdp | 5.936893 7.822397 0.76 0.490 -15.78156 27.65535
loggdpcap | -29.00649 8.733987 -3.32 0.029 -53.25592 -4.757052
depend | .1813371 .1339092 1.35 0.247 -.1904544 .5531285
open | .0264436 .0471894 0.56 0.605 -.1045751 .1574623
popdens | -.0597901 .0361108 -1.66 0.173 -.1600498 .0404697
oilrents | -.1078702 .0312756 -3.45 0.026 -.1947051 -.0210352
|
time |
2 | 1.475155 1.085362 1.36 0.246 -1.538293 4.488602
3 | 1.803126 .8407005 2.14 0.099 -.5310323 4.137285
4 | 2.629039 1.015436 2.59 0.061 -.1902639 5.448342
5 | 3.242708 1.012003 3.20 0.033 .4329366 6.052479
6 | 4.392323 1.311021 3.35 0.029 .7523444 8.032302
7 | 5.049528 1.60214 3.15 0.034 .6012743 9.497781
8 | 5.27229 1.668428 3.16 0.034 .6399925 9.904588
9 | 6.387174 1.821449 3.51 0.025 1.330022 11.44433
10 | 6.46084 1.969247 3.28 0.030 .9933339 11.92835
11 | 6.8555 1.806006 3.80 0.019 1.841223 11.86978
12 | 8.015308 1.990894 4.03 0.016 2.487699 13.54292
13 | 7.607703 1.336088 5.69 0.005 3.898128 11.31728
14 | 7.670823 1.475115 5.20 0.007 3.575246 11.7664
15 | 8.212025 1.775552 4.63 0.010 3.282301 13.14175
|
_cons | 49.64063 69.88321 0.71 0.517 -144.3863 243.6675
-------------+----------------------------------------------------------------
sigma_u | 20.537813
sigma_e | 1.0744317
rho | .99727063 (fraction of variance due to u_i)
------------------------------------------------------------------------------
. testparm i.time
( 1) 2.time = 0
( 2) 3.time = 0
( 3) 4.time = 0
( 4) 5.time = 0
( 5) 6.time = 0
( 6) 7.time = 0
( 7) 8.time = 0
( 8) 9.time = 0
( 9) 10.time = 0
(10) 11.time = 0
(11) 12.time = 0
(12) 13.time = 0
(13) 14.time = 0
(14) 15.time = 0
Constraint 2 dropped
Constraint 3 dropped
Constraint 4 dropped
Constraint 5 dropped
Constraint 7 dropped
Constraint 8 dropped
Constraint 9 dropped
Constraint 10 dropped
Constraint 12 dropped
Constraint 13 dropped
F( 4, 4) = 13.64
Prob > F = 0.0134
--------------------------------------------------------------------------
(2) When running further tests (xttset2, xttset3, and xtserial) should I run robust standard errors? or test on the normal errors? or include the time dummy variables? I'm very confused.
Thanks, any input would be appreciated.
Comment