Hi everybody!
I am running a fixed effects panel model wheer female labor force participation is the dependent variables and investment into the private sector is the main independent variable. I also want to look at regional differences, so I created region dummies.
I am not quite sure how to continue though... I ran different regressions a got different results but I am not sure which stata command ist the correct one. in 1) I looked at all regions (this is my main regression). In 2) I only included the EAP region, however, my observations obviously decrease. So, in order to keep the sample bigger, I introduce the region dummy in 3) and 4). But what is the exact difference between 3) & 4)? I thought it would be the same thing, just a different way to write the stata command, but I get different results.
1) xtreg FLFP l3.logInvestment logGDPcurrentPPP l5.fsecondary fertility WBL trade FDI i.year, vce(cluster CountryCode_num) fe
outreg2 using Table5.doc, replace ctitle(FE) addstat ("Adjusted R2", e(r2_a), "RMSE", e(rmse)) addtext (Year FE, YES, Robust std. errors, YES )keep(l3.logInvestment EAP c.l3.logInvestment#EAP logGDPcurrentPPP l5.fsecondary fertility WBL trade FDI)
2) xtreg FLFP l3.logInvestment logGDPcurrentPPP l5.fsecondary fertility WBL trade FDI i.year if Reg == "EAP", vce(cluster CountryCode_num) fe
outreg2 using Table5.doc, append ctitle(FE) addstat ("Adjusted R2", e(r2_a), "RMSE", e(rmse)) addtext (Year FE, YES, Robust std. errors, YES )keep(l3.logInvestment EAP c.l3.logInvestment#EAP logGDPcurrentPPP l5.fsecondary fertility WBL trade FDI)
3) xtreg FLFP l3.logInvestment EAP c.l3.logInvestment#EAP logGDPcurrentPPP l5.fsecondary fertility WBL trade FDI i.year, vce(cluster CountryCode_num) fe
outreg2 using Table5.doc, append ctitle(FE) addstat ("Adjusted R2", e(r2_a), "RMSE", e(rmse)) addtext (Year FE, YES, Robust std. errors, YES )keep(l3.logInvestment EAP c.l3.logInvestment#EAP logGDPcurrentPPP l5.fsecondary fertility WBL trade FDI)
4) xtreg FLFPratio c.l3.logInvestment##EAP logGDPcurrentPPP l5.fsecondary fertility WBL trade FDI i.year, vce(cluster CountryCode_num) fe
outreg2 using Table5.doc, append ctitle(FE) addstat ("Adjusted R2", e(r2_a), "RMSE", e(rmse)) addtext (Year FE, YES, Robust std. errors, YES )keep(c.l3.logInvestment##EAP logGDPcurrentPPP l5.fsecondary fertility WBL trade FDI)
Can anyone help me out? What is the difference between 3 and 4 and how would I interpret the interaction terms since the results are different?
Thanks in advance!
Best
Clara
I am running a fixed effects panel model wheer female labor force participation is the dependent variables and investment into the private sector is the main independent variable. I also want to look at regional differences, so I created region dummies.
I am not quite sure how to continue though... I ran different regressions a got different results but I am not sure which stata command ist the correct one. in 1) I looked at all regions (this is my main regression). In 2) I only included the EAP region, however, my observations obviously decrease. So, in order to keep the sample bigger, I introduce the region dummy in 3) and 4). But what is the exact difference between 3) & 4)? I thought it would be the same thing, just a different way to write the stata command, but I get different results.
1) xtreg FLFP l3.logInvestment logGDPcurrentPPP l5.fsecondary fertility WBL trade FDI i.year, vce(cluster CountryCode_num) fe
outreg2 using Table5.doc, replace ctitle(FE) addstat ("Adjusted R2", e(r2_a), "RMSE", e(rmse)) addtext (Year FE, YES, Robust std. errors, YES )keep(l3.logInvestment EAP c.l3.logInvestment#EAP logGDPcurrentPPP l5.fsecondary fertility WBL trade FDI)
2) xtreg FLFP l3.logInvestment logGDPcurrentPPP l5.fsecondary fertility WBL trade FDI i.year if Reg == "EAP", vce(cluster CountryCode_num) fe
outreg2 using Table5.doc, append ctitle(FE) addstat ("Adjusted R2", e(r2_a), "RMSE", e(rmse)) addtext (Year FE, YES, Robust std. errors, YES )keep(l3.logInvestment EAP c.l3.logInvestment#EAP logGDPcurrentPPP l5.fsecondary fertility WBL trade FDI)
3) xtreg FLFP l3.logInvestment EAP c.l3.logInvestment#EAP logGDPcurrentPPP l5.fsecondary fertility WBL trade FDI i.year, vce(cluster CountryCode_num) fe
outreg2 using Table5.doc, append ctitle(FE) addstat ("Adjusted R2", e(r2_a), "RMSE", e(rmse)) addtext (Year FE, YES, Robust std. errors, YES )keep(l3.logInvestment EAP c.l3.logInvestment#EAP logGDPcurrentPPP l5.fsecondary fertility WBL trade FDI)
4) xtreg FLFPratio c.l3.logInvestment##EAP logGDPcurrentPPP l5.fsecondary fertility WBL trade FDI i.year, vce(cluster CountryCode_num) fe
outreg2 using Table5.doc, append ctitle(FE) addstat ("Adjusted R2", e(r2_a), "RMSE", e(rmse)) addtext (Year FE, YES, Robust std. errors, YES )keep(c.l3.logInvestment##EAP logGDPcurrentPPP l5.fsecondary fertility WBL trade FDI)
(1) | (2) | (3) | (4) | |
VARIABLES | FE | FE | FE | FE |
L3.logInvestment | 0.0702 | 0.121 | 0.143 | 0.273* |
(0.123) | (0.207) | (0.129) | (0.154) | |
0b.EAP#coL3.logInvestment | 0 | |||
(0) | ||||
1.EAP#cL3.logInvestment | -0.848* | -1.141** | ||
(0.451) | (0.505) | |||
logGDPcurrentPPP | 1.086 | -1.132 | 1.316 | 0.0306 |
(2.639) | (4.451) | (2.624) | (3.137) | |
L5.fsecondary | 0.0874 | 0.0470 | 0.0937 | 0.199*** |
(0.0592) | (0.116) | (0.0587) | (0.0750) | |
fertility | 2.974** | 6.456 | 2.995** | 0.913 |
(1.363) | (3.818) | (1.330) | (1.502) | |
WBL | 0.000528 | -0.00199 | -0.00345 | 0.0107 |
(0.0536) | (0.148) | (0.0546) | (0.0704) | |
trade | -0.00675 | 0.0292 | -0.00634 | -0.00730 |
(0.0198) | (0.0575) | (0.0197) | (0.0190) | |
FDI | -0.0663 | -0.332** | -0.0491 | -0.0659 |
(0.0476) | (0.139) | (0.0451) | (0.0626) | |
Constant | 31.28 | 41.47 | 29.40 | 53.66* |
(23.98) | (44.10) | (23.85) | (27.50) | |
Observations | 487 | 59 | 487 | 487 |
R-squared | 0.232 | 0.543 | 0.244 | 0.290 |
Number of CountryCode_num | 92 | 12 | 92 | 92 |
Year FE | YES | YES | YES | YES |
Robust std. errors | YES | YES | YES | YES |
Adjusted R2 | 0.184 | 0.145 | 0.194 | 0.243 |
RMSE | 1.983 | 1.420 | 1.970 | 2.153 |
Thanks in advance!
Best
Clara
Comment