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

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.

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
  • 2 replies
  • 815 views
  • 0 likes
  • 2 in conversation