SVYSET [message #30186] |
Thu, 10 October 2024 04:03 |
Kayemba
Messages: 2 Registered: October 2024
|
Member |
|
|
Hello DHS users,
I need help. When I run my Multivariable model, I get the error message "Note: Missing standard errors because of stratum with single sampling unit." I suspected it was because of how I declared the dataset Survey design to STATA. I am using the Kenya Dataset for 2022. Below are the three different options I used to declare the survey design but none of them seemed to resolve the error. What can I do different? Thank you
Option 1
gen wt=v005/1000000 //generating the weighting variable
egen strata=group(v024 v025) //generating the stratifying variable
svyset [pw=wt], psu(v001) strata(strata) //declaring the survey design
Option 2
gen wt=v005/1000000 //generating the weighting variable
egen strata=group(v024 v025) //generating the stratifying variable
svyset [pw=wt], psu(v021) strata(strata) //declaring the survey design
Option 3
gen wt=v005/1000000 //generating the weighting variable
svyset [pw=wt], psu(v021) strata(v023) //declaring the survey design
Kayemba
|
|
|
|
|