You will use a?contingency table
What are the steps for a chi-squared test for independence?
STEP 4: Decide whether there is evidence to reject the null hypothesis
To calculate the?p-value you would find the probability of a value being bigger than your?χ2 statistic using a?χ2 distribution with ν degrees of freedomAt a school in Paris, it is believed that favourite film genre is related to favourite subject.? 500 students were asked to indicate their favourite film genre and favourite subject from a selection and the results are indicated in the table below.
| Comedy | Action | Romance | Thriller | |
| Maths | 51 | 52 | 37 | 55 |
| Sports | 59 | 63 | 41 | 33 |
| Geography | 35 | 31 | 28 | 15 |


![]()


轉(zhuǎn)載自savemyexams

? 2025. All Rights Reserved. 滬ICP備2023009024號-1