You are here: Project Scarlet » Statistical Inference » One-Sample T-Procedures » Test Statistic
T-Procedures
Example #35: Let us test the null hypothesis that the mean height of a population is 7 cm. In symbols, this is:
H0 : μ = 7 cm
To test this hypothesis, we collect data. These data are the heights of a sample from this population. The sample values are:
15, 0, 11, 5, 8, 0, 8, 14, 11, 10, 7, 3, 7, 11, 3, 0, 10, 7, 0, 16, 12, 9, 14, 7, -9, 10, -3, 6, 9, -10, 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:
μ0 | = | 7 |
---|---|---|
ˉx | = | 6.2581 |
s | = | 6.402956 |
n | = | 31 |
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 t 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. 2025. All rights reserved. | . | |