www.john-weber.com  

Chapter 7: Inference for Distributions

Section 7.2: Comparing Two Means

Two-sample problems

Two-sample problems:

Comparing two population means

Assumptions for comparing two means:

Let x1 be the variable we measure from the first population and x2 be the variable we measure from the first population:

PopulationVariableMeans.d.
1x1μ1σ1
2x2μ2σ2

We use sample means and s.d. to estimate the parameters:

PopulationSample SizeSample MeanSample s.d.
1n11s1
2n22s2

Two–sample t procedures

Suppose we want to infer something about the difference in population means (μ1μ2) from the difference in sample means (12).

The sampling distribution of 12 has:

The two–sample t–statistic is: .

If the two population distributions are both normal, then the two–sample t–statistic is normally distributed [i.e., N(0, 1)].

Unfortunately, the two-sample t–statistic does not have a t distribution. Even so, the two–sample t–statistic is used with the critical values from the t distribution. The book describes two options to do this (see pp. 394–395), but we will rely on the TI83 to calculate the p–value.

First, a level C CI for μ is x-bar ± t*×SE. The TI83 can calculate the two–sample t CI!

t–test for a population mean:

The null hypothes1s can be stated in two ways:

  1. H0: μ1 = μ2
  2. H0: μ1 – μ2 = 0
We will use the former way (since that is the way the TI83 states it!). So, here's how to perform a two sample hypothesis test:
  1. State the hypotheses:
  2. Calculate the P–value
  3. Make your conclusion

Recall: H0 and Ha always refer to the population and NOT to a particular outcome. It is often easier (and more appropriate) to state H0 and Ha before looking at the data.

Robustness again

A statistical inference procedure is called robust if the probability calculations do not change very much when the assumptions of the procedure are violated.


Back to John Weber's MATH 1431 Page
Back to john-weber.com