In: Statistics and Probability
We want to investigate now whether the average occupancy rate in May differs across the three regions.2.1 State the null and alternative hypotheses for the above research question.2.2 Conduct a Levene test for the homogeneity of the variances at the 10% level using the absolute deviations from the median. Make sure you state both the null and alternative hypotheses and the conclusions of your test.2.3 Test the null hypothesis in 1.1 at the 10% significance level.2.4 What can you conclude from the above test in 2.3? Explain the importance of the results in 2.2 for the procedure you performed in 2.3.
region id 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3
OR_MAY |
60 |
86 |
93 |
89 |
74 |
81 |
83 |
71 |
90 |
83 |
77 |
82 |
90 |
81 |
20 |
87 |
48 |
60 |
45 |
80 |
65 |
60 |
75 |
15 |
16 |
97 |
74 |
62 |
40 |
82 |
24 |
49 |
16 |
60 |
42 |
68 |
55 |
75 |
35 |
0 |
40 |
40 |
10 |
83 |
50 |
77 |
81 |
37 |
27 |
49 |
53 |
60 |
80 |
58 |
64 |
65 |
68 |
75 |
55 |
60 |
56 |
10 |
85 |
4 |
24 |
85 |
75 |
44 |
45 |
0 |
34 |
35 |
70 |
65 |
15 |
40 |
10 |
10 |
35 |
50 |
2 |
0 |
3 |
30 |
15 |
83 |
91 |
85 |
80 |
50 |
79 |
92 |
87 |
84 |
65 |
86 |
62 |
70 |
87 |
87 |
50 |
61 |
59 |
77 |
46 |
81 |
48 |
15 |
80 |
52 |
90 |
90 |
75 |
20 |
10 |
30 |
53 |
52 |
90 |
53 |
48 |
84 |
90 |
35 |
25 |
35 |
10 |
10 |
60 |
70 |
3 |
10 |
10 |
75 |
10 |
The Levene test for the homogeneity of the variances output is:
Since the p-value (0.688) is greater than the significance level (0.10), we cannot reject the null hypothesis.
Therefore, we can conclude that there is a homogeneity in the variances for the three groups.
The test output is:
Since the p-value (0.088) is less than the significance level (0.10), we can reject the null hypothesis.
Therefore, we can conclude that the average occupancy rate in May differs across the three regions.