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 2024

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

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.

Get the $99 certification deal.jpg

 

 

Back in the Classroom!

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

View all other training opportunities.

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