Hello,
I do not have SUDAAN, so I am using SAS PROC SURVEYREG to age-adjust complex survey data (BRFSS, specifically). The following is my code to age-adjust current smokers (binary, 0=non-smoker, 1=smoker) by a binary rural/urban classification using 5 age groups. (Trying to estimate the number of current smokers in rural vs urban areas).
PROC SURVEYREG DATA = smokingRU NOMCAR;
STRATA _STSTR;
CLUSTER _PSU;
WEIGHT _LLCPWTRU;
CLASS _LLCPMRU01 agegrp;
MODEL CurrentSmoker = _LLCPMRU01*agegrp/NOINT SOLUTION VADJUST=NONE CLPARM;
ESTIMATE 'Rural' _LLCPMRU01*agegrp 0.128810 0.182648 0.219077 0.299194 0.170271
0 0 0 0 0 ;
'Urban' _LLCPMRU01*agegrp 0 0 0 0 0
0.128810 0.182648 0.219077 0.299194 0.170271 ;
RUN;
The estimates I get are reasonable; however, I keep getting the following note in my log:
"NOTE: The structure of the Estimates table has changed from an earlier release of SAS."
The most recent code example I could find for this methodology used SAS 9.2. I assume there has been a change in the syntax, but when I look through the documentation, I'm not seeing where the problem is.
Any thoughts? Can anyone else see what I'm missing?
Thanks!
I believe that that message refers to the same change as occurred with PROC GENMOD as described in this note.
I believe that that message refers to the same change as occurred with PROC GENMOD as described in this note.
Proc Surveymeans in SAS has poststratification weight adjustment and you can use it for age standardization.
Please refer the following: https://support.sas.com/rnd/app/stat/examples/poststrata/poststrata.pdf
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.