Skip to main content

วิธีการคำนวณ Chi-Square Test

learn.whatIsHeading

The chi-square (χ²) test compares observed counts to expected counts to determine whether a categorical distribution differs from what is expected. Common uses: genetics ratios, goodness of fit, independence testing.

คำแนะนำทีละขั้นตอน

  1. 1χ² = Σ (O − E)² / E
  2. 2O = observed · E = expected
  3. 3df = categories − 1 (goodness of fit)
  4. 4Large χ² → observed differs significantly from expected

ตัวอย่างที่มีคำตอบ

อินพุต
Observed: 50, 30, 20 · Expected: 40, 35, 25
ผลลัพธ์
χ² = 5.05 · df=2 · critical value 5.99 at p<0.05
χ² < critical → fail to reject H₀

พร้อมที่จะคำนวณแล้วหรือยัง? ลองใช้เครื่องคิดเลข Chi-Square Test ฟรี

ลองด้วยตัวคุณเอง→

การตั้งค่า