Respuesta :
Answer:
a) reject the null hypothesis p1 – p2 = 0
Step-by-step explanation:
This is a hypothesis test for the difference between proportions.
The claim is that the East Coast warehouse proportion of orders delivered in 24 hours is significantly higher than the West Coast warehouse proportion.
Then, the null and alternative hypothesis are:
[tex]H_0: \pi_1-\pi_2=0\\\\H_a:\pi_1-\pi_2> 0[/tex]
The significance level is 0.05.
The sample 1 (East Coast), of size n1=200 has a proportion of p1=0.95.
[tex]p_1=X_1/n_1=190/200=0.95[/tex]
The sample 2 (West coast), of size n2=400 has a proportion of p2=0.89.
[tex]p_2=X_2/n_2=356/400=0.89[/tex]
The difference between proportions is (p1-p2)=0.06.
[tex]p_d=p_1-p_2=0.95-0.89=0.06[/tex]
The pooled proportion, needed to calculate the standard error, is:
[tex]p=\dfrac{X_1+X_2}{n_1+n_2}=\dfrac{190+356}{200+400}=\dfrac{546}{600}=0.91[/tex]
The estimated standard error of the difference between means is computed using the formula:
[tex]s_{p1-p2}=\sqrt{\dfrac{p(1-p)}{n_1}+\dfrac{p(1-p)}{n_2}}=\sqrt{\dfrac{0.91*0.09}{200}+\dfrac{0.91*0.09}{400}}\\\\\\s_{p1-p2}=\sqrt{0.00041+0.000205}=\sqrt{0.000614}=0.025[/tex]
Then, we can calculate the z-statistic as:
[tex]z=\dfrac{p_d-(\pi_1-\pi_2)}{s_{p1-p2}}=\dfrac{0.06-0}{0.025}=\dfrac{0.06}{0.025}=2.4209[/tex]
This test is a right-tailed test, so the P-value for this test is calculated as (using a z-table):
[tex]\text{P-value}=P(z>2.4209)=0.0079[/tex]
As the P-value (0.0079) is smaller than the significance level (0.05), the effect is significant.
The null hypothesis is rejected.
There is enough evidence to support the claim that the East Coast warehouse proportion of orders delivered in 24 hours is significantly higher than the West Coast warehouse proportion.