Radhika:
1) -regress- and -xtreg,fe- implies different estimators; therefore, what you experienced may happen. In addition, you don't tell whether or not you run an OLS with or without fixed effect specification (that is, with -i.panelid- in the right-hand side of your regression equation;
2) and ) heteroskedasticity and autocorrelation of the systematic error can both be dealt with -robust- or -vce(cluster panelid)- standard errors (they do the very same job under -xtreg-);
3) the -xtrest0- outcome highlights the evidence of a panel-wise effect, but do not tell that -re- is necessarily the way to (as -fe- may be a better estimator for your dataset),
4) I'd also test the functional form of the regressand via a procedure = -linktest-, but that you should code by hand, as it is not supported by -xtreg-.
1) -regress- and -xtreg,fe- implies different estimators; therefore, what you experienced may happen. In addition, you don't tell whether or not you run an OLS with or without fixed effect specification (that is, with -i.panelid- in the right-hand side of your regression equation;
2) and ) heteroskedasticity and autocorrelation of the systematic error can both be dealt with -robust- or -vce(cluster panelid)- standard errors (they do the very same job under -xtreg-);
3) the -xtrest0- outcome highlights the evidence of a panel-wise effect, but do not tell that -re- is necessarily the way to (as -fe- may be a better estimator for your dataset),
4) I'd also test the functional form of the regressand via a procedure = -linktest-, but that you should code by hand, as it is not supported by -xtreg-.
Comment