Answer:
The p-value of the test is 0.0207.
Explanation:
Test of the claim that more than 60% of the people following a particular diet will experience increased energy (H1: p > 0.6).
The null hypothesis is:
![H_0: p = 0.6](https://img.qammunity.org/2022/formulas/mathematics/college/tw475wi6i899csy9y7a3eukyids0iucogv.png)
The alternate hypothesis is:
![H_1: p > 0.6](https://img.qammunity.org/2022/formulas/mathematics/college/808i404h50ww4sfjidcmtwycsixf7oz9nv.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.
0.6 is tested at the null hypothesis:
This means that
![\mu = 0.6, \sigma = √(0.6*0.4)](https://img.qammunity.org/2022/formulas/mathematics/college/stnt3m5f7jpejxa4vfq8ubg38jgd7okh5g.png)
Of 100 randomly selected subjects who followed the diet, 70 noticed an increase in their energy level.
This means that
![n = 100, X = (70)/(100) = 0.7](https://img.qammunity.org/2022/formulas/mathematics/college/epuj97yni6aptzaqsokbycg4ls4j8o72vi.png)
Test statistic:
![z = (X - \mu)/((\sigma)/(√(n)))](https://img.qammunity.org/2022/formulas/mathematics/college/59im90558cjdobm60unnw2lrn6ewzh3ena.png)
![z = \frac{0.7 - 0.6}{\frac{\\sqrt{0.6*0.4}}{√(100)}}](https://img.qammunity.org/2022/formulas/mathematics/college/fmhjghs4zwdd5lvt4fssmu1hspv1gnp62q.png)
![z = 2.04](https://img.qammunity.org/2022/formulas/mathematics/college/j7echz2jbi11yi27eboi0e5ecnetn3lvnu.png)
P-value of the test:
The p-value of the test is the probability of finding a sample proportion of at least 0.7, which is 1 subtracted by the p-value of z = 2.04.
Looking at the z-table, z = 2.04 has a p-value of 0.9793
1 - 0.9793 = 0.0207
The p-value of the test is 0.0207.