Answer:
The test statistic is
![z = -2.1](https://img.qammunity.org/2022/formulas/mathematics/college/desya89x6bd5yeoudidd06qh79lp5z499l.png)
The p-value of the test is 0.0358 > 0.01, which means that the defective rates of the two suppliers are not significant different at the 1% significance level.
Explanation:
Before testing the hypothesis, we need to understand the central limit theorem and subtraction of normal variables.
Central Limit Theorem
The Central Limit Theorem estabilishes that, for a normally distributed random variable X, with mean
and standard deviation
, the sampling distribution of the sample means with size n can be approximated to a normal distribution with mean
and standard deviation
.
For a skewed variable, the Central Limit Theorem can also be applied, as long as n is at least 30.
For a proportion p in a sample of size n, the sampling distribution of the sample proportion will be approximately normal with mean
and standard deviation
![s = \sqrt{(p(1-p))/(n)}](https://img.qammunity.org/2022/formulas/mathematics/college/21siyq2l0d9z8pcii2ysmig6q1uk55fvwj.png)
Subtraction between normal variables:
When two normal variables are subtracted, the mean is the difference of the means, while the standard deviation is the square root of the sum of the variances.
A simple random sample of 400 parts from supplier 1 finds 20 defective.
This means that:
![p_1 = (20)/(400) = 0.05, s_1 = \sqrt{(0.05*0.95)/(400)} = 0.0109](https://img.qammunity.org/2022/formulas/mathematics/college/divqachul98awcpwi8d5dt309j7529bdt9.png)
A simple random sample of 200 parts from supplier 2 finds 20 defective.
This means that:
![p_2 = (20)/(200) = 0.1, s_2 = \sqrt{(0.1*0.9)/(200)} = 0.0212](https://img.qammunity.org/2022/formulas/mathematics/college/uy82k87d9e0fepti6bz1k1znrjlc5fmb0h.png)
Let p1 and p2 be the proportion of all parts from suppliers 1 and 2, respectively, that are defective. Test whether the defective rates of the parts from two suppliers are significant different at the 1% significance level.
At the null hypothesis, we test if they are equal, that is, if the subtraction of the proportions is 0. So
![H_0: p_1 - p_2 = 0](https://img.qammunity.org/2022/formulas/mathematics/college/ef6gd5p2hhrcehgg1hstte1vsf47ox4ufh.png)
At the alternate of the null hypothesis, we test if they are different, that is, if the subtraction of the proportions is different of 0. So
![H_a: p_1 - p_2 \\eq 0](https://img.qammunity.org/2022/formulas/mathematics/college/ajtbz7ef5csqdndbly8r6zvvuj963wclzn.png)
The test statistic is:
![z = (X - \mu)/(s)](https://img.qammunity.org/2022/formulas/mathematics/college/9vaue0z1d7rtqau4af5xlobjbvfs1z0zeu.png)
In which X is the sample mean,
is the value tested at the null hypothesis and s is the standard error.
0 is tested at the null hypothesis:
This means that
![\mu = 0](https://img.qammunity.org/2022/formulas/mathematics/college/l4gvtb0e1vu05t6cyump3pdgmsxdrgg2bs.png)
From the sample proportions:
![X = p_1 - p_2 = 0.05 - 0.1 = -0.05](https://img.qammunity.org/2022/formulas/mathematics/college/5131fqqwn6h0dcd0fe9q3c300yx6944dyh.png)
![s = √(s_1^2+s_2^2) = √(0.0109^2 + 0.0212^2) = 0.0238](https://img.qammunity.org/2022/formulas/mathematics/college/l942pdo8gac7xizhg8gksp8hfiyhc0lir4.png)
Value of the test statistic:
![z = (X - \mu)/(s)](https://img.qammunity.org/2022/formulas/mathematics/college/9vaue0z1d7rtqau4af5xlobjbvfs1z0zeu.png)
![z = (-0.05 - 0)/(0.0238)](https://img.qammunity.org/2022/formulas/mathematics/college/gg76vziodleeckvt9819xi6tgpxi9u4dej.png)
![z = -2.1](https://img.qammunity.org/2022/formulas/mathematics/college/desya89x6bd5yeoudidd06qh79lp5z499l.png)
P-value of the test and decision:
The p-value of the test is the probability that the sample proportion differs from 0 by at least 0.05, that is, P(|z| < 2.1), which is 2 multiplied by the p-value of Z = -2.1.
Z = -2.1 has a p-value of 0.0179
2*0.0179 = 0.0358.
The p-value of the test is 0.0358 > 0.01, which means that the defective rates of the two suppliers are not significant different at the 1% significance level.