Nest the Class Variables
Overview
So far, all we have
done is added additional "tables" to the bottom of our first
table. We used the space operator between each of the row variables
to produce concatenated tables.
By using a series of
row variables, we could explore a variety of relationships between
the variables. In the customer satisfaction table, we could see how
satisfaction varies by gender, and we could see how satisfaction varies
by country, but we could not see how gender and country interacted.
And in the income table, we could see how income varied by education
and by gender, but not how the two variables interact to affect income.
But we can learn even more from our data using PROC TABULATE. The power of PROC TABULATE comes from ...
Get PROC TABULATE by Example, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.