You are here: Project Scarlet » Statistical Inference » One-Sample Z-Procedures » Test Statistic
Z-Procedures
Example #408: Let us test the null hypothesis that the mean height of a population is 28 cm. In symbols, this is:
H0 : μ = 28 cm
To test this hypothesis, we collect data. These data are the heights of a sample from this population. The sample values are:
33, 32, 24, 30, 27, 21, 25, 43, 30, 30, 36, 20, 25, 27, 25, 33, 45, 36, 27, 35, 22, 25, 31, 36, 29, 22, 40, 46, 8, 23, 26, 30, 32, 26, 39, 16, 32, 32, 21, 22, 13, 19, 29, 27, 42, 32, 21, 28, 35, 46, 39, 26, 29, 24, 21, 30, 25, 26, 30, 27, 39, 31, 13, 26, 22, 25, 27, 37, 31, 31, 29, 33, 36, 31, 39, 25, 28, 25, 38, 39, 42, 30, 27, 32
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 σ = 8.
With this information, calculate the test statistic corresponding to the null hypothesis.
To summarize the above, the values of import are:
\( \mu_0 \) | = | 28 |
---|---|---|
\( \bar{x} \) | = | 29.369 |
\( \sigma \) | = | 8 |
\( n \) | = | 84 |
Calculate them yourself, then hover your mouse over the grey space to see if you calculated them correctly.
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.
Show Formula
Show Solution
Show the R Code
Show the Excel Code
© Ole J. Forsberg, Ph.D. 2025. All rights reserved. | . | |