Respuesta :
Answer:
[tex]z=\frac{0.05-0.027}{\sqrt{0.038(1-0.038)(\frac{1}{300}+\frac{1}{300})}}=1.473[/tex] Â Â
[tex]p_v =2*P(Z>1.473)= 0.141[/tex] Â Â
Comparing the p value with the significance level given [tex]\alpha=0.05[/tex] we see that [tex]p_v>\alpha[/tex] so we can conclude that we have enough evidence to FAIL to reject the null hypothesis, and we can't say that the defective rate analyzed is significantly different between the two groups. Â Â
Step-by-step explanation:
Data given and notation  Â
[tex]X_{1}=15[/tex] represent the number of defectives from machine 1
[tex]X_{2}=8[/tex] represent the number of defectives from machine 2
[tex]n_{1}=300[/tex] sample 1 selected Â
[tex]n_{2}=300[/tex] sample 2 selected Â
[tex]p_{1}=\frac{15}{300}=0.05[/tex] represent the proportion of defectives for machine 1
[tex]p_{2}=\frac{8}{300}=0.027[/tex] represent the proportion of defectives for machine 2
[tex]\hat p[/tex] represent the pooled estimate of p
z would represent the statistic (variable of interest) Â Â
[tex]p_v[/tex] represent the value for the test (variable of interest) Â
[tex]\alpha=0.05[/tex] significance level given Â
Concepts and formulas to use  Â
We need to conduct a hypothesis in order to check if is there is a difference between the two proportions of defective rates, the system of hypothesis would be: Â Â
Null hypothesis:[tex]p_{1} = p_{2}[/tex] Â Â
Alternative hypothesis:[tex]p_{1} \neq p_{2}[/tex] Â Â
We need to apply a z test to compare proportions, and 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{15+8}{300+300}=0.038[/tex] Â
z-test: Is used to compare group means. Is one of the most common tests and is used to determine whether the means of two groups are equal to each other. Â Â
Calculate the statistic Â
Replacing in formula (1) the values obtained we got this: Â Â
[tex]z=\frac{0.05-0.027}{\sqrt{0.038(1-0.038)(\frac{1}{300}+\frac{1}{300})}}=1.473[/tex] Â Â
Statistical decision Â
Since is a two sided test the p value would be: Â Â
[tex]p_v =2*P(Z>1.473)= 0.141[/tex] Â Â
Comparing the p value with the significance level given [tex]\alpha=0.05[/tex] we see that [tex]p_v>\alpha[/tex] so we can conclude that we have enough evidence to FAIL to reject the null hypothesis, and we can't say that the defective rate analyzed is significantly different between the two groups. Â Â