You are here: Project Scarlet » Statistical Inference » Two-Sample T-Procedures » P-Value
T-Procedures
Example #70: Let us test whether the mean height of population 1 is 1 more than that of population 2. In symbols, this is:
H0 : μ1 − μ2 = 1
HA : μ1 − μ2 ≠ 1
To test this hypothesis, we collect data. The data from population 1 are:
35, 44, 46, 40, 26, 36, 38, 44, 31, 43, 38, 24, 42, 45, 35, 42, 37
The data from population 2 are:
14, 33, 44, 20, 48, 41, 45, 35, 19, 26, 42, 27, 37, 24, 48, 41, 62
In addition to these data, we also know one important thing: The data are generated from independent Normal processes; that is, the data in each sample come from independent Normal distributions. With this information, calculate the test statistic corresponding to the null hypothesis. Use the pooled variance.
To summarize the above, the values of import are:
\( \mu_d \) | = | 1 |
---|---|---|
\( \bar{x}_1 \) | = | 38 |
\( \bar{x}_2 \) | = | 35.6471 |
\( n_1 \) | = | 17 |
\( n_2 \) | = | 17 |
\( s_1 \) | = | 6.412878 |
\( s_2 \) | = | 12.643878 |
\( s_p \) | = | 10.024785 |
\( t \) | = | 0.3935 |
For assistance on calculating the pooled variance or the test statistic, see the tutorial for the Two-Sample T-Procedure Test Statistic. 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 value of 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. | . | |