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

Hi there, 

I am having an issue with a PROC ANOVA ODS OUTPUT. 

Here is my code. 

ODS TRACE ON;
ODS OUTPUT ANOVAResults= WORK.AnovaResults;
PROC ANOVA
DATA= Hypertension.Analysis
ORDER = INTERNAL;
CLASS StateCd;
MODEL AgeAtVisit = StateCd;
RUN;
QUIT;
ODS TRACE OFF;

and here is the log I am getting...

 

WARNING: Output 'ANOVAResults' was not created. Make sure that the output object name, label, or path is spelled correctly. Also,
verify that the appropriate procedure options are used to produce the requested output object. For example, verify that
the NOPRINT option is not used.
Any idea why I am not able to create "ANOVA Results"

 

1 ACCEPTED SOLUTION

Accepted Solutions
Reeza
Super User
There is no table called AnovaResults.

There is an output table called ModelAnova or OverallAnova.

Names are documented here:
https://documentation.sas.com/?cdcId=pgmsascdc&cdcVersion=9.4_3.4&docsetId=statug&docsetTarget=statu...

View solution in original post

2 REPLIES 2
Reeza
Super User
There is no table called AnovaResults.

There is an output table called ModelAnova or OverallAnova.

Names are documented here:
https://documentation.sas.com/?cdcId=pgmsascdc&cdcVersion=9.4_3.4&docsetId=statug&docsetTarget=statu...
patrickjharvey
Calcite | Level 5

Hi,

 

The problem seems to be in the ODS OUTPUT statement. Instead of writing ANOVAResults, it should be OverallANOVA. Should look similar to this:

ODS OUTPUT OverallANOVA  =	libref.datasetname

 

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 1125 views
  • 0 likes
  • 3 in conversation