Dear all,
I am using a longitudinal survey with a complex design. Thus, I am using svy command.
- Before starting to perform my estimates with svy, I used to estimate my model as follows:
logit y x1 x2 [pw=weight], cluster(pid)
where pid= personal identifier of the individuals of my sample.
- Now, when I consider the stratification, I set my dataset with svyset in the following way:
svyset psu [pweight=xweight_all], strata(strata) singleunit(scaled)
where psu=the geographical stratum
- and I run my model under the svy prefix:
svy: logit y x1 x2, cluster(pid)
- However, Stata does not allow clustered standard errors. It does not even support xtlogit, which would have been an alternative.
Have you any idea of how to implement clustered standard errors and consider the survey design (other specifications,
avoid svy,...).
Thank you and best,
Lydia
Related Posts with Clustered SE with SVY
Numbers cannot be correctly converted to strings by tostring commandAny help would be appreciated. I had a serious problem that numbers cannot be correctly converted to…
Replace a value of multiple observations for one variableDear all, I have a variable name "village", and wanted to replace the name of village in observation…
Estimating slope at different points of intervalGood morning, I allow myself to ask for help once again with some methodology. I am doing research t…
lowess with confidence intervalsDear Stata users, I am wondering is it possible to graph the lowess smoothing function with confide…
How to know the impacts of other variables on the DID estimate?I have searched around but didn't have any luck. I am trying to estimate and then compare the DID es…
Subscribe to:
Post Comments (Atom)
0 Response to Clustered SE with SVY
Post a Comment