Dear Stata users,
I am using a survey dataset, which I declare as survey data
I would like to run a fixed effects model, but xtreg is not supported by svy. In addition, my weights change through time so I cannot simply add pweights to xtreg. I also have a large number of panels, so a normal regression with individual level dummies is not feasible.
For now, this is the best approximation I've found:
However, my standard errors are unexpectedly large, which may be due to the fact that I am not accounting for strata. This is an aspect of svyset that I don't really understand, even after reading the help files.
Is there a way that I can build upon the areg specification in order to take strata into account, and best approximate a theoretical "svy: xtreg , fe" command?
Any information would be greatly appreciated.
Thank you in advance,
Jack
I am using a survey dataset, which I declare as survey data
Code:
svyset clusterID [pweight=pw], strata(strataID) singleunit(centered)
For now, this is the best approximation I've found:
Code:
areg y x [pweight=pw], absorb(panelID) vce(cluster clusterID)
Is there a way that I can build upon the areg specification in order to take strata into account, and best approximate a theoretical "svy: xtreg , fe" command?
Any information would be greatly appreciated.
Thank you in advance,
Jack
Comment