Processing math: 100%
 

Z-Procedures

Calculating the Test Statistic

The Problem

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

H0 : μ = 45 cm

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

47, 51, 47, 51, 40, 50, 43, 46, 51, 53, 38, 35, 51, 50, 55, 50, 47, 51, 48, 45, 37, 42, 46, 47, 54, 48, 44, 52, 54, 39, 49, 52, 48, 50, 44, 47, 43, 49, 45, 52, 47, 49, 48, 41, 46, 50, 48, 45, 51, 49, 45, 43, 41, 49, 41, 44, 47, 47, 46, 52, 55, 41, 41, 53, 53, 46, 48, 40, 42, 51, 43, 43, 42

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 σ = 5.

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
μ0 =
ˉx =
σ =
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. 2025. All rights reserved.   .