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