Fandom

Scratchpad

Proc freq

216,082pages on
this wiki
Add New Page
Discuss this page0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Simple

Generic:

 proc freq; 
   tables VAR1*VAR2;
   by VAR3;
 run;

Example:

 proc freq; 
   tables SEX*EDUCATION;
   by COMPANY;
 run;

This would produce an output of the breakdown of how man males and females (categorical variable: SEX) have what level of education (categorical variable: EDUCATION) for each company (categorical variable: COMPANY).

Also on Fandom

Random wikia