Z-Procedures

Calculating the Test Statistic

The Problem

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

52, 50, 17, 40, 50, 41, 57, 43, 48, 70, 52, 32, 60, 44, 28, 30, 44, 34, 23, 36, 17, 48, 42, 26, 45, 46, 31, 43, 43, 67, 23, 36, 42, 23, 18, 20, 52, 34, 42, 32, 33, 19, 49, 41, 36, 52, 43, 44, 42, 25, 26

The data from population 2 are:

31, 32, 39, 34, 25, 20, 25, 26, 46, 38, 26, 55, 37, 26, 36, 29, 45, 39, 42, 32, 43, 37, 37, 29, 35, 45, 41, 34, 31, 38, 29, 42, 49, 32, 46, 40, 17, 40, 39, 39, 31, 34, 33

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 = 225 and σ²2 = 64. 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.   .