You are here: Project Scarlet » Statistical Inference » One-Sample Z-Procedures » P-Value
Z-Procedures
Example #227: Let us test the null hypothesis that the mean height of a population is 56 cm. In symbols, this is:
H0 : μ = 56 cm
To test this hypothesis, we collect data. These data are the heights of a sample from this population. The sample values are:
46, 54, 40, 51, 44, 67, 59, 48, 44, 67, 51, 62, 43, 53, 43, 69, 47, 55, 49, 59, 58, 65, 67, 55, 47, 42, 54, 64, 60, 57, 53, 43, 53, 47, 43, 54, 58, 62, 57, 71, 58, 56, 63, 50, 37, 61, 57, 49, 56, 45, 69, 44, 60, 62, 56, 50, 54, 57, 44, 80, 49, 59, 51, 41, 61, 59, 51, 59, 64, 61, 48, 49, 45
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 σ = 9.
With this information, calculate the test statistic corresponding to the null hypothesis.
To summarize the above, the values of import are:
\( \mu_0 \) | = | 56 |
---|---|---|
\( \bar{x} \) | = | 54.3288 |
\( \sigma \) | = | 9 |
\( n \) | = | 73 |
\( z \) | = | -1.5866 |
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 p-value 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. | . | |