T-Procedures

Calculating the Test Statistic

The Problem

Example #275: Let us test whether the mean height of population 1 is the same as that of population 2. In symbols, this is:

H0 : μ1 − μ2 = 0
HA : μ1 − μ2 ≠ 0

To test this hypothesis, we collect data. The data from population 1 are:

54, 44, 59, 42, 38, 59, 56, 50, 46, 53, 45, 58

The data from population 2 are:

27, 47, 56, 60, 46, 47, 89, 22, 81, 37, 42, 48, 39, 41, 46, 49, 27, 30

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.

Information given:

To summarize the above, the values of import are:

Summary statistics from the problem
\( \mu_d \) =
   
\( \bar{x}_1 \) =
\( \bar{x}_2 \) =
   
\( n_1 \) =
\( n_2 \) =
   
\( s_1 \) =
\( s_2 \) =
\( s_p \) =

Calculate these values yourself then hover your mouse over the grey spaces to see if you calculated them correctly.

Your Answer

In the box below, please enter the value of the 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.

Assistance

Show Formula

Show Solution

Show the R Code

Show the Excel Code

© Ole J. Forsberg, Ph.D. 2024. All rights reserved.   .