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

Hi....Is there a way to suppress the Statistics Table from being generated when using the Proc Freq. Thanks.

 

 

proc freq data=Want50 order=data;
weight Count;
tables Intake*Response / nocol nopct expected chisq fisher;
exact pcorr scorr;
by Question notsorted;
run;


Statistic	Value	ASE
Gamma	0.0769	0.2922
Kendall's Tau-b	0.0430	0.1636
Stuart's Tau-c	0.0478	0.1815
		
Somers' D C|R	0.0489	0.1857
Somers' D R|C	0.0379	0.1441
		
Pearson Correlation	0.0300	0.1729
Spearman Correlation	0.0455	0.1729
		
Lambda Asymmetric C|R	0.0000	0.0000
Lambda Asymmetric R|C	0.0714	0.1539
Lambda Symmetric	0.0323	0.0706
		
Uncertainty Coefficient C|R	0.0260	0.0274
Uncertainty Coefficient R|C	0.0424	0.0461
Uncertainty Coefficient Symmetric	0.0323	0.0344
1 ACCEPTED SOLUTION

Accepted Solutions
PaigeMiller
Diamond | Level 26
ods exclude measures;
proc freq data= ...
--
Paige Miller

View solution in original post

3 REPLIES 3
Reeza
Super User

Find the table name (see instructions in link below) and then use ODS EXCLUDE to not have that table displayed.

 

ods exclude tableName;
proc freq data=....
<insert rest of code>

Here's some instructions and explanations on how to capture output that is shown.
https://blogs.sas.com/content/sastraining/2017/03/31/capturing-output-from-any-procedure-with-an-ods...

 


@twildone wrote:

Hi....Is there a way to suppress the Statistics Table from being generated when using the Proc Freq. Thanks.

 

 

proc freq data=Want50 order=data;
weight Count;
tables Intake*Response / nocol nopct expected chisq fisher;
exact pcorr scorr;
by Question notsorted;
run;


Statistic	Value	ASE
Gamma	0.0769	0.2922
Kendall's Tau-b	0.0430	0.1636
Stuart's Tau-c	0.0478	0.1815
		
Somers' D C|R	0.0489	0.1857
Somers' D R|C	0.0379	0.1441
		
Pearson Correlation	0.0300	0.1729
Spearman Correlation	0.0455	0.1729
		
Lambda Asymmetric C|R	0.0000	0.0000
Lambda Asymmetric R|C	0.0714	0.1539
Lambda Symmetric	0.0323	0.0706
		
Uncertainty Coefficient C|R	0.0260	0.0274
Uncertainty Coefficient R|C	0.0424	0.0461
Uncertainty Coefficient Symmetric	0.0323	0.0344

 

PaigeMiller
Diamond | Level 26
ods exclude measures;
proc freq data= ...
--
Paige Miller
twildone
Pyrite | Level 9

Thanks Paige....that worked.....

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 3 replies
  • 1573 views
  • 2 likes
  • 3 in conversation