I'm wondering how to create an interaction plot with a multivariable linear regression (using proc glm), but have so far come up empty. This is the code that I am using and I just want to create the interaction plot to be able to more easily interpret the interaction. I know that I could also stratify, but would prefer to visualize it this way first.
proc glm data=transpose_reg plots=(diagnostics residuals); class lone; by var_name; model reg_var = lone age gender global lone*global / ss3; means lone; run;
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.