Skip to content

Runs Test

Tests whether the order of values is random: too few or too many runs of values above and below a cut point suggest a pattern.

  • Checking a sequence (e.g. residuals in data-entry order) for trends or alternation.
  • The order of cases is meaningful. Sort the file first if the order matters.
  • Shows the cut point (median, mean, mode or a value), the number of runs, Z and the significance. A significant result means the sequence is unlikely to be random.

The sequence of residuals did not depart from randomness (runs = 48, Z = −0.62, p = .54).

Syntax: NPAR TESTS /RUNS(MEDIAN)=resid.


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.