Median test
Two mamak stalls, two teh tarik prices. Farah surveyed prices in Shah Alam and in Subang.
FARAH
Harga median dua kawasan ni sama tak?
SENSEI RANK
Pool both samples and find the grand median. If the two medians are equal, each sample should have about half its values above it.
キィン
KIIN
MIKEY
So kita buat 2×2 table: above or not, sample 1 or sample 2.
ゴゴゴ
GOGOGO
SENSEI RANK
Yes. A and B are the counts above the grand median, C and D are the counts below. Then it becomes a chi-square test on that table.
READ THE NOTES