Hello everyone:
I understand that when using Proc GLM in 9.3, you can use ods graphics on to create a default interaction graph.
I am using the following simple code to run an interaction between gender and BMI
odsgraphics on;
proc GLM data=work.BMI;
class FEMALE CIT_RACE MARSTAT EDUCATS WORKING;
title'Model 4: OLR Prediciting Positive Mental Health';
title2'Interatcion BMI*FEMALE';
model POSMEN = BMI FEMALE H001 CIT_RACE MARSTAT LOGINC EDUCATS WORKING CHILDREN
BMI*FEMALE / SOLUTION;
RUN;QUIT; ods graphics off;
when I run this I get all the standard output in ODS format (set to a browser) but I do not get a graph. Any assistance greatly appreciated. Thanks!
the interaction plot produced by default when you have a two-way analysis of variance model, with just two CLASS variables
I don't think your model meets the default requirements.
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!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.