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
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
ods exclude measures;
proc freq data= ...
Thanks Paige....that worked.....
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 16. Read more here about why you should contribute and what is in it for you!
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.
Select SAS Training centers are offering in-person courses. View upcoming courses for: