BookmarkSubscribeRSS Feed
lydiawawa
Lapis Lazuli | Level 10

Hi All,

I'm trying to produce the following settings of reg plot on University Edition:

 

 

proc reg data=hw3c;
  model oxygen=age runtime runpulse maxpulse / r;
  plot r.*(age runtime runpulse maxpulse);
  plot r.*p.;
  plot npp.*r.;
  plot cookd.*obs.;
run;

I know I can run the following code on UE to have all graphs, but the graphs do not have regression equation on top. 

 

 

proc reg data=hw3c plots= (all);
model oxygen=age runtime runpulse maxpulse / r;
run; 

 

 

Any help will be appreciated !

 

 

 

 

 

1 REPLY 1
Reeza
Super User

Plot statements are no longer supported in PROC REG, in SAS UE or any similar SAS/STAT (14.3) version. 

PROC SGPLOT can be used to create graphs, but it’s definitely a bit of work. 

 


@lydiawawa wrote:

Hi All,

I'm trying to produce the following settings of reg plot on University Edition:

 

 

proc reg data=hw3c;
  model oxygen=age runtime runpulse maxpulse / r;
  plot r.*(age runtime runpulse maxpulse);
  plot r.*p.;
  plot npp.*r.;
  plot cookd.*obs.;
run;

I know I can run the following code on UE to have all graphs, but the graphs do not have regression equation on top. 

 

 

proc reg data=hw3c plots= (all);
model oxygen=age runtime runpulse maxpulse / r;
run; 

 

 

Any help will be appreciated !

 

 

 

 

 


 

sas-innovate-2024.png

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.

 

Register now!

How to Concatenate Values

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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