You are here: Project Scarlet » Statistical Inference » One-Sample Z-Procedures » Test Statistic
Z-Procedures
Example #205: Let us test the null hypothesis that the mean height of a population is 72 cm. In symbols, this is:
H0 : μ = 72 cm
To test this hypothesis, we collect data. These data are the heights of a sample from this population. The sample values are:
77, 75, 56, 82, 87, 69, 72, 75, 69, 79, 61, 80, 70, 82, 64, 68, 90, 78, 73, 76, 69, 69, 88, 75, 69, 74, 72, 80, 72, 63, 64, 64, 70, 68, 78, 68, 80, 73, 58, 80, 77, 73, 63, 89, 70, 79, 72, 77, 72, 57, 74, 81, 77, 71, 71, 72, 59, 82, 74, 65, 79, 75, 77, 75, 68, 68, 70, 63, 68, 83, 86, 80, 61, 76, 69, 59, 75, 65, 67
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 \) | = | 72 |
---|---|---|
\( \bar{x} \) | = | 72.6076 |
\( \sigma \) | = | 8 |
\( n \) | = | 79 |
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. 2024. All rights reserved. | . | |