Respuesta :
Answer:
[tex]z=\frac{0.16-0.05}{\sqrt{0.129(1-0.129)(\frac{1}{500}+\frac{1}{200})}}=3.92[/tex]
Now we can calculate the p value with the following probability:
[tex]p_v =P(Z>3.92)= 0.000044[/tex]
Since the p value is a very low value we have enough evidence to reject the null hypothesis and we can conclude that the true proportion of defectives from the firt line is significantly higher than the proportion of defective sets from the second line
Step-by-step explanation:
Information given
[tex]X_{1}=80[/tex] represent the number of defectives in the sample 1
[tex]X_{2}=10[/tex] represent the number of defectives in the sample 2
[tex]n_{1}=500[/tex] sample 1 selected
[tex]n_{2}=200[/tex] sample 2 selected
[tex]p_{1}=\frac{80}{500}=0.16[/tex] represent the proportion defectives in the sample 1
[tex]p_{2}=\frac{10}{200}=0.05[/tex] represent the proportion estimated of defectives in the sample 2
[tex]\hat p[/tex] represent the pooled estimate of p
z would represent the statistic
[tex]p_v[/tex] represent the value
[tex]\alpha=0.05[/tex] significance level given
Hypothesis to test
We want to verify if he proportion of defective sets from the first line exceeds the proportion of defective sets from the second line, the system of hypothesis would be:
Null hypothesis:[tex]p_{1} \leq p_{2}[/tex]
Alternative hypothesis:[tex]p_{1} > p_{2}[/tex]
The statistic is given by:
[tex]z=\frac{p_{1}-p_{2}}{\sqrt{\hat p (1-\hat p)(\frac{1}{n_{1}}+\frac{1}{n_{2}})}}[/tex] (1)
Where [tex]\hat p=\frac{X_{1}+X_{2}}{n_{1}+n_{2}}=\frac{80+10}{500+200}=0.129[/tex]
Replacing the info given we got:
[tex]z=\frac{0.16-0.05}{\sqrt{0.129(1-0.129)(\frac{1}{500}+\frac{1}{200})}}=3.92[/tex]
Now we can calculate the p value with the following probability:
[tex]p_v =P(Z>3.92)= 0.000044[/tex]
Since the p value is a very low value we have enough evidence to reject the null hypothesis and we can conclude that the true proportion of defectives from the firt line is significantly higher than the proportion of defective sets from the second line