One-sample runs test
Badminton hall. Farah is writing down who enters: F for female, M for male.
FARAH
F F F M F F M M M F F F F F F M. Nampak random tak?
MIKEY
Run tu stretch huruf yang sama. FFF satu run, then M, then FF…
SENSEI RANK
Count the total runs, r. Too few runs means clustering, like people arriving in groups. Too many means alternation, like couples walking in together.
ドン
DON!
NORMY
So both tails matter. Dua-dua hujung.
ゴゴゴ
GOGOGO
SENSEI RANK
For a two-sided test, yes. Table A.5 gives the lower and upper critical values for n₁ and n₂.
READ THE NOTES