Summary Statistics for Categorical Variables

The basic statistics available for categorical variables are counts and percentages. You can also specify custom summary statistics for totals and subtotals. These custom summary statistics include measures of central tendency (such as mean and median) and dispersion (such as standard deviation) that may be suitable for some ordinal categorical variables. See the topic Custom Total Summary Statistics for Categorical Variables for more information.

Count. Number of cases in each cell of the table or number of responses for multiple response sets. If weighting is in effect, this value is the weighted count.

  • If weighting is in effect, the value is the weighted count.
  • The weighted count is the same for both global dataset weighting (Data > Weight Cases) and weighting with an effective base weight variable specified on the Options tab of the Custom Tables dialog.

Unweighted Count. Unweighted number of cases in each cell of the table. This only differs from count if weighting is in effect.

Adjusted Count. The adjusted count used in effective base weight calculations. If you do not use an effective base weight variable (Options tab), the adjusted count is the same as the count.

Column percentages. Percentages within each column. The percentages in each column of a subtable (for simple percentages) sum to 100%. Column percentages are typically useful only if you have a categorical row variable.

Row percentages. Percentages within each row. The percentages in each row of a subtable (for simple percentages) sum to 100%. Row percentages are typically useful only if you have a categorical column variable.

Layer Row and Layer Column percentages. Row or column percentages (for simple percentages) sum to 100% across all subtables in a nested table. If the table contains layers, row or column percentages sum to 100% across all nested subtables in each layer.

Layer percentages. Percentages within each layer. For simple percentages, cell percentages within the currently visible layer sum to 100%. If you do not have any layer variables, this is equivalent to table percentages.

Table percentages. Percentages for each cell are based on the entire table. All cell percentages are based on the same total number of cases and sum to 100% (for simple percentages) over the entire table.

Subtable percentages. Percentages in each cell are based on the subtable. All cell percentages in the subtable are based the same total number of cases and sum to 100% within the subtable. In nested tables, the variable that precedes the innermost nesting level defines subtables. For example, in a table of Marital status within Gender within Age category, Gender defines subtables.

Percentages are affected by the base (denominator) used to calculate them, and there are a number of options for determining the base. See the topic Percentage Base for more information.

Confidence Intervals

  • Lower and upper confidence limits are available for counts, percentages, mean, median, percentiles, and sum.
  • The text string "&[Confidence Level]" in the label includes the confidence level in the column label in the table.
  • Standard error is available for counts, percentages, mean, and sum.
  • Confidence intervals and standard error are not available for multiple response sets.
Level
The confidence level for confidence intervals, expressed as a percentage. The value must be greater than 0 and less than 100.

Multiple Response Sets

Multiple response sets can have percentages based on cases, responses, or counts. See the topic Summary Statistics for Multiple Response Sets for more information.

Stacked Tables

For percentage calculations, each table section defined by a stacking variable is treated as a separate table. Layer Row, Layer Column, and Table percentages sum to 100% (for simple percentages) within each stacked table section. The percentage base for different percentage calculations is based on the cases in each stacked table section.