search for: subpop

Displaying 2 results from an estimated 2 matches for "subpop".

Did you mean: subop
2003 Feb 19
5
Subpopulations in Complex Surveys
Hi, is there a way to analyze subpopulations (e.g. women over 50, those who answered "yes" to a particular question) in a survey using Survey package? Other packages (e.g. Stata, SUDAAN) do this with a subpopulation option to identify the subpopulation for which the analysis shoud be done. I did not see this option in th...
2012 Aug 10
1
Direct Method Age-Adjustment to Complex Survey Data
...ocal drive.. write.dta( x , "c:/temp/temp.dta" ) #######STATA/MP 11.2 COMMANDS############### use "c:\temp\temp.dta", clear svyset [w= WTMEC2YR], psu(SDMVPSU) strata(SDMVSTRA) vce(linearized) gen adult = 1 if agecat > 0 # these three commands produce the correct results svy, subpop(adult): mean HI_CHOL, stdize(agecat) stdweight(agewt) svy, subpop(adult): mean HI_CHOL, stdize(agecat) stdweight(agewt) over( race ) svy, subpop(adult): mean HI_CHOL, stdize(agecat) stdweight(agewt) over( race RIAGENDR ) [[alternative HTML version deleted]]