In: Statistics and Probability
Is there a difference in emergency room visits before, during, and after a full moon? A study looked at the admission rate (number of patients per day) to the emergency room of a Virginia mental health clinic over a series of 12 full moons. The data are provided in the table. Is there evidence of a difference in emergency room visits before, during, and after the full moon? Assume the data is a randomly selected and independent. Also, assume that the data is normally distributed. Use a 0.05 significance level.
Before 6.4 7.1 6.5 8.6 8.1 10.4 11.5 13.8 15.4 15.7 11.7 15.8
During 5 13 14 12 6 9 13 16 25 14 14 20
After 5.8 9.2 7.9 7.7 11.0 12.9 13.5 13.1 15.8 13.3 12.8 14.5
The required calculations for analysis is given below.
before (x) | during (y) | after (z) | X^2 | Y^2 | Z^2 | |
6.4 | 5 | 5.8 | 40.96 | 25 | 33.64 | |
7.1 | 13 | 9.2 | 50.41 | 169 | 84.64 | |
6.5 | 14 | 7.9 | 42.25 | 196 | 62.41 | |
8.6 | 12 | 7.7 | 73.96 | 144 | 59.29 | |
8.1 | 6 | 11 | 65.61 | 36 | 121 | |
10.4 | 9 | 12.9 | 108.16 | 81 | 166.41 | |
11.5 | 13 | 13.5 | 132.25 | 169 | 182.25 | |
13.8 | 16 | 13.1 | 190.44 | 256 | 171.61 | |
15.4 | 25 | 15.8 | 237.16 | 625 | 249.64 | |
15.7 | 14 | 13.3 | 246.49 | 196 | 176.89 | |
11.7 | 14 | 12.8 | 136.89 | 196 | 163.84 | |
15.8 | 20 | 14.5 | 249.64 | 400 | 210.25 | |
Total | ||||||
131 | 161 | 137.5 | 1574.22 | 2493 | 1681.87 | |
pvalue=f.dist.rt(1.1738,2,33) | ||||||
0.321766 | ||||||