Two different types of injection-molding machines are used to form plastic parts. Two random samples, each of size 300, are selected. 15 defective parts are found in the sample from machine 1 and 8 defective parts are found in the sample from machine 2. Is it reasonable to assume that both machines have the same defective rate? Use α = 0.05.

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.   Â