I want to use SAS Proc Surveyreg to produce prevalence for 4 race groups age-standardized to a specific Census year. I've used the model I found in the NHANES tutorial for doing this using data for a single survey cycle or not controlling for survey cycle. However, in this case, I'm pooling data from 3 survey cycles, and I can't find an example to show how to control for survey cycle. NOTE: I don't want to produce age-standardized estimates for each race group for the separate survey years, just a single set of age-standardized estimates for each race group based on the pooled data but controlling for differences in survey year. Thanks. Nancy
@ngordon_kpdor wrote:
I want to use SAS Proc Surveyreg to produce prevalence for 4 race groups age-standardized to a specific Census year. I've used the model I found in the NHANES tutorial for doing this using data for a single survey cycle or not controlling for survey cycle. However, in this case, I'm pooling data from 3 survey cycles, and I can't find an example to show how to control for survey cycle. NOTE: I don't want to produce age-standardized estimates for each race group for the separate survey years, just a single set of age-standardized estimates for each race group based on the pooled data but controlling for differences in survey year. Thanks. Nancy
Controlling for which differences in the survey year? I may be confused by your phrasing.
I think what you want could be done a number of ways. One, and the easiest, would be to pick the population from the middle of the Census data cycle, which makes most sense if you are dealing with 3 consecutive years (not stated in your problem). Another would be combine the Census data for the three years, either an average rate or sum depending on how you are using the reference population.
There are some nuance that can depend on your data and the options used. For instance, has your combined survey data had the weights adjusted for combination? If not then the population estimates based on sums of weights could approximately equal three times your actual population total.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.