You are here: Project Scarlet » Statistical Inference » One-Sample Z-Procedures » P-Value
Z-Procedures
Example #176: Let us test the null hypothesis that the mean height of a population is 47 cm. In symbols, this is:
H0 : μ = 47 cm
To test this hypothesis, we collect data. These data are the heights of a sample from this population. The sample values are:
52, 62, 48, 16, 38, 44, 57, 38, 18, 27, 34, 34, 48, 30, 31, 35, 52, 61, 52, 44, 71, 30, 49, 23, 52, 67, 58, 40, 54, 49, 74, 57, 49, 33, 49, 34, 44, 47, 52, 24, 30, 77, 51, 60, 57, 46, 44, 32, 31, 36, 40, 34, 81, 65, 24, 63, 21, 59, 38, 47, 53, 27, 45, 63, 59, 41, 55, 25, 28, 64, 48, 61, 44, 58, 53
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 σ = 16.
With this information, calculate the test statistic corresponding to the null hypothesis.
To summarize the above, the values of import are:
μ0 | = | 47 |
---|---|---|
ˉx | = | 45.8267 |
σ | = | 16 |
n | = | 75 |
z | = | -0.6351 |
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. 2025. All rights reserved. | . | |