E = row total × column total / grand total, df = (r − 1)(c − 1)
ค่าวิกฤต (α = 0.05)
df 1: 3.841, 2: 5.991, 3: 7.815, 4: 9.488
การตัดสินใจ
ปฏิเสธ H0 ถ้า χ² > χ²crit
2โจทย์ฝึก
1.การแจกแจงปกติปานกลาง
ส่วนสูงของผู้ชายวัยผู้ใหญ่มีการแจกแจงปกติ ค่าเฉลี่ย 178 cm และส่วนเบี่ยงเบนมาตรฐาน 7 cm สัดส่วนที่อยู่ระหว่าง 172.75 และ 179.75 cm เป็นเท่าใด ตอบ P เป็นทศนิยม
Hypothesis test: the test statistic = (estimate − value under H₀)/(standard error under H₀). The p-value is the probability, assuming H₀ is true, of a statistic at least as extreme as the one observed: the area in one tail for a one-sided H₁, twice the tail area for a two-sided H₁. Reject H₀ when p ≤ α.