Help using Base SAS procedures

After re-install, proc reg does not output ANOVA table

Accepted Solution Solved
Reply
New Contributor
Posts: 2
Accepted Solution

After re-install, proc reg does not output ANOVA table

Is this an error in my re-install or is there a way to program at this time to force the ANOVA table?

 

I am relatively new to SAS and programming..


Accepted Solutions
Solution
‎02-26-2016 12:40 PM
Super User
Super User
Posts: 7,401

Re: After re-install, proc reg does not output ANOVA table

What version of SAS did you use before and what version are you now usinng (and is the code exaclty the same)?  There are always some small changes between versions.  

Have you tried putting:

ods trace on;

proc reg...;

run;

ods trace off;

 

This will print to the log/output window what objects that procedure creates - ods is the system for creating output objects since 9.x.  You can then do:

ods output <object_name>=<dataset_to_save_to>;

proc reg...;

run;

 

Now I don't have a handy example, but say your procedure creates and object named anova, then your code might look something like:

ods output anova=myanova;

proc reg...;

run;

View solution in original post


All Replies
Solution
‎02-26-2016 12:40 PM
Super User
Super User
Posts: 7,401

Re: After re-install, proc reg does not output ANOVA table

What version of SAS did you use before and what version are you now usinng (and is the code exaclty the same)?  There are always some small changes between versions.  

Have you tried putting:

ods trace on;

proc reg...;

run;

ods trace off;

 

This will print to the log/output window what objects that procedure creates - ods is the system for creating output objects since 9.x.  You can then do:

ods output <object_name>=<dataset_to_save_to>;

proc reg...;

run;

 

Now I don't have a handy example, but say your procedure creates and object named anova, then your code might look something like:

ods output anova=myanova;

proc reg...;

run;

New Contributor
Posts: 2

Re: After re-install, proc reg does not output ANOVA table

Thank you very much for your reply.  The particular model I was working on was appropriate for a proc glm so I did that in place of the regression and when I attempted a regression 10 minutes later, it worked perfectly.  Apparently not a problem on the install--maybe I wasn't writing it appropriately.  Again, thank you for your reply but it appears to be working fine now!

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

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