Hi, I am looking for sas codes to calculate age standardized prevalence. Data: cross sectional data. I have calculated the prevalence of body mass index (four categories) and about 10 other categorical variables like the BMI (alcohol use, smoking etc.) by sex (male and female). I used proc frequency and chi-square test to compare prevalence of BMI and the differences of each variable by sex. However, now I have been asked to do a age standardized prevalence and compare differences by sex. I can calculate the age adjusted prevalence by hand using the population standard age structure (census 2000 US population) but don't know how to do it in sas. I found an article https://www.cdc.gov/nchs/tutorials/NHANES/NHANESAnalyses/AgeStandardization/Task1b_SAS92.htm but it was not helpful. I appreciate your help. Thank you Best regards, Akemi
... View more