Layout options

The layout options for an output table depend on the following variables:
  • The number of categorical variables
  • The designation of categorical variables into rows and columns
  • The layering of categorical variables

You can choose to arrange categorical variables into rows or columns. You can organize variables to emphasize a relationship, or you can create a more compact display for a report.

What are one-way output tables?

A one-way table displays data for one categorical variable.

Rows: Gender Count Female 35 Male 56 All 91

What are two-way output tables?

A two-way table displays data for two categorical variables.

Rows: Gender Columns: Smokes No Yes All Female 27 8 35 Male 37 19 56 All 64 27 91 Cell Contents Count

What are multi-way output tables?

A multi-way table displays data for more than three categorical variables

Rows: Gender / Smokes Columns: Activity Not Slightly Very active active active All Female No 3 20 4 27 Yes 1 6 1 8 Male No 3 22 12 37 Yes 2 13 4 19 All All 9 61 21 91 Cell Contents Count

How two-way output tables that include layering variables are arranged

Layering creates separate tables for each level of the layering variable. This example shows separate two-way tables for each level of the layering variable, Activity.

Results for Activity = Slightly active

Rows: Gender Columns: Smokes No Yes All Female 20 6 26 Male 12 4 16 All 32 10 42 Cell Contents Count

Results for Activity = Very active

Rows: Gender Columns: Smokes No Yes All Female 4 1 5 Male 3 1 4 All 7 2 9 Cell Contents Count