DATA Step, Macro, Functions and more

Proc Freq

Reply
Frequent Contributor
Frequent Contributor
Posts: 76

Proc Freq

Dear all,

 

I am trying to output all the counts into one table :

 

proc freq data = test ;

tables (A B C)*D / out = cnt ;

run;

 

But the above did not work.

 

Any solution of this ?

 

Thank you,

Ivy

 

 

Frequent Contributor
Frequent Contributor
Posts: 76

Re: Proc Freq

Just did a marco to get this.

 

 

Respected Advisor
Posts: 4,644

Re: Proc Freq

Use ODS statement instead:

 

ods output crosstabfreqs=cnt;

 

PG
Ask a Question
Discussion stats
  • 2 replies
  • 170 views
  • 0 likes
  • 2 in conversation