In: Statistics and Probability
The data below show sport preference and age of participant from a random sample of members of a sports club. Test if sport preference is independent of age at the 0.02 significant level.
H0: Sport preference is independent of age
Ha: Sport preference is dependent on age
18-25 | 26-30 | 31-40 | 41 and over | |
---|---|---|---|---|
Tennis | 40 | 60 | 58 | 44 |
Swimming | 59 | 76 | 50 | 66 |
Basketball | 73 | 61 | 67 | 53 |
a. Complete the table: Give all answers as decimals rounded to 4 places.
Observed Frequency |
Expected Frequency |
(O−E)2E(O-E)2E |
---|---|---|
40 | ||
60 | ||
58 | ||
44 | ||
59 | ||
76 | ||
50 | ||
66 | ||
73 | ||
61 | ||
67 | ||
53 | ||
Total |
(b) What is the chi-square test-statistic for
this data?
Test Statistic:
χ2=χ2=
(d) The p-value is...
(e) The p-value leads to a decision to...
(f) What is the final conclusion?
Given table data is as below
calculation formula for E table matrix
expected frequencies calculated by applying E - table matrix formulae
calculate chisquare test statistic using given observed frequencies, calculated expected frequencies from above
------------------------------------------------------------------ e. p value is greater than alpha value |
f. we do not have enough evidence to support the claim that sport preference is dependent on age.