To calculate the test statistic and the p-value for the given hypothesis test, we follow these steps:
-
Define the null and alternative hypotheses:
- Null hypothesis (
): - Alternative hypothesis (
): (Note: Your provided alternative hypothesis seems to state , but your question indicates that you're checking if the accuracy rate is less than 0.87, which should be . Please verify if you intended to perform a one-tailed test as described or if it should be two-tailed.)
- Null hypothesis (
-
Sample proportion: Given:
- Sample size (
) = 501 - Number of successes (
) = 421
Calculate the sample proportion (
): - Sample size (
-
Calculate the test statistic: The formula for the test statistic
for a proportion is: where is the hypothesized population proportion (0.87).Substituting the values:
First, calculate the standard error:
Now compute
:So, the test statistic is:
-
Calculate the p-value: To find the p-value for a left-tailed test with the calculated
-score, we can use standard normal tables or a calculator to find the area to the left of :From standard normal distribution tables or software:
Combining the results, we find:
- Test statistic:
- p-value:
Final answers:
Test statistic = -1.980
p-value = 0.0236