You are here: Project Scarlet » Statistical Inference » One-Sample T-Procedures » P-Value
T-Procedures
Example #70: Let us test the null hypothesis that the mean height of a population is 28 cm against the hypothesis that the mean is not 28 cm. In symbols, this is:
H0 : μ = 28 cm
HA : μ ≠ 28 cm
To test this hypothesis, we collect data. These data are the heights of a sample from this population. The sample values are:
34, 25, 9, 23, 16, 35, 22, 49, 56, 32, 16, 30, 36, 26, 57, 23, 27, 25, -18, 24, 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). 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} \) | = | 27.5714 |
\( s \) | = | 16.026763 |
\( n \) | = | 21 |
\( t \) | = | -0.1225 |
For assistance on calculating the test statistic, see the Two-Sample T-Procedure tutorial. You may want to calculate these values yourself then hover your mouse over the grey spaces 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. | . | |