DATA Step, Macro, Functions and more

How to run and set proc reg plot on University Edition?

Reply
New Contributor
Posts: 3

How to run and set proc reg plot on University Edition?

[ Edited ]

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 !

 

 

 

 

 

Super User
Posts: 23,267

Re: How to run and set proc reg plot on University Edition?

Posted in reply to lydiawawa

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 !

 

 

 

 

 


 

Ask a Question
Discussion stats
  • 1 reply
  • 88 views
  • 0 likes
  • 2 in conversation