Z-Procedures

Calculating the Test Statistic

The Problem

Example #44: Let us test the null hypothesis that the mean height of a population is 4 cm. In symbols, this is:

H0 : μ = 4 cm

To test this hypothesis, we collect data. These data are the heights of a sample from this population. The sample values are:

8, -7, 4, -14, -7, 19, -4, 10, 15, 9, -2, 3, -15, -13, -9, -5, -13, -2, 17, -2, 6, -8, -2, -16, 6, -20, 10, -8, 7, 8, 13, 23, -9, -4, 23, 6, 16, 5, -3, -6, 18, 0, 6, 14, 18, 18, 10, -6, 1, 16, 10, -3, -5, 29, -2, 7, 1, -11, -11, 6, 2, -18, -7, 5, 5, 8, -7, -18, -23, 14, -5, 28, 20, 16, -9, 9, 8, -7, -10

In addition to these data, we also know that the data are generated from a Normal process (they come from a Normally distributed population) and that the standard deviation of this population is σ = 12.

With this information, calculate the test statistic corresponding to the null hypothesis.

Information given:

To summarize the above, the values of import are:

Summary statistics from the problem
\( \mu_0 \) =
\( \bar{x} \) =
\( \sigma \) =
\( n \) =

Calculate them yourself, then hover your mouse over the grey space to see if you calculated them correctly.

Your Answer

In the box below, please enter the z 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.   .