Setting the Data for Survey Analysis-Stata [message #27035] |
Tue, 13 June 2023 07:09 |
dnameispaone
Messages: 21 Registered: February 2019
|
Member |
|
|
Hi There,
I am trying to replicate the NFHS-5 tables related to Family Planning Indicators.
I using the following command to set my data for survey analysis
gen weight = v005/1000000
gen psu = v021
gen strata = v023
svyset psu [pw = weight], singleunit(certainty) strata(strata) vce(linearized)
svy, subpop (curr_married): tab ster, per missing ci format (%10.2f)
svy, subpop (ever_marry): tab ster, per missing ci format (%10.2f)
Are the above commands correct? Particularly the svyset command?
Because my results are not matching those given in the NFHS-5 report.
|
|
|