Z-Procedures

Calculating the Test Statistic

The Problem

Example #498: 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:

53, 52, 48, 31, 47, 42, 32, 37, 44, 44, 32, 29, 55, 51, 39, 55, 41, 38, 50, 50, 53, 48, 33, 47, 32, 48, 33, 35, 44, 51, 45, 52, 53, 38, 38, 49, 66, 46, 45, 39, 44, 42, 49, 52, 41, 31, 44, 43, 45, 39, 43, 47, 40

The data from population 2 are:

46, 58, 40, 36, 46, 47, 59, 41, 34, 59, 45, 44, 28, 37, 47, 38, 54, 55, 36, 55, 36, 39, 51, 48, 47, 48, 44, 44, 12, 47, 32, 53, 60, 57, 53, 42, 41, 56, 43, 67, 43, 52, 60, 52, 34, 56, 58, 41

In addition to these data, we also know two important things. First, the data are generated from independent Normal processes; that is, the data in each sample come from independent Normal distributions. Second, we know that the population variances are σ²1 = 81 and σ²2 = 81. With this information, calculate the test statistic corresponding to the null hypothesis.

Information given:

To summarize the above, the values of import are:

Summary statistics from the problem
\( \mu_d \) =
   
\( \bar{x}_1 \) =
\( \bar{x}_2 \) =
   
\( \sigma_1 \) =
\( \sigma_2 \) =
   
\( n_1 \) =
\( n_2 \) =

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.   .