Skip to content

Chi-Square Test (one sample)

Tests whether the observed category frequencies of one variable match expected proportions (equal by default, or values you give).

  • A single categorical variable, e.g. “are the four regions equally represented?” or “do responses match the census split?”.
  • Independent observations, each in exactly one category.
  • Expected counts of at least 5 in most categories (no more than 20% below 5, none below 1). Otherwise merge categories.
  • Frequencies table: observed N, expected N and the residual for each category.
  • Test Statistics: chi-square, df (categories − 1) and asymptotic significance. A small p means the distribution differs from the expected one.

Regions were not equally represented, χ²(3, N = 500) = 41.6, p < .001.

Syntax: NPAR TESTS /CHISQUARE=region /EXPECTED=EQUAL.


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.