Answer:
The p-value of the test is 0.166 > 0.05, which means that there is not sufficient evidence at the 0.05 significance level to conclude that the bags contain more than 23.6 ounces.
Explanation:
A company distributes candies in bags labeled 23.6 ounces. Test if the mean is more than this:
At the null hypothesis, we test if the mean is of 23.6, that is:
![H_0: \mu = 23.6](https://img.qammunity.org/2022/formulas/mathematics/high-school/fkakw326me15sgll61n4dci0tvtlf71gxf.png)
At the alternative hypothesis, we test if the mean is of more than 23.6, that is:
![H_1: \mu > 23.6](https://img.qammunity.org/2022/formulas/mathematics/high-school/oygfzfxknj7nyhqzwl8lwbiayjgw0n5yln.png)
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.
23.6 is tested at the null hypothesis:
This means that
![\mu = 23.6](https://img.qammunity.org/2022/formulas/mathematics/high-school/bngu64jziuahfc7eyz75l1fp54etjjuqfr.png)
The local bureau of weights and Measures randomly selects 60 bags of candies and obtain a sample mean of 24 ounces. Assuming that the standard deviation is 3.2.
This means that
![n = 60, X = 24, \sigma = 3.2](https://img.qammunity.org/2022/formulas/mathematics/high-school/3k43x6yaal741qi8mgxb2me5fvx1oemxg0.png)
Value of the test statistic:
![z = (X - \mu)/((\sigma)/(√(n)))](https://img.qammunity.org/2022/formulas/mathematics/college/59im90558cjdobm60unnw2lrn6ewzh3ena.png)
![z = (24 - 23.6)/((3.2)/(√(60)))](https://img.qammunity.org/2022/formulas/mathematics/high-school/87llvorptwidmupc7f197vqptxomrzat5i.png)
![z = 0.97](https://img.qammunity.org/2022/formulas/mathematics/high-school/tmxnap8f75yhv8ayfirslwm70kc2fg1kyl.png)
P-value of the test and decision:
The p-value of the test is the probability of finding a sample mean above 24, which is 1 subtracted by the p-value of z = 0.97.
Looking at the z-table, z = 0.97 has a p-value of 0.834.
1 - 0.834 = 0.166
The p-value of the test is 0.166 > 0.05, which means that there is not sufficient evidence at the 0.05 significance level to conclude that the bags contain more than 23.6 ounces.