Hypothesis testing
Runs test
Is a sequence random? Enter any two-symbol sequence, such as heads and tails, and the Wald–Wolfowitz test checks whether it has too few or too many runs. Need the exact critical values for small samples? See the runs test table in Resources.
Runs are shown in alternating colors.
Showing the first 120 symbols. All of them are counted.
- Symbols
- Observed runs (R)
- Expected runs
- z score
- p-value (two-tailed)
With fewer than 10 of either symbol, the normal approximation used here is rough. Use the exact table for n₁ and n₂ up to 20.