Dear statalist community
I am trying to find the relationship between public spending (dependent variable) and the amount of immigration (independent variable). The format is in panel data.
Right now I am doing a robustness test, finding control variables that might affect dependent variable. I am doing an FE test.
However, I think the result is too good because the first simple specification gives me p-value of 0.000. Also, after adding the control variables, none of them seem to be significant and important.
I would like to ask whether...
1. Is this strange?
2. If this is not strange, how can I interpret the coefficient of control variables as they are not really significant at all
3. (This is not really related but I'm just not sure) How can I interpret the coefficient of year dummy variable?
Here are my results
[specification 1] without control variable
i.year _Iyear_1990-2010 (naturally coded; _Iyear_1990 omitted)
Fixed-effects (within) regression Number of obs = 163
Group variable: country Number of groups = 35
R-sq: within = 0.2436 Obs per group: min = 1
between = 0.0196 avg = 4.7
overall = 0.0019 max = 5
F(5,123) = 7.92
corr(u_i, Xb) = -0.7451 Prob > F = 0.0000
------------------------------------------------------------------------------
govexp_gdp | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
migrant_pop | .4818744 .1003668 4.80 0.000 .2832044 .6805443
_Iyear_1995 | .1822943 .5228856 0.35 0.728 -.8527256 1.217314
_Iyear_2000 | -1.286386 .5284281 -2.43 0.016 -2.332377 -.2403948
_Iyear_2005 | -1.169919 .5584982 -2.09 0.038 -2.275432 -.0644057
_Iyear_2010 | -.4115732 .5954315 -0.69 0.491 -1.590193 .7670469
_cons | 15.59851 .8436665 18.49 0.000 13.92853 17.2685
-------------+----------------------------------------------------------------
sigma_u | 4.4247688
sigma_e | 1.929498
rho | .84022677 (fraction of variance due to u_i)
------------------------------------------------------------------------------
F test that all u_i=0: F(34, 123) = 10.84 Prob > F = 0.0000
[specification 2] : adding control variable called gdpcap
.
i.year _Iyear_1990-2010 (naturally coded; _Iyear_1990 omitted)
Fixed-effects (within) regression Number of obs = 163
Group variable: country Number of groups = 35
R-sq: within = 0.2436 Obs per group: min = 1
between = 0.0194 avg = 4.7
overall = 0.0018 max = 5
F(6,122) = 6.55
corr(u_i, Xb) = -0.7444 Prob > F = 0.0000
------------------------------------------------------------------------------
govexp_gdp | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
migrant_pop | .4789815 .1104045 4.34 0.000 .2604246 .6975383
gdpcap | 1.83e-06 .0000284 0.06 0.949 -.0000545 .0000581
_Iyear_1995 | .1769877 .5314915 0.33 0.740 -.8751528 1.229128
_Iyear_2000 | -1.289436 .5327061 -2.42 0.017 -2.343981 -.2348909
_Iyear_2005 | -1.189522 .6386239 -1.86 0.065 -2.453742 .0746979
_Iyear_2010 | -.4384528 .7300596 -0.60 0.549 -1.883679 1.006773
_cons | 15.59788 .8471609 18.41 0.000 13.92084 17.27492
-------------+----------------------------------------------------------------
sigma_u | 4.4198834
sigma_e | 1.937357
rho | .83883391 (fraction of variance due to u_i)
------------------------------------------------------------------------------
F test that all u_i=0: F(34, 122) = 10.45 Prob > F = 0.0000
[specification 3] : adding control variable called gdpcap, pop65
. xi: xtreg govexp_gdp migrant_pop gdpcap pop65 i.year, fe
i.year _Iyear_1990-2010 (naturally coded; _Iyear_1990 omitted)
Fixed-effects (within) regression Number of obs = 163
Group variable: country Number of groups = 35
R-sq: within = 0.2438 Obs per group: min = 1
between = 0.0160 avg = 4.7
overall = 0.0010 max = 5
F(7,121) = 5.57
corr(u_i, Xb) = -0.7467 Prob > F = 0.0000
------------------------------------------------------------------------------
govexp_gdp | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
migrant_pop | .4814699 .1116231 4.31 0.000 .2604826 .7024573
gdpcap | 4.75e-06 .0000325 0.15 0.884 -.0000596 .0000691
pop65 | .0457717 .2422359 0.19 0.850 -.4337981 .5253415
_Iyear_1995 | .132254 .5837644 0.23 0.821 -1.023462 1.28797
_Iyear_2000 | -1.370131 .6844093 -2.00 0.048 -2.725099 -.015162
_Iyear_2005 | -1.345254 1.044199 -1.29 0.200 -3.412521 .7220138
_Iyear_2010 | -.6426634 1.305842 -0.49 0.624 -3.227923 1.942596
_cons | 14.94983 3.533554 4.23 0.000 7.954223 21.94543
-------------+----------------------------------------------------------------
sigma_u | 4.4414601
sigma_e | 1.9450592
rho | .83907768 (fraction of variance due to u_i)
------------------------------------------------------------------------------
F test that all u_i=0: F(34, 121) = 9.45 Prob > F = 0.0000
Thank you
Guest
I am trying to find the relationship between public spending (dependent variable) and the amount of immigration (independent variable). The format is in panel data.
Right now I am doing a robustness test, finding control variables that might affect dependent variable. I am doing an FE test.
However, I think the result is too good because the first simple specification gives me p-value of 0.000. Also, after adding the control variables, none of them seem to be significant and important.
I would like to ask whether...
1. Is this strange?
2. If this is not strange, how can I interpret the coefficient of control variables as they are not really significant at all

3. (This is not really related but I'm just not sure) How can I interpret the coefficient of year dummy variable?
Here are my results
[specification 1] without control variable
Code:
. xi: xtreg govexp_gdp migrant_pop i.year, fe
Fixed-effects (within) regression Number of obs = 163
Group variable: country Number of groups = 35
R-sq: within = 0.2436 Obs per group: min = 1
between = 0.0196 avg = 4.7
overall = 0.0019 max = 5
F(5,123) = 7.92
corr(u_i, Xb) = -0.7451 Prob > F = 0.0000
------------------------------------------------------------------------------
govexp_gdp | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
migrant_pop | .4818744 .1003668 4.80 0.000 .2832044 .6805443
_Iyear_1995 | .1822943 .5228856 0.35 0.728 -.8527256 1.217314
_Iyear_2000 | -1.286386 .5284281 -2.43 0.016 -2.332377 -.2403948
_Iyear_2005 | -1.169919 .5584982 -2.09 0.038 -2.275432 -.0644057
_Iyear_2010 | -.4115732 .5954315 -0.69 0.491 -1.590193 .7670469
_cons | 15.59851 .8436665 18.49 0.000 13.92853 17.2685
-------------+----------------------------------------------------------------
sigma_u | 4.4247688
sigma_e | 1.929498
rho | .84022677 (fraction of variance due to u_i)
------------------------------------------------------------------------------
F test that all u_i=0: F(34, 123) = 10.84 Prob > F = 0.0000
[specification 2] : adding control variable called gdpcap
.
Code:
xi: xtreg govexp_gdp migrant_pop gdpcap i.year, fe
i.year _Iyear_1990-2010 (naturally coded; _Iyear_1990 omitted)
Fixed-effects (within) regression Number of obs = 163
Group variable: country Number of groups = 35
R-sq: within = 0.2436 Obs per group: min = 1
between = 0.0194 avg = 4.7
overall = 0.0018 max = 5
F(6,122) = 6.55
corr(u_i, Xb) = -0.7444 Prob > F = 0.0000
------------------------------------------------------------------------------
govexp_gdp | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
migrant_pop | .4789815 .1104045 4.34 0.000 .2604246 .6975383
gdpcap | 1.83e-06 .0000284 0.06 0.949 -.0000545 .0000581
_Iyear_1995 | .1769877 .5314915 0.33 0.740 -.8751528 1.229128
_Iyear_2000 | -1.289436 .5327061 -2.42 0.017 -2.343981 -.2348909
_Iyear_2005 | -1.189522 .6386239 -1.86 0.065 -2.453742 .0746979
_Iyear_2010 | -.4384528 .7300596 -0.60 0.549 -1.883679 1.006773
_cons | 15.59788 .8471609 18.41 0.000 13.92084 17.27492
-------------+----------------------------------------------------------------
sigma_u | 4.4198834
sigma_e | 1.937357
rho | .83883391 (fraction of variance due to u_i)
------------------------------------------------------------------------------
F test that all u_i=0: F(34, 122) = 10.45 Prob > F = 0.0000
[specification 3] : adding control variable called gdpcap, pop65
. xi: xtreg govexp_gdp migrant_pop gdpcap pop65 i.year, fe
i.year _Iyear_1990-2010 (naturally coded; _Iyear_1990 omitted)
Fixed-effects (within) regression Number of obs = 163
Group variable: country Number of groups = 35
R-sq: within = 0.2438 Obs per group: min = 1
between = 0.0160 avg = 4.7
overall = 0.0010 max = 5
F(7,121) = 5.57
corr(u_i, Xb) = -0.7467 Prob > F = 0.0000
------------------------------------------------------------------------------
govexp_gdp | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
migrant_pop | .4814699 .1116231 4.31 0.000 .2604826 .7024573
gdpcap | 4.75e-06 .0000325 0.15 0.884 -.0000596 .0000691
pop65 | .0457717 .2422359 0.19 0.850 -.4337981 .5253415
_Iyear_1995 | .132254 .5837644 0.23 0.821 -1.023462 1.28797
_Iyear_2000 | -1.370131 .6844093 -2.00 0.048 -2.725099 -.015162
_Iyear_2005 | -1.345254 1.044199 -1.29 0.200 -3.412521 .7220138
_Iyear_2010 | -.6426634 1.305842 -0.49 0.624 -3.227923 1.942596
_cons | 14.94983 3.533554 4.23 0.000 7.954223 21.94543
-------------+----------------------------------------------------------------
sigma_u | 4.4414601
sigma_e | 1.9450592
rho | .83907768 (fraction of variance due to u_i)
------------------------------------------------------------------------------
F test that all u_i=0: F(34, 121) = 9.45 Prob > F = 0.0000
Thank you
Guest
Comment