◀ CONTENTSSTA503 · VOL.3EP.6 · Wald–Wolfowitz runs testMISSIONS 0/2LV 10 XP
VOL.3 · EP.6 · §3.3

Wald–Wolfowitz runs test

/StatsMadeFun/sta503/vol-3/wald-wolfowitz
SENSEI RANK
So only small r is evidence against H₀. This is a one-tailed test.
Wald–Wolfowitz runs test
SENSEI RANK
SENSEI RANK
Remember runs from Chapter 2? Now use them for two samples.
MIKEY
MIKEY
Campur X and Y, sort, then tulis labels ikut order: X X Y X Y Y…
SENSEI RANK
SENSEI RANK
If both samples come from the same distribution, the labels are well mixed and there are many runs.
FARAH
FARAH
Kalau dorang beza in any way, location or spread, labels berkumpul and there are few runs.
ゴゴゴ
GOGOGO
SENSEI RANK
SENSEI RANK
So only small r is evidence against H₀. This is a one-tailed test.
READ THE NOTES

Use it when

A general test of whether two independent samples come from identical populations. Sensitive to any difference (location, dispersion, shape), but less powerful than specialised tests for a specific difference.

Assumptions

  • Two independent random samples from continuous populations.
  • Measurement at least ordinal.

Hypotheses

H₀: the two populations are identical H₁: they differ in some respect

Test statistic

Combine and sort the samples, keeping the X/Y labels. Count the runs of labels.

r = total number of runs

Decision rule

Reject H₀ if r ≤ the critical value from Table A.5 (lower tail only).

Large-sample approximation

z = [r − (2n₁n₂/N + 1)] / √{2n₁n₂(2n₁n₂ − N) / [N²(N − 1)]}

Ties between an X and a Y make the run count ambiguous. The book computes r for the orderings that give the smallest and largest r; if both lead to the same decision, you are safe.

START THE MISSIONS
MISSION 1 OF 2

Runs in the pooled sample

+30 XP
HOW TO PLAY

Work the procedure by hand on the data shown. Fill every box, then press CHECK. NEW DATA deals a fresh problem; SHOW SOLUTION gives the full working.

CLEARS WHENEvery box correct on one set of data.
Loading mission engine...

ALL MISSIONS IN THIS EPISODE