Proportion Procedures

Calculating the Test Statistic

The Problem

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

H0 : p = 0.29
HA : p ≠ 0.29

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

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

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.   .