Sign test
Seksyen 7, Shah Alam. Farah has timed 12 nasi lemak deliveries from the stall opposite the LRT station.
FARAH
Kedai tu cakap delivery 30 minit je, typically. But my times look slower. One of them took 58 minutes, weh!
ドン
DON!
NORMY
Senang je. Take the mean, run a t-test, siap!
SENSEI RANK
Sabar, anak muda. With 12 points and one monster outlier? The t-test assumes normality. That 58 drags the mean and inflates the variance.
キィン
KIIN
MIKEY
So we ignore how far each time is from 30, and just ask: above 30 or below 30?
スッ
SU
SENSEI RANK
Exactly. Write + for above, − for below. If the median really is 30, a + and a − are equally likely, like a fair coin. Count the plus signs and ask the binomial distribution how surprising that count is.
FARAH
Habis tu, kalau delivery tepat 30 minit?
ゴゴゴ
GOGOGO
SENSEI RANK
It tells us nothing about direction. Throw it out and reduce n. That is the sign test.
READ THE NOTES