Skip to content

Custom Tables

Presentation-quality tables built by dragging variables to rows, columns and layers: nest (>) and stack (+) variables, add totals, subtotals and computed categories, show several statistics per cell, include multiple response sets, and compare columns with significance tests.

  • To build one publication table instead of many separate Frequencies, Crosstabs and Means outputs.
  • To show counts and percentages for categorical variables and means, medians or other statistics for scale variables in the same table.
  • To summarize multiple response questions (“select all that apply”) next to ordinary variables.
  • To mark which columns differ (column proportions or column means tests) with APA-style subscripts.
  • Percentages are descriptive and need no assumptions. Column tests assume independent observations; a case should fall in only one column category (multiple response sets are excluded from tests unless you ask for them with INCLUDEMRSETS=YES).
  • Column proportions (z test) need reasonably large column bases; categories with a proportion of 0 or 1 are not tested.
  • Column means (t test) assume roughly normal data and equal variances; the pooled variance uses all tested columns by default.
  • Chi-square needs expected counts of at least 5 in most cells (a footnote warns otherwise).
  • Many comparisons inflate false positives: keep the Bonferroni (default) or Benjamini-Hochberg adjustment.
  • Row headers show the nesting path (e.g. Gender: Female › Age group); the innermost category is the row label. Layers appear as separate row blocks.
  • Column N % sums to 100 within each column of a subtable; Row N % within each row; Table N % over the whole table. For multiple response sets the base is the number of respondents, so category percentages can add to more than 100.
  • Totals cover every category included in the table; subtotals cover the categories above them; computed categories apply their formula to the statistic (e.g. a difference of two percentages).
  • APA subscripts: within a row of a subtable, cells that do not share a letter differ significantly. With the separate-table style, each cell lists the letters of the columns it is significantly larger than.

Present the table itself, with a note explaining percentages and tests: “Values in the same row not sharing the same subscript differ at p < .05 (two-sided z tests, Bonferroni-adjusted).” In text: 62.4% of women and 48.1% of men agreed, a significant difference in column proportions (p < .05).

Syntax: CTABLES /TABLE agegroup > region [COUNT, COLPCT.COUNT PCT5.1] BY gender /CATEGORIES VARIABLES=region TOTAL=YES /COMPARETEST TYPE=PROP.


This page comes from OrcStat’s built-in help (the same text as in the app’s Help panel). To suggest a change, open an issue.