Hi SAS users,
I have a data set with binary repeated measure outcome.
I want to know whether the incidence of GSRSINCI6 does not change over visits. Also, I want to know the difference (p-value) of each visit compared to visit 2.
My question is whether there is a way that I can adjust the p-value for multiple between visit comparison in proc glimmix.
My code and data set have been uploaded.
Thanks.
PROC GLIMMIX DATA = GSRS;
CLASS SUBNUM VISIT (REF = '2') ;
MODEL GSRSINCI6(EVENT ='1') = VISIT/DIST= BINARY SOLUTION CHISQ ODDSRATIO ;
RANDOM _RESIDUAL_ /SUBJECT = SUBNUM TYPE = VC ;
RUN;
I guess you may want:
PROC GLIMMIX DATA = sasforum.bin;
CLASS ID VISIT (REF = '2') ;
MODEL GSRSINCI6(EVENT ='1') = VISIT/DIST= BINARY SOLUTION CHISQ ODDSRATIO ;
RANDOM _RESIDUAL_ /SUBJECT = ID TYPE = VC ;
lsmeans visit / diff=control('2') adjust=dunnett;
RUN;
Oops, I'm sorry. I guess not.
You can always adjust multiple p-values (or a subset of them) with proc multtest after exporting with ods ouitput.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.