01-18-2016 05:37 AM - last edited on 01-18-2016 08:36 AM by ChrisHemedinger
Besides providing frequency, percentage , cumulative frequency and cumulative percentage - what is the practical application or where is proc freq used.
Please do feel free to provide examples of its usage.
01-18-2016 05:56 AM
Sorry not sure what the question is (was really tempted to put a bleep in there)? Look at the SAS documentation for what a procedure is used for, what its parameters and outputs are etc. Each procedure is designed with a purpose, even if it may seem very similar to means/summary etc.
01-19-2016 11:07 AM
In addition is often use proc freq to:
Check skip patterns of responses in survey data or any data entry system. Example: Responses to question 10 should match numbers or response categories 3 and 4 to Question 6. Table q10*Q6; will show me right away if there is a data issue.
Proc freq is almost always the first tool I look to when doing any kind of data cleaning or just getting to know new data set.
It may provide voluminous data if there are lots of continuous variables but the syntax simplicity can't be beat:
Proc freq data=mydata; run;
I know I'm going to get lots, but I get to see values, labels if assigned, how many missing values for each variable (VERY helpful if there shouldn't be any for one or more variables). And sometimes just plain data entry stupidity ( or a system induced behavior that assigned many supposedly poor clients with monthly incomes of 83333).
Verify that I have all values of a variable considered when designing a custom format.
01-18-2016 08:38 AM