Skip to Main Content
PROC TABULATE by Example, Second Edition
book

PROC TABULATE by Example, Second Edition

by Lauren Haworth Lake, Julie McKnight
May 2015
Intermediate to advanced content levelIntermediate to advanced
348 pages
11h 31m
English
SAS Institute
Content preview from PROC TABULATE by Example, Second Edition

Display Variable Categories That Have Missing Data

What happens when you build a table to show data for a variable that has three different possible values (for example, 'A', 'B', and 'C'), but in your data set, you end up with records for only two ('A' and 'B')? This situation often comes up when you are dealing with survey data. A question had three valid responses, but the respondents only chose two of the three answers. It would be nice if the PROC TABULATE table would show all three choices, even though one was never chosen.
You cannot do this with the MISSING option. That option shows only that you have records in the data set where there is missing data. In this case we are not missing individual values, we are missing records. There ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

SAS 9.4 Language Reference, 6th Edition

SAS 9.4 Language Reference, 6th Edition

SAS Institute

Publisher Resources

ISBN: 9781607649908