McNemar test
Before a road-safety talk, 60 students were asked: do you always wear a helmet? After the talk, the same 60 were asked again.
FARAH
Jawapan ya/tak, orang yang sama dua kali. Related samples with nominal data.
SENSEI RANK
Make a 2×2 table of before versus after. The students who answered the same both times tell you nothing about change.
キィン
KIIN
MIKEY
So yang tukar jawapan je yang penting. B people went yes → no, C went no → yes.
ゴゴゴ
GOGOGO
SENSEI RANK
If the talk had no effect, switching in either direction is equally likely. That gives z = (B − C)/√(B + C).
READ THE NOTES