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

Hi,

 

I am producing a series of tables using PROC SURVEYMEANS and would like to suppress 3 tables that, by default, are part of the output namely: 

Data Summary

Variance Estimation

Statistics

How can this be done?

If not possible, could you suggest a way to remove them?

Thanks in advance for your help.

Erik 

1 ACCEPTED SOLUTION

Accepted Solutions
ballardw
Super User

Use ODS SELECT <list of desired tables>; to keep specific ones

or

ODS EXCLUDE <list of unwanted tables>;

prior to the Proc statement.

 

I think you want:

ods exclude statistics summary varianceestimation;

note that the table names are one word, no punctuation. Do not assume the name is always that close to the title in the output.

 

If you are not sure of the names of the tables you can look up the actual table names in the Details section of the online help for the procedure or use ODS Trace on/off ; before and after the procedure one time to display the names of all the output tables generated then place them on the desired ODS Select/ exclude;

View solution in original post

3 REPLIES 3
ballardw
Super User

Use ODS SELECT <list of desired tables>; to keep specific ones

or

ODS EXCLUDE <list of unwanted tables>;

prior to the Proc statement.

 

I think you want:

ods exclude statistics summary varianceestimation;

note that the table names are one word, no punctuation. Do not assume the name is always that close to the title in the output.

 

If you are not sure of the names of the tables you can look up the actual table names in the Details section of the online help for the procedure or use ODS Trace on/off ; before and after the procedure one time to display the names of all the output tables generated then place them on the desired ODS Select/ exclude;

icipeb
Fluorite | Level 6

Amazing!

 

Thank you so much for your help!

 

Erik

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!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 579 views
  • 0 likes
  • 3 in conversation