Hi,
I am estimating a model using:
I suspect to have heteroskedastic s.e., I think I could fix this by estimating robust s.e. by using -vce(robust) and thus solve the problem of heteroskedasticity and autocorrelation.
However, for now I only suspect it, ho can I verify this? (preferably with a test, not only a plot)
My question is, how do I test for heteroskedasticity, and also for autocorrelation, and cross-sectional dependence in -xtgee?
My DV is fractional, but just for comparison I estimated a linear model, too.
If I estimate the model by OLS, and use the -xttest3 command after, I reject the nullhypothesis of homoskedasticity. Then I have a valid reason to use -vce(robust).
I am hoping for something similar in -xtgee
Many thanks in advance!
Katharina
I am estimating a model using:
Code:
xtgee DV IV, family(bin) link(logit) corr(independent) i(panelvar) t(timevar)
However, for now I only suspect it, ho can I verify this? (preferably with a test, not only a plot)
My question is, how do I test for heteroskedasticity, and also for autocorrelation, and cross-sectional dependence in -xtgee?
My DV is fractional, but just for comparison I estimated a linear model, too.
If I estimate the model by OLS, and use the -xttest3 command after, I reject the nullhypothesis of homoskedasticity. Then I have a valid reason to use -vce(robust).
I am hoping for something similar in -xtgee
Many thanks in advance!
Katharina
Comment