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
Changing a variable by a factor of 1000Hi, I have a float variable of birth weight in grams but there are approximately 250 entries which h…
Regressing panel data returns "repeated time values within panel"Hi somebody there. I am new to start and I am trying to regress panel data from a huge cohort that f…
Panel Fixed Effect, Clustering Standard Error (Panels are not nested within clusters)Hi there, First off, thank you for taking your time to read through my question. I have a panel dat…
Correlation and regressionHello, I have an assignment due next wednesday and I was wondering if I could please get some help …
rerun the code to count TFP and error continues to emerge as saying missing values in cluster variable __000002 not allowedHi, I am using almost the same code to count TFP, but it continues to saying" missing values in clus…
Subscribe to:
Post Comments (Atom)
0 Response to Clustered SE with SVY
Post a Comment