Z-Procedures

Calculating the Test Statistic

The Problem

Example #335: Let us test the null hypothesis that the success rate in the population is 50%. In symbols, this is:

H0 : p = 0.5
HA : p ≠ 0.5

To test this hypothesis, we collect data. The data are a series of “Success” and “Failure” values. In this sample, the data are

“Success”, “Failure”, “Failure”, “Success”, “Success”, “Failure”, “Success”, “Success”, “Success”, “Success”, “Failure”, “Failure”, “Success”, “Success”, “Failure”, “Success”, “Failure”, “Failure”, “Success”, “Success”, “Success”, “Success”, “Failure”, “Success”, “Success”, “Success”, “Failure”, “Success”, “Failure”, “Failure”, “Success”, “Failure”, “Failure”, “Failure”, “Success”

With this information, calculate the test statistic corresponding to the null hypothesis. Use the Wald version of the test statistic.

Information given:

To summarize the above, the values of import are:

Summary statistics from the problem
\( p_0 \) =
\( x \) =
\( n \) =
\( \hat{p} \) =

Calculate these values yourself then hover your mouse over the grey spaces to see if you calculated them correctly.

Your Answer

In the box below, please enter the t test statistic for the null hypothesis and the data given above. Once you have done so, click on the “Check your answer!” button. Please round your answer to the ten-thousandths place.

Assistance

Show Formula

Show Solution

Show the R Code

Show the Excel Code

© Ole J. Forsberg, Ph.D. 2024. All rights reserved.   .