I am using survey data that requires me to use the SVY commands. (I don't think it's relevant here, but I am using CPS data with replicate weights, using the statement:
svyset [iw=pwwgt0], sdrweight(pwwgt1-pwwgt160) vce sdr)
I am creating sums over groups. I have a household typology (single parent families, married parent families, cohabiting families, etc.) and I am calculating the total number of children (numkids) in the population within each household type. I do this with the total command:
svy:total numkids, over(typology)
This gives me the totals and the standard errors of the totals.
Now I want to calculate the percentage of children in each household type. How do I obtain the standard errors of the percentages?
Thanks for any tips!
Rhiannon
svyset [iw=pwwgt0], sdrweight(pwwgt1-pwwgt160) vce sdr)
I am creating sums over groups. I have a household typology (single parent families, married parent families, cohabiting families, etc.) and I am calculating the total number of children (numkids) in the population within each household type. I do this with the total command:
svy:total numkids, over(typology)
This gives me the totals and the standard errors of the totals.
Now I want to calculate the percentage of children in each household type. How do I obtain the standard errors of the percentages?
Thanks for any tips!
Rhiannon
Comment