9.5 CIs and test for difference between two sample means

Researchers were interested in the impact of diet on the lifetime of rats:

For rats, is the mean lifetime shorter for rats on a free-choice diet compared to rats on a healthy, restricted diet?

Berger et al. (1988) compared the lifetime of rats on a healthy, restricted diet (\(106\) rats) and on a free-eating diet (\(89\) rats). The data set is large, so we only show an extract of the data (Fig. 9.5).

  1. Explain why this study compares two independent groups.

  2. Carefully define parameter of interest.

  3. Use the jamovi output (Fig. 9.7) to prepare a numerical summary table.

  4. Use the jamovi output to write down the appropriate \(95\)% CI, to estimate the difference between the population means.

  5. Which of these short statements best communicates this CI? Why are the other statements incorrect?

    1. The sample mean lifetime is between \(223.34\) and \(346.13\) days.
    2. The difference between the population mean lifetimes is between \(223.34\) and \(346.13\) days.
    3. We are \(95\)% sure that the difference between the sample mean lifetimes is between \(223.34\) and \(346.13\) days.
    4. We are \(95\)% sure that the difference between the population mean lifetimes is between \(223.34\) and \(346.13\) days.
    5. If we repeated everything many times, \(95\)% of the CIs constructed would contain the difference between the population means.
  6. The above statement communicating the CI isn't perfect. Why not? Write an improved statement communicating the CI.

  7. Explain the difference between the meaning of what is displayed in the two graphs in Fig. 9.6.

  8. Write down the hypotheses being tested. Is this a one- or a two-tailed test? Explain.

  9. What are two possible reasons why the sample mean lifetimes of rats on the two diets are different?

  10. Write down the \(t\)-score and the appropriate \(P\)-value, using the output in Fig. 9.7 .

  11. Calculate the \(t\)-score (using the standard error as given in the output), and show it is the same value as given in the output.

  12. Make a conclusion, in context.

  13. What conditions are necessary for the CI and test to be statistically valid?

  14. Is it reasonable to assume these conditions are satisfied? How does Fig. 9.6. help, if at all?

  15. What if all these rats only came from only \(20\) litters?

Part of the data for the rat lifetime example

FIGURE 9.5: Part of the data for the rat lifetime example

Boxplot (left panel) and error-bar chart (right panel) for the rat lifetime data

FIGURE 9.6: Boxplot (left panel) and error-bar chart (right panel) for the rat lifetime data

The jamovi output summarising the rat lifetimes data

FIGURE 9.7: The jamovi output summarising the rat lifetimes data

References

Berger RL, Boos DD, Guess FM. Tests and confidence sets for comparing two mean residual life functions. Biometrics. 1988;44(1):103–15.