In: Statistics and Probability
In a random sample of 35 Penn State Shenango students, 17 were attending full-time. In a random sample of 40 World Campus students, 13 were attending full-time.. Use the five-step hypothesis testing procedure given below to determine if there is evidence of a difference between the proportions of all Penn State Shenango and all Penn State World Campus students who are attending full-time.
Step 1: Check assumptions and write hypotheses
Step 2: Calculate the test statistic
̩Step 3: Determine the p-value
Step 4: Decide between the null and alternative hypotheses
Step 5: State a real world conclusion
Step 1:
The test procedure used in this context is two-proportion z-test,following are the assumptions for this test
Null and alternative hypothesis
Ho : p1 = p2 v/s H1 : p1 ≠ p2
Step 2 :
We have
p1 = 17/35 =0.4857
p2 = 13/40 = 0.325
The pooled sample proportion is given by
p = (p1 * n1 + p2 * n2) / (n1 + n2)
= (0.4857*35 + 0.325*40)/ (35 +40)
= 0.4
Standard error
SE = sqrt{ p * ( 1 - p ) * [ (1/n1) + (1/n2) ] }
= sqrt{ 0.4 * ( 1 - 0.4 ) * [ (1/35) + (1/40) ] }
=
= 0.1134
The test statistic in this case is given by
z = (p1 - p2) / SE
= (0.4857 - 0.325)/0.1134
= 1.417
Step 3 : P -value
Using the Normal Distribution Calculator or table, the probability associated with the z-score is
P-value = 0.0782
Step 4 : Since p-value is less than greater than 0.05, we are unable to reject the null hypothesis.
Hence null hypothesis is accepted.
Step 5 :
There is no evidence of a difference between the proportions of all Penn State Shenango and all Penn State World Campus students who are attending full-time.