You are here: Project Scarlet » Statistical Inference » One-Sample Z-Procedures » Test Statistic
Z-Procedures
Example #332: 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:
12, 48, 20, 27, 17, 24, 15, 17, 17, 21, 12, 20, 41, 35, 34, 43, 30, 31, 30, 34, 36, 37, 21, 25, 26, 27, 23, 15, 34, 14, 28, 25, 18, 19, 28, 29, 22, 29, 23, 35, 24, 34, 32, 13, 33, 18, 25, 20, 23, 43, 21, 42, 26, 33, 25, 29, 25, 14, 19, 38, 20, 28, 22, 38, 17, 28, 26, 24, 23, 19, 21, 24
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} \) | = | 25.9583 |
\( \sigma \) | = | 8 |
\( n \) | = | 72 |
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. | . | |