Answer:
Pvalue of 0.0446 < 0.05, which means that we reject the null hypothesis and accept the alternative hypothesis, that the true mean is larger than the specification.
Explanation:
The average weight of a package of rolled oats is supposed to be at most 18 ounces.
This means that the null hypothesis is:
![H_(0): \mu \leq 18](https://img.qammunity.org/2022/formulas/mathematics/college/ab5xbg8kfv8hmthd8i1qf687fv1u21fpwi.png)
Is the true mean larger than the specification?
Due to the question asked, the alternate hypothesis is:
![H_(a): \mu > 18](https://img.qammunity.org/2022/formulas/mathematics/college/jab40ekxtbpgw12r92utkeuhmhslio27hd.png)
The test statistic is:
![z = (X - \mu)/((\sigma)/(√(n)))](https://img.qammunity.org/2022/formulas/mathematics/college/59im90558cjdobm60unnw2lrn6ewzh3ena.png)
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.
18 is tested at the null hypothesis:
This means that
![\mu = 18](https://img.qammunity.org/2022/formulas/mathematics/college/k3gkt4q0kl79s4np4fp1dqfr7j2iiplxbr.png)
A sample of 18 packages shows a mean of 18.20 ounces with a sample standard deviation of 0.50 ounces.
This means that
![n = 18, X = 18.2, \sigma = 0.5](https://img.qammunity.org/2022/formulas/mathematics/college/dwe4j7yu2msd424ywd1tjeqlfen9zfkk00.png)
Value of the test statistic:
![z = (X - \mu)/((\sigma)/(√(n)))](https://img.qammunity.org/2022/formulas/mathematics/college/59im90558cjdobm60unnw2lrn6ewzh3ena.png)
![z = (18.2 - 18)/((0.5)/(√(18)))](https://img.qammunity.org/2022/formulas/mathematics/college/61bc5dgohudlrcrsgc9lw3kdqlsqnywd3w.png)
![z = 1.7](https://img.qammunity.org/2022/formulas/mathematics/college/yyqcrlin5tsa4q83671myxmjz3mckgc23p.png)
Pvalue of the test:
Probability of finding a sample mean above 18.2, which is 1 subtracted by the pvalue of z = 1.7.
Looking at the z-table, z = 1.7 has a pvalue of 0.9554.
1 - 0.9554 = 0.0446
0.0446 < 0.05, which means that we reject the null hypothesis and accept the alternative hypothesis, that the true mean is larger than the specification.