BookmarkSubscribeRSS Feed
SAScph
Fluorite | Level 6

Hi 

Is there anyway to change the criterias for the fit diagnostic plots? the rstudent is e.g sat to 2, but i would like it to be 3.

 

1 REPLY 1
Rick_SAS
SAS Super FREQ

You didn't specify the procedure, but I assume you are talking about PROC REG.

The easiest way is to output the RStudent and Predicted values and add the reference lines where you want them:

 

proc reg data=sashelp.cars plots=none;
model MPG_City = weight engineSize;
output out=RegOut rstudent=RStudent pred=Pred;
quit;

proc sgplot data=RegOut;
scatter x=Pred y=RStudent;
refline -3 3 / axis=Y;
yaxis grid values=(-3 to 12 by 3);
xaxis grid;
run;

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 383 views
  • 0 likes
  • 2 in conversation