In: Statistics and Probability
. A recent drug survey showed an increase in the use of drugs and alcohol among local high school seniors as compared to the national percent. Suppose that a survey of 100 local seniors and 100 national seniors is conducted to see if the proportion of drug and alcohol use is higher locally than nationally. Locally, 65 seniors reported using drugs or alcohol within the past month, while 60 national seniors reported using them.
Ho: p1 = p2 Ha: p1 ? p2 |
2-PropZTest x1: n1: x2: n2: prop ≠ p0 < p0 > p0 Calculate |
1-PropZTest p1 ? p2 Z= P= P’1= P’2= n1= n2= |
|
Conclusion |
solution:
let sample 1 is used for drug use locally and sample no 2 is denoted for drug use nationally
number of senior who reported use of drug locally= = 65
number of senior who reported use of drug nationally = = 60
for sample 1:
, , = 65
so
for sample 2:
, = 60
value of the pooled proportion is computed as
it is a two proportion z test
b) null and alternative hypothesis:
since it is a right tailed test:
test statistics:
significance level is not provided , so we assume it to be = 0.05
critical value =
rejection region:
Z > 1.64
since , z=0.73 < , so not rejecting the null hypothesis
conclusion;
do not reject H0: there is not enough evidence to support the claim that the drug and alcohol use locally is higher than the drug and alcohol use nationally.