Current Slide

Small screen detected. You are viewing the mobile version of SlideWiki. If you wish to edit slides you will need to use a larger device.

Chi-Square Calculation: An Example

       
 

Play chess

Not play chess

Sum (row)

 

Like science fiction

250(90)

200(360)

450

 

Not like science fiction

50(210)

1000(840)

1050

 

Sum(col.)

300

1200

1500

  • X^2 (chi-square) calculation (numbers in parenthesis are expected counts calculated based on the data distribution in the two categories)  

\[ X^{2}=\frac{(250-90)^2}{90} + \frac{(50-210)^2}{210} + \frac{(200-360)^2}{360} + \frac{(1000-840)^2} {840} = 507.93 \]

  • It shows that like_science_fiction and play_chess are correlated in the group 

Speaker notes:

Content Tools

Sources

There are currently no sources for this slide.