Debates about which of two famous Korean TV drama is better circulated to social media; Descendants of the Sun and Love in Moonlight. A curious researcher thinks that gender is associated to a person's preference between the two shows. He asked some people who watched both which one is better. The gathered information is shown below
Gender | Descendants of the Sun | Love in Moonlight |
Male | 96 | 149 |
Female | 78 | 121 |
Question: Test for the independence of gender and TV series preference at 5% level of significance.
Ans:
Descendants of Sun | Love in Moonlight | Total | |
Male | 96 | 149 | 245 |
Female | 78 | 121 | 199 |
Total | 174 | 270 | 444 |
Expected(fe) | |||
Descendants of Sun | Love in Moonlight | Total | |
Male | 96.01 | 148.99 | 245 |
Female | 77.99 | 121.01 | 199 |
Total | 174 | 270 | 444 |
Chi square=(fo-fe)^2/fe | |||
Descendants of Sun | Love in Moonlight | Total | |
Male | 0.00 | 0.00 | 0.00 |
Female | 0.00 | 0.00 | 0.00 |
Total | 0.00 | 0.00 | 0.00 |
Test statistic:
Chi square=0.00
Critical chi square=CHIINV(0.05,1)=3.841
Fail to reject the null hypothesis and we can conclude that gender and TV series preference are independent.
Get Answers For Free
Most questions answered within 1 hours.