Answer:
a) The p-value of the test is 0.2076 > 0.05, which means that the sample indicates that the resistors are conforming.
b) The 95% confidence interval for the average resistance is (0.147, 0.153). 0.152 is part of the confidence interval, which means that as the test statistic in item a), it indicates that the resistors are conforming.
Explanation:
Question a:
The resistors produced by a manufacturer are required to have an average resistance of 0.150 ohms.
At the null hypothesis, we test if this is the average resistance, that is:
We are interested in testing the hypothesis that the resistors conform to the specifications.
At the alternative hypothesis, we test if it is not conforming, that is, the mean is different of 0.15, so:
The test statistic is:
In which X is the sample mean,
is the value tested at the null hypothesis,
is the standard deviation and n is the size of the sample.
0.15 is tested at the null hypothesis:
This means that
Sample mean of 0.152, sample of 10, population standard deviation of 0.005.
This means that
Value of the test statistic:
P-value of the test and decision:
The p-value of the test is the probability of the sample mean differing from 0.15 by at least 0.152 - 0.15 = 0.002, which is P(|z| > 1.26), given by two multiplied by the p-value of z = -1.26.
Looking at the z-table, z = -1.26 has a p-value of 0.1038.
2*0.1038 = 0.2076
The p-value of the test is 0.2076 > 0.05, which means that the sample indicates that the resistors are conforming.
Question b:
We have to find our
level, that is the subtraction of 1 by the confidence interval divided by 2. So:
Now, we have to find z in the Z-table as such z has a p-value of
.
That is z with a p-value of
, so Z = 1.96.
Now, find the margin of error M as such
In which
is the standard deviation of the population and n is the size of the sample.
The lower end of the interval is the sample mean subtracted by M. So it is 0.15 - 0.003 = 0.147.
The upper end of the interval is the sample mean added to M. So it is 0.15 + 0.003 = 0.153.
The 95% confidence interval for the average resistance is (0.147, 0.153). 0.152 is part of the confidence interval, which means that as the test statistic in item a), it indicates that the resistors are conforming.