In: Statistics and Probability
The population (in millions) and the violent crime rate (per 1000) were recorded for 10 metropolitan areas. The data are shown in the following table. Do these data provide evidence to reject the null hypothesis that ρ = 0 in favor of ρ ≠ 0 at α = .05? (Give your answers correct to three decimal places.)
Population | 10.3 | 0.6 | 4 | 6.3 | 4.4 | 6.5 | 5.4 | 1.5 | 4.6 | 3.9 |
Crime Rate | 11.1 | 7.1 | 7 | 7 | 7.4 | 8.7 | 8.7 | 8.1 | 8.8 | 9.5 |
(a) Calculate r.
(ii) Calculate the critical region.
____ (smaller value)
____(larger value)
a)
The provided data are shown in the table below
X | Y |
10.3 | 11.1 |
0.6 | 7.1 |
4 | 7 |
6.3 | 7 |
4.4 | 7.4 |
6.5 | 8.7 |
5.4 | 8.7 |
1.5 | 8.1 |
4.6 | 8.8 |
3.9 | 9.5 |
Also, the following calculations are needed to compute the correlation coefficient:
X | Y | X*Y | X2 | Y2 | |
10.3 | 11.1 | 114.33 | 106.09 | 123.21 | |
0.6 | 7.1 | 4.26 | 0.36 | 50.41 | |
4 | 7 | 28 | 16 | 49 | |
6.3 | 7 | 44.1 | 39.69 | 49 | |
4.4 | 7.4 | 32.56 | 19.36 | 54.76 | |
6.5 | 8.7 | 56.55 | 42.25 | 75.69 | |
5.4 | 8.7 | 46.98 | 29.16 | 75.69 | |
1.5 | 8.1 | 12.15 | 2.25 | 65.61 | |
4.6 | 8.8 | 40.48 | 21.16 | 77.44 | |
3.9 | 9.5 | 37.05 | 15.21 | 90.25 | |
Sum = | 47.5 | 83.4 | 416.46 | 291.53 | 711.06 |
The correlation coefficient rr is computed using the following expression:
where
In this case, based on the data provided, we get that
Therefore, based on this information, the sample correlation coefficient is computed as follows
which completes the calculation.
The following needs to be tested:
H0:ρ=0
HA:ρ̸=0
where \rhoρ corresponds to the population correlation.
The sample size is n = 10 , so then the number of degrees of freedom is df = n-2 = 10 - 2 = 8
The corresponding critical correlation value r_c for a significance level of α=0.05, for a two-tailed test is:
r_c = 0.632
Observe that in this case, the null hypothesis H0:ρ=0 is rejected if |r| > r_c = 0.632
Based on the sample correlation provided, we have that |r| = 0.635 > r_c = 0.632, from which is concluded that the null hypothesis is rejected.
(ii) Calculate the critical region.
-0.632 (smaller value)
0.632 (larger value)