Answer:
Step-by-step explanation:
Hello!
There was a special program funded, designed to reduce crime in 8 areas of Miami.
The number of crimes per area was recorded before and after the program was established in each area. This is an example of a paired data situation. For each are in Miami you have recorded a pair of values:
X₁: Number of crimes recorded in one of the eight areas of Miami before applying the special program.
X₂: Number of crimes recorded in one of the eight areas of Miami after applying the special program.
Area: (Before; After)
A: (14; 2)
B: (7; 7)
C; (4; 3)
D: (5; 6)
E: (17; 8)
F: (12; 13)
G: (8; 3)
H; (9; 5)
To apply a paired sample test you have to define the variable "difference":
Xd= X₁ - X₂
I'll define it as the difference between the crime rate before the program and after the program.
If the original populations have a normal distribution, we can assume that the variable defined from them will also have a normal distribution.
Xd~N(μd; σd²)
If the crime rate decreased after the special program started, you'd expect the population mean of the difference between the crime rates before and after the program started to be less than zero, symbolically μd<0
The hypotheses are:
H₀: μd≥0
H₁: μd<0
α: 0.01
To calculate the sample mean and standard deviation of the variable difference, you have to calculate the difference between each value of each pair:
A= 14 - 2= 12
B= 7 - 7= 0
C= 4 - 3= 1
D= 5 - 6= -1
E= 17 - 8= 9
F= 12 - 13= -1
G= 8 - 3= 5
H= 9 - 5= 4
∑Xdi= 12 + 0 + 1 + (-1) + 9 + (-1) + 5 + 4= 29
∑Xdi²= 12²+0²+1²+1²+9²+1²+5²4²= 269
X[bar]d= 29/8= 3.625= 3.63
This test is one-tailed to the left and so is the p-value, under a t with n-1= 8-1=7 degrees of freedom, the probability of obtaining a value as extreme as the calculated value is:
P(t₇≤-2.11)= 0.0364
The p-value is greater than the significance level, so the decision is to not reject the null hypothesis. Then at a 1% significance level, you can conclude that the special program didn't reduce the crime rate in the 8 designated areas of Miami.
I hope it helps!