BookmarkSubscribeRSS Feed
emaneman
Pyrite | Level 9

Dear community,

 

I want to display the results of a GLM model where an interaction between two continuous predictors emerge. I store the results and use PROC PLM with EFFECT PLOT. Syntax attached. I need to modify the range of the yaxis, though, and I cannot find a way to do it. Specifically, I need the range to be between 1 and 5. 

Any idea on how to do this?

 

Thank you!

 

 

 

 

proc glm data=stanzato3;
model forgiveness= policy|identification|forgive1 /ss3;
estimate "effect of ident at low policy"    identification 1 policy*identification -1 ;
estimate "effect of ident at hig policy"    identification 1 policy*identification  1 ;

estimate "effect of policy at low id"    policy 1 		policy*identification -1 ;
estimate "effect of policy at hig id"    policy 1 		policy*identification  1 ;

store forgi;

proc plm source=forgi;                 
effectplot slicefit(x=policy sliceby=identification=-1 1)/ clm ; 
2 REPLIES 2
PaigeMiller
Diamond | Level 26

This is a question that can be answered very easily by consulting the EFFECTPLOT documentation.

--
Paige Miller
emaneman
Pyrite | Level 9

You are so right. I had looked at it, and thought it was not there, but I was looking at a wrong link and not the official SAS documentation.

I add it here, so that it may be useful for others who are searching for the same.

Thanks @PaigeMiller

 

proc plm source=forgi;                 
effectplot slicefit(x=policy sliceby=identification=-1 1)/ clm yrange=(1,5); 

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

What is ANOVA?

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.

Discussion stats
  • 2 replies
  • 593 views
  • 0 likes
  • 2 in conversation