Hi SAS users!!
I am a beginner of SAS. I am hoping someone here can help me with.
Currently I am trying to used GEE model using proc genmod for the panel data.
I want to divide data into three groups. I was able to calculate estimates, SEs, p values. but I want to to compare these groups results. (post hoc test, bonferroni ) because I found the articles to compare between groups.
I think I can use 'lsmeans' and 'adjust' however it doesn't works with repeated measures option.
How should I solve this?
Yes, it works with the REPEATED statement. For example, the following uses the GEE example in the Getting Started section of the GENMOD documentation.
proc genmod data=six;
class case city age;
model wheeze = city age smoke / dist=bin;
repeated subject=case / type=exch;
lsmeans age / diff adjust=bon;
run;
Yes, it works with the REPEATED statement. For example, the following uses the GEE example in the Getting Started section of the GENMOD documentation.
proc genmod data=six;
class case city age;
model wheeze = city age smoke / dist=bin;
repeated subject=case / type=exch;
lsmeans age / diff adjust=bon;
run;
Available on demand!
Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.
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.