I am using PROC GLIMMIX (SAS v9.3) to fit a mixed model in which I am most interested in the relationship between the outcome and a continuous covariate. I can get various graphical displays from PROC PLM, but I am having trouble finding anyway to plot the original observations on the effectplots. This is so easy in PROC GENMOD, I can't believe there isn't a way to acheive this with a model fit in GLIMMIX.
Just use an OUTPUT statement to create a SAS data set that contains the predicted values. There are several predictions and scales (BLUP, ILINK,...) to choose from. Then you can sort by the covariate and use PROC SGPLOT to overlay the SERIES plot of the predictors on a SCATTER plot of the observations.
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.