Answer:
The p-value for the one-sided Hypothesis test described in this example is 0.3121.
Explanation:
Test the hypothesis that more than 50% of people plan on voting for the levy.
At the null hypothesis, we test that the proportion is 50%, that is:
![H_0: p = 0.5](https://img.qammunity.org/2022/formulas/mathematics/college/p07mefzmvzx5eyxn9i2vxyftqvruye2wm9.png)
At the alternate hypothesis, we test if this proportion is above 50%, that is:
![H_a: p > 0.5](https://img.qammunity.org/2022/formulas/mathematics/college/47isdftarbgdmndo78varxcg4fbzyqxpeg.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.5 is tested at the null hypothesis:
This means that
![\mu = 0.5, \sigma = √(0.5*0.5) = 0.5](https://img.qammunity.org/2022/formulas/mathematics/college/3t0vijjfir1hzuchk5o8ta7193wyudfqnn.png)
Of these 150 respondents, 78 people say they plan on voting for the levy.
This means that
![n = 150, X = (78)/(150) = 0.52](https://img.qammunity.org/2022/formulas/mathematics/college/jq1eyyn3tbydzrbkz4bzav68o0ksinzha7.png)
Value of the test statistic:
![z = (X - \mu)/((\sigma)/(√(n)))](https://img.qammunity.org/2022/formulas/mathematics/college/59im90558cjdobm60unnw2lrn6ewzh3ena.png)
![z = (0.52 - 0.5)/((0.5)/(√(150)))](https://img.qammunity.org/2022/formulas/mathematics/college/o1gzl9oi26mfjmvppacdgexqyh6tcd1o9o.png)
![z = 0.49](https://img.qammunity.org/2022/formulas/mathematics/college/2gkarbb75971ot8b5cywthtvrrb7tumz2f.png)
Pvalue of the test:
The pvalue of the test is the probability of finding a proportion above 0.52, which is 1 subtracted by the pvalue of z = 0.49.
Looking at the z-table, z = 0.49 has a pvalue of 0.6879.
1 - 0.6879 = 0.3121
The p-value for the one-sided Hypothesis test described in this example is 0.3121.