Hi,
I used a dataset from a lab experiment
xtreg dep i1 if i2==0 & i3==0
and xtreg dep i1 i2 i3
The coefficient of id remained the same but the standard error changed so there must be some kind of problem. Adding “,robust” did not help, standard errors were still (slightly) different.
When I use xtpcse for the dataset (with the option “hetonly”) standard errors are the same in the two regressions (coefficients are exactly as for xtreg).
Is that the solution? Just say the panel is heteroskedastic and thus I need to use xtpcse?
I used a dataset from a lab experiment
xtreg dep i1 if i2==0 & i3==0
and xtreg dep i1 i2 i3
The coefficient of id remained the same but the standard error changed so there must be some kind of problem. Adding “,robust” did not help, standard errors were still (slightly) different.
When I use xtpcse for the dataset (with the option “hetonly”) standard errors are the same in the two regressions (coefficients are exactly as for xtreg).
Is that the solution? Just say the panel is heteroskedastic and thus I need to use xtpcse?
Comment