Dear all,
my panel data consist if 9 countries and 12 years.For estimation I was running the following commands:
xtreg depvar indepvar, fe robust
estimates store fixed
xtreg depvar indep var, re robust
estimates store random
xtoverid
(p<o.o5, meaning that fixed effect is appropriate)
However, in one paper I noticed that the author uses Prais-Winsten AR (1) Regressions , which I think is xpcse depvar indepvar, core (ar1) command.
1)Does the robust cluster(id) option eliminate serial correlation and heterosk. problems? Because i read somewhere that cluster(id) option works only when N>T, which is not my case.
2)Can anyone explain the difference between xpcse and xtreg commands?
P.S. Data has serial correlation and heterosk. problem. Also with xpcse command i get results that almost consistent with the literature. Im so confused between commands.
Any suggestion would be appreciated!
Best,Kenulina
my panel data consist if 9 countries and 12 years.For estimation I was running the following commands:
xtreg depvar indepvar, fe robust
estimates store fixed
xtreg depvar indep var, re robust
estimates store random
xtoverid
(p<o.o5, meaning that fixed effect is appropriate)
However, in one paper I noticed that the author uses Prais-Winsten AR (1) Regressions , which I think is xpcse depvar indepvar, core (ar1) command.
1)Does the robust cluster(id) option eliminate serial correlation and heterosk. problems? Because i read somewhere that cluster(id) option works only when N>T, which is not my case.
2)Can anyone explain the difference between xpcse and xtreg commands?
P.S. Data has serial correlation and heterosk. problem. Also with xpcse command i get results that almost consistent with the literature. Im so confused between commands.
Any suggestion would be appreciated!
Best,Kenulina
Comment