We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create a new column in the transformed dataframes by merging with worldpop data for women aged 15-49 for the related country and same year as survey.
Create a new column in the transformed dataframes for number of women surveyed (need to extract this from the survey reports or meta-data)
Calculate new norm_weight =
Example Stata code for Kenya 2014: *Rescaling of the sampling weight to sum to the population estimate for Women 15-49
generate pop_women_15_49 = 10549000 /*UN population (world prospect) estimate of women 15-49 yrs old in Kenya in 2013 */
generate weightpop = pop_women_15_49v005/(310791000000) /* 31,079 women responded to the survey */
*Define the sample design (DHS VII) svyset [pweight=weightpop], psu(v021) strata(v022)
The text was updated successfully, but these errors were encountered:
choisy
soniwe
No branches or pull requests
Create a new column in the transformed dataframes by merging with worldpop data for women aged 15-49 for the related country and same year as survey.
Create a new column in the transformed dataframes for number of women surveyed (need to extract this from the survey reports or meta-data)
Calculate new norm_weight =
Example Stata code for Kenya 2014:
*Rescaling of the sampling weight to sum to the population estimate for Women 15-49
generate pop_women_15_49 = 10549000
/*UN population (world prospect) estimate of women 15-49 yrs old in Kenya in 2013 */
generate weightpop = pop_women_15_49v005/(310791000000)
/* 31,079 women responded to the survey */
*Define the sample design (DHS VII)
svyset [pweight=weightpop], psu(v021) strata(v022)
The text was updated successfully, but these errors were encountered: