BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
alutz001
Calcite | Level 5

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..

1 ACCEPTED SOLUTION

Accepted Solutions
RW9
Diamond | Level 26 RW9
Diamond | Level 26

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

2 REPLIES 2
RW9
Diamond | Level 26 RW9
Diamond | Level 26

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;

alutz001
Calcite | Level 5

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!

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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