Hi,
I am running a GEE in proc genmod and would like to customize the plot that it can automatically produce using the 'effectplot' statement. I am running a model that has two continuous predictor and I would like to plot the interaction at 1 SD above and below the mean for the moderating variable, which in my case are at the values -.76 and +.76. The syntax I am using below will produce the plot I want, but I would like to edit the font, x axis limits, etc.
proc genmod data=data;
class idx;
model y = x z x*z / dist=nb;
repeated subject=idx / type=ind covb corrw;
EFFECTPLOT slicefit (x = x sliceby = z = -.76 .76 ) / CLM;
run;
Thanks for the advice!
Thanks, Reeza. I'll check out the first option. And for the second, to be clear you mean piping the *predicted* values dataset into a data file and then create the plot using SGPLOT?
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.