This question extends the hypothesis testing to analyze difference between population proportions based on 2 or more samples, and to test the hypothesis of independence in the joint responses to 2 categorical variables. Can we provide a real world example for using the Chi-square test along with expectation of the outcomes?
REAL WORLD EXAMPLE OF USING THE CHI - SQUARE TESTALONGWITH
EXPECTATION OF THE OUTCOMES:
To test the hypothesis of independence in number of accidents on
different days:
Observed Frequencies:
Day | MONDAY | TUESDAY | WEDNESDAY | THURSDAY | FRIDAY |
Number of accidents | 8 | 12 | 9 | 14 | 17 |
H0: Accidents are equally likely on any day of the week.
HA: Accidents are not equally likely on any day of the week.
On the assumption of H0, the Expected number of accidents on any day = 60/5 = 12
Let O denote the Observed Frequency and E denote Expected Frequency.
O | E | O - E | (O - E)2 |
8 | 12 | - 4 | 16 |
12 | 12 | 0 | 0 |
9 | 12 | -3 | 9 |
14 | 12 | 2 | 4 |
17 | 12 | 5 | 25 |
60 | 60 | 54 |
ndf = n - 1 = 5 - 1 = 4
From Table, criticalvalue of
Since the calculated value of is less than critical value of ,the difference is not significant. Fail to reject null hypothesis.
The accidents are equally likely to occur on any day of theweek.
Get Answers For Free
Most questions answered within 1 hours.