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
Deleting rows with NAsDear Statalists, I would like to delete rows where are only 7 real values and the rest is NA, does a…
mata function available in different ado-filesDear all, I am trying to execute a mata function in different but related ado-files, but I don't kn…
Command to list households with multiple heads/without heads in a survey dataBelow is a extract data from a survey conducted for various households within a community, please wh…
Calculating citation half-lifeDear all, Assume that you have the following problem. You have patent citations for firms in differ…
-gsem- for dynamic multinomial logit model with random effectsDear All, I am trying to analyse, using panel data, the extent of state dependance to a previous si…
Subscribe to:
Post Comments (Atom)
0 Response to Clustered SE with SVY
Post a Comment