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?
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!
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.