You are here: Project Scarlet » Statistical Inference » One-Sample T-Procedures » P-Value
T-Procedures
Example #73: Let us test the null hypothesis that the mean height of a population is 9 cm against the hypothesis that the mean is not 9 cm. In symbols, this is:
H0 : μ = 9 cm
HA : μ ≠ 9 cm
To test this hypothesis, we collect data. These data are the heights of a sample from this population. The sample values are:
12, 1, 10, 12, 14, 4, 20, 6, 19, 11, 5, 21, 5, 16, 15, 6, 10, 9, 4, 18, 16, 17, 1, 19, 5, 13, 16, 3, 3
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 \) | = | 9 |
---|---|---|
\( \bar{x} \) | = | 10.7241 |
\( s \) | = | 6.232957 |
\( n \) | = | 29 |
\( t \) | = | 1.4896 |
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. | . | |