Chi-Square test
Question 1 Â Â Data havebeen collected over a period of several months on the means oftransportation used by most persons commuting to work into the cityoffice of a large business firm. The results have been listedbelow:
Means of Transportation | Bus | Train | Car | Other |
Number of all commuters | 25 | 15 | 50 | 10 |
Conduct a hypothesis test to determine if there is a significantdifference among method of getting to work for this sample. Use a =0.05.
Question 2 Influenza A is avirus which causes illness in humans and many other animal species.Once the virusfinds a host, it becomes a major concern and is fatalin some cases. A microbiologist wants to know if a person’sageaffects the severity of conditions for people who contractInfluenza A. Consider the table below and answer thequestions thatfollow.
| Outcome |
Mild conditions | Severe conditions |
Child | 114 | 167 |
Adult | 124 | 112 |
a)Â Â State the null andalternative hypotheses for this scenario.
- Using the table above; calculate the expected values (twodecimal places) for each outcome (write your answers in the table).
c)Â Â Calculate the chi-squaretest statistic and degrees of freedom for this scenario.
d)Â Â State your conclusionfor this scenario (use a significance level of 0.01).