Skip to content
Family Table Math
Auto

Two-Sample t-Procedures for a Difference in Means

Do students recall more words in silence than with music playing? Do Grade 11 students in one school board spend more hours a week on screens than in another? When each group gives you a quantitative measurement, you compare their means. This page puts together two ideas you already know: the one-sample t-test for a mean, and the two-group structure from comparing proportions.

The sampling distribution of x̄₁ − x̄₂

Section titled “The sampling distribution of x̄₁ − x̄₂”

For independent random samples of sizes n1n_1 and n2n_2 from populations with means μ1\mu_1, μ2\mu_2 and standard deviations σ1\sigma_1, σ2\sigma_2:

μxˉ1−xˉ2=μ1−μ2σxˉ1−xˉ2=σ12n1+σ22n2\mu_{\bar{x}_1 - \bar{x}_2} = \mu_1 - \mu_2 \qquad \sigma_{\bar{x}_1 - \bar{x}_2} = \sqrt{\frac{\sigma_1^2}{n_1} + \frac{\sigma_2^2}{n_2}}

As with proportions, the variances add even though it’s a difference. The distribution is normal if both populations are normal, and approximately normal if n1≥30n_1 \ge 30 and n2≥30n_2 \ge 30.

In practice σ1\sigma_1 and σ2\sigma_2 are unknown, so use s1s_1 and s2s_2. The standard error is

SExˉ1−xˉ2=s12n1+s22n2SE_{\bar{x}_1 - \bar{x}_2} = \sqrt{\frac{s_1^2}{n_1} + \frac{s_2^2}{n_2}}

and the two-sample t-interval for a difference between population means is

(xˉ1−xˉ2)±t∗s12n1+s22n2(\bar{x}_1 - \bar{x}_2) \pm t^* \sqrt{\frac{s_1^2}{n_1} + \frac{s_2^2}{n_2}}

The two-sample tt statistic doesn’t follow a t-distribution exactly, but it’s very close to one with a df that technology calculates from the data (2-SampTInt and 2-SampTTest on a TI-84). That df is usually not a whole number, and it always lies between

the smaller of n1−1 and n2−1andn1+n2−2\text{the smaller of } n_1 - 1 \text{ and } n_2 - 1 \qquad\text{and}\qquad n_1 + n_2 - 2

If you’re working by hand with Table B, you can use the smaller of n1−1n_1 - 1 and n2−1n_2 - 1. That’s the conservative choice: it gives a slightly larger t∗t^*, so a slightly wider interval and a slightly larger p-value than technology.

On a TI-84, answer No to “Pooled”. AP Statistics uses the unpooled standard error above, which doesn’t assume the two populations have the same standard deviation. (The pooled t-test used in IB Applications and Interpretation assumes equal variances; it can give quite different results when the samples have very different spreads.)

H0:μ1=μ2(μ1−μ2=0)Ha:μ1>μ2,μ1<μ2,orμ1≠μ2H_0: \mu_1 = \mu_2 \quad (\mu_1 - \mu_2 = 0) \qquad H_a: \mu_1 \gt \mu_2, \quad \mu_1 \lt \mu_2, \quad \text{or} \quad \mu_1 \ne \mu_2 t=(xˉ1−xˉ2)−0s12n1+s22n2t = \frac{(\bar{x}_1 - \bar{x}_2) - 0}{\sqrt{\dfrac{s_1^2}{n_1} + \dfrac{s_2^2}{n_2}}}

The p-value comes from the t-distribution with the df above.

ConditionWhat to check
RandomTwo independent random samples, or a randomized experiment with two treatments.
10%For random samples, n1≤10%n_1 \le 10\% of population 1 and n2≤10%n_2 \le 10\% of population 2. Not needed for an experiment.
Normal/Large SampleBoth n1≥30n_1 \ge 30 and n2≥30n_2 \ge 30, or both populations approximately normal. If either sample is smaller than 3030, graphs of both samples should show no strong skewness and no outliers.

The design decides, not the numbers:

  • Two independent samples or groups: different individuals in each group, chosen or assigned separately. Use the two-sample t procedures on this page.
  • Paired data: each value in one group is matched with a value in the other (the same person twice, twins, before and after). Use a paired t-test or interval on the differences.

Using two-sample methods on paired data usually throws away the advantage of pairing and makes real effects look like noise (see Example 4).

The same rules as for proportions: a significant result from a randomized experiment is evidence that the treatment causes the difference (for units like those in the study); a significant result from two random samples shows that the population means differ, but not why. An interval that contains 00 means “no difference” is plausible, not proven.

Name the procedure (“two-sample t-test for μ1−μ2\mu_1 - \mu_2” or “two-sample t-interval”), define both parameters and the order of subtraction, check conditions for both groups, show the formula with numbers, and report the df you used (from technology, or the conservative df). The formula sheet gives SExˉ1−xˉ2SE_{\bar{x}_1 - \bar{x}_2}.

Example 1: The sampling distribution of the difference

Section titled “Example 1: The sampling distribution of the difference”

Apples from Orchard A have mean mass 180180 g with standard deviation 2020 g; apples from Orchard B have mean mass 170170 g with standard deviation 2525 g. A buyer takes random samples of 4040 apples from A and 5050 from B. Find the probability that the sample mean for B is higher than the sample mean for A.

Solution.

μxˉA−xˉB=180−170=10σxˉA−xˉB=20240+25250=10+12.5=4.743\begin{aligned} \mu_{\bar{x}_A - \bar{x}_B} &= 180 - 170 = 10 \\ \sigma_{\bar{x}_A - \bar{x}_B} &= \sqrt{\frac{20^2}{40} + \frac{25^2}{50}} = \sqrt{10 + 12.5} = 4.743 \end{aligned}

Both samples have at least 3030 apples, so xˉA−xˉB\bar{x}_A - \bar{x}_B is approximately normal. “B higher” means xˉA−xˉB<0\bar{x}_A - \bar{x}_B \lt 0:

P(xˉA−xˉB<0)=P(Z<0−104.743)=P(Z<−2.11)=0.0175P(\bar{x}_A - \bar{x}_B \lt 0) = P\left(Z \lt \frac{0 - 10}{4.743}\right) = P(Z \lt -2.11) = 0.0175

(This uses zz, not tt, because the population standard deviations are known.)

A researcher takes independent random samples of Grade 11 students from two large school boards and records each student’s weekly hours of recreational screen time.

nnxˉ\bar{x}ss
Board 1454524.324.37.27.2
Board 2505020.920.96.46.4

Construct and interpret a 95%95\% confidence interval for the difference in mean weekly screen time.

Solution.

State. μ1−μ2\mu_1 - \mu_2, where μ1\mu_1 and μ2\mu_2 are the true mean weekly screen times of all Grade 11 students in Board 1 and Board 2. 95%95\% confidence.

Plan. Two-sample t-interval for μ1−μ2\mu_1 - \mu_2.

  • Random: independent random samples from each board.
  • 10%: 4545 and 5050 are less than 10%10\% of the Grade 11 students in each large board.
  • Normal/Large Sample: n1=45≥30n_1 = 45 \ge 30 and n2=50≥30n_2 = 50 \ge 30.

Do.

SE=7.2245+6.4250=1.152+0.8192=1.404SE = \sqrt{\frac{7.2^2}{45} + \frac{6.4^2}{50}} = \sqrt{1.152 + 0.8192} = 1.404

Technology gives df=88.6\text{df} = 88.6 and t∗=1.987t^* = 1.987:

(24.3−20.9)±1.987(1.404)=3.4±2.79⇒(0.61, 6.19)(24.3 - 20.9) \pm 1.987(1.404) = 3.4 \pm 2.79 \quad\Rightarrow\quad (0.61,\ 6.19)

Conclude. We are 95%95\% confident that the interval from 0.610.61 to 6.196.19 hours captures the true difference (Board 1 minus Board 2) in mean weekly screen time for Grade 11 students. Because the whole interval is above 00, there is convincing evidence that Board 1’s students have a higher mean screen time.

(With the conservative df=44\text{df} = 44, t∗=2.015t^* = 2.015 and the interval is (0.57, 6.23)(0.57,\ 6.23): very slightly wider, same conclusion.)

A psychology class randomly assigns 2020 student volunteers to study a list of words either in silence or with music playing, 1010 in each group. The numbers of words recalled are shown.

Two dotplots of the number of words recalled. Silence group: 12, 13, 14, 14, 15, 15, 16, 17, 18, 19. Music group: 10, 11, 11, 12, 12, 13, 13, 14, 15, 16. Both are roughly symmetric with no outliers, and the silence group is shifted to the right. 10 11 12 13 14 15 16 17 18 19 words recalled Silence Music
Silence: 12,13,14,14,15,15,16,17,18,1912, 13, 14, 14, 15, 15, 16, 17, 18, 19. Music: 10,11,11,12,12,13,13,14,15,1610, 11, 11, 12, 12, 13, 13, 14, 15, 16.

At α=0.05\alpha = 0.05, do the data give convincing evidence that students like these recall more words, on average, in silence?

Solution.

State. μS\mu_S and μM\mu_M are the true mean numbers of words recalled by students like these in silence and with music.

H0:μS=μMHa:μS>μMα=0.05H_0: \mu_S = \mu_M \qquad H_a: \mu_S \gt \mu_M \qquad \alpha = 0.05

Plan. Two-sample t-test for μS−μM\mu_S - \mu_M.

  • Random: the conditions were randomly assigned. (The 10% condition isn’t needed for an experiment.)
  • Normal/Large Sample: both groups have only 1010 students, but the dotplots show no strong skewness and no outliers in either group.

Do. Silence: xˉS=15.3\bar{x}_S = 15.3, sS=2.214s_S = 2.214. Music: xˉM=12.7\bar{x}_M = 12.7, sM=1.889s_M = 1.889.

t=15.3−12.72.214210+1.889210=2.60.920=2.83df=17.6 (technology)p-value=P(t≥2.83)=0.0057\begin{aligned} t &= \frac{15.3 - 12.7}{\sqrt{\dfrac{2.214^2}{10} + \dfrac{1.889^2}{10}}} = \frac{2.6}{0.920} = 2.83 \\ \text{df} &= 17.6 \text{ (technology)} \qquad \text{p-value} = P(t \ge 2.83) = 0.0057 \end{aligned}

Conclude. Because 0.0057<0.050.0057 \lt 0.05, we reject H0H_0. There is convincing evidence that students like these recall more words, on average, when studying in silence than with music. Because the conditions were randomly assigned, this suggests that the music causes lower recall for volunteers like these.

On the one-sample t-test page, 1010 students each did a reaction-time test in silence and with music. The paired t-test gave t=4.52t = 4.52 and a p-value of 0.00070.0007. What happens if you wrongly treat the two lists as independent samples?

Solution. Silence: xˉ=311.5\bar{x} = 311.5, s=17.30s = 17.30; music: xˉ=319.5\bar{x} = 319.5, s=21.30s = 21.30 (ms). A two-sample t-test of Ha:μM>μSH_a: \mu_M \gt \mu_S gives

t=319.5−311.521.30210+17.30210=8.08.68=0.92p-value=0.185t = \frac{319.5 - 311.5}{\sqrt{\dfrac{21.30^2}{10} + \dfrac{17.30^2}{10}}} = \frac{8.0}{8.68} = 0.92 \qquad \text{p-value} = 0.185

That’s no evidence at all, even though music slowed 99 of the 1010 students. The two-sample standard error includes the big differences between students (some are just faster than others). Pairing removes them, because each student is compared with themself. Since these data are paired, the paired test is the right one.

Using a two-sample procedure on paired data (or the reverse). Look at the design. Same individuals measured twice, or matched pairs, means paired. Separate groups means two-sample.

Pooling the standard deviations. AP Statistics uses s12n1+s22n2\sqrt{\dfrac{s_1^2}{n_1} + \dfrac{s_2^2}{n_2}}. Choose “Pooled: No” on the calculator.

Subtracting inside the square root. It’s always ++: the variability of a difference is bigger than the variability of either mean.

Using df = n₁ + n₂ − 2. That’s the upper limit and belongs to the pooled test. Use the df from technology, or the conservative smaller of n1−1n_1 - 1 and n2−1n_2 - 1.

Checking only one group. If either sample is smaller than 3030, you need to check the graphs of both samples for strong skewness and outliers.

Concluding cause from two random samples. Two boards with different mean screen times doesn’t mean the board causes the difference. Only random assignment supports “causes”.

1. (Warm-up) Independent random samples give n1=30n_1 = 30, xˉ1=68.4\bar{x}_1 = 68.4, s1=5.2s_1 = 5.2 and n2=35n_2 = 35, xˉ2=64.9\bar{x}_2 = 64.9, s2=6.8s_2 = 6.8. Find the point estimate of μ1−μ2\mu_1 - \mu_2 and its standard error.

Solution

Point estimate: 68.4−64.9=3.568.4 - 64.9 = 3.5.

SE=5.2230+6.8235=0.9013+1.3211=1.491SE = \sqrt{\frac{5.2^2}{30} + \frac{6.8^2}{35}} = \sqrt{0.9013 + 1.3211} = 1.491

2. (Warm-up) Two samples have sizes 1212 and 1818. Between which two values must the technology df for a two-sample t procedure lie? What is the conservative df?

Solution

Between the smaller of 1111 and 1717, which is 1111, and 12+18−2=2812 + 18 - 2 = 28. The conservative df is 1111.

3. (Warm-up) Say whether each study calls for a two-sample t procedure or a paired t procedure.

  • (a) The heights of 2525 randomly chosen maple trees and 2525 randomly chosen oak trees in a park.
  • (b) The blood pressure of 2020 patients before and after a new medication.
  • (c) 3030 pairs of twins, with one twin in each pair randomly assigned to a new reading program.
Solution

(a) Two-sample: separate random samples of two kinds of trees.

(b) Paired: each patient is measured twice.

(c) Paired: each twin is matched with the other twin in the pair.

4. (Core) A researcher takes independent random samples of commuters in two large cities and records one-way commute times (in minutes). City P: n=60n = 60, xˉ=52.1\bar{x} = 52.1, s=11.3s = 11.3. City Q: n=55n = 55, xˉ=47.6\bar{x} = 47.6, s=9.8s = 9.8. Construct and interpret a 90%90\% confidence interval for the difference in mean commute time (P −- Q).

Solution

State. μP−μQ\mu_P - \mu_Q: the difference in the true mean one-way commute times of all commuters in City P and City Q. 90%90\% confidence.

Plan. Two-sample t-interval. Independent random samples; each sample is less than 10%10\% of the commuters in a large city; both samples have at least 3030 commuters.

Do.

SE=11.3260+9.8255=1.968SE = \sqrt{\frac{11.3^2}{60} + \frac{9.8^2}{55}} = 1.968

Technology: df=112.7\text{df} = 112.7, t∗=1.658t^* = 1.658.

4.5±1.658(1.968)=4.5±3.26⇒(1.24, 7.76)4.5 \pm 1.658(1.968) = 4.5 \pm 3.26 \quad\Rightarrow\quad (1.24,\ 7.76)

Conclude. We are 90%90\% confident that the interval from 1.241.24 to 7.767.76 minutes captures the true difference (P minus Q) in mean commute time. All values are positive, so there is convincing evidence that commuters in City P have a longer mean commute.

5. (Core) A university compares the mean GPA of first-year students who live in residence with those who live off campus, using independent random samples: residence n=48n = 48, xˉ=3.42\bar{x} = 3.42, s=0.61s = 0.61; off campus n=52n = 52, xˉ=3.18\bar{x} = 3.18, s=0.72s = 0.72. At α=0.05\alpha = 0.05, is there convincing evidence that the mean GPAs differ?

Solution

State. μR\mu_R and μO\mu_O: the true mean GPAs of all first-year students who live in residence and off campus. H0:μR=μOH_0: \mu_R = \mu_O, Ha:μR≠μOH_a: \mu_R \ne \mu_O, α=0.05\alpha = 0.05.

Plan. Two-sample t-test. Independent random samples; each is less than 10%10\% of its group; both samples are at least 3030.

Do.

t=3.42−3.180.61248+0.72252=0.240.1331=1.80df=97.3p-value=0.0745t = \frac{3.42 - 3.18}{\sqrt{\dfrac{0.61^2}{48} + \dfrac{0.72^2}{52}}} = \frac{0.24}{0.1331} = 1.80 \qquad \text{df} = 97.3 \qquad \text{p-value} = 0.0745

Conclude. Because 0.0745>0.050.0745 \gt 0.05, fail to reject H0H_0. There is not convincing evidence that the mean GPAs of first-year students in residence and off campus differ.

6. (Core) Commute times in City A have mean 3838 minutes and standard deviation 1212 minutes; in City B, mean 3030 minutes and standard deviation 1515 minutes. Random samples of 3636 commuters from A and 4040 from B are taken.

  • (a) Find the mean and standard deviation of xˉA−xˉB\bar{x}_A - \bar{x}_B.
  • (b) Find the probability that xˉA−xˉB\bar{x}_A - \bar{x}_B is more than 1010 minutes.
Solution

(a) μ=38−30=8\mu = 38 - 30 = 8 and

σ=12236+15240=4+5.625=3.102\sigma = \sqrt{\frac{12^2}{36} + \frac{15^2}{40}} = \sqrt{4 + 5.625} = 3.102

(b) Both samples are at least 3030, so the distribution is approximately normal.

P(xˉA−xˉB>10)=P(Z>10−83.102)=P(Z>0.64)=0.260P(\bar{x}_A - \bar{x}_B \gt 10) = P\left(Z \gt \frac{10 - 8}{3.102}\right) = P(Z \gt 0.64) = 0.260

7. (Core) A 95%95\% confidence interval for μ1−μ2\mu_1 - \mu_2, the difference in mean daily water use (litres) between households with and without a water-saving rebate, is (−12.4, 3.8)(-12.4,\ 3.8). The households were random samples from each group, not randomly assigned. Interpret the interval, and explain what it does and doesn’t show.

Solution

We are 95%95\% confident that the interval from −12.4-12.4 to 3.83.8 litres captures the true difference (rebate minus no rebate) in mean daily water use. Because it contains 00, there is no convincing evidence that the means differ. It doesn’t show the means are equal: rebate households could use up to 12.412.4 L less or up to 3.83.8 L more per day. And even if the interval excluded 00, households chose whether to get the rebate, so we couldn’t say the rebate caused a difference.

8. (Challenge) Independent random samples give n1=12n_1 = 12, xˉ1=15.2\bar{x}_1 = 15.2, s1=2.1s_1 = 2.1 and n2=15n_2 = 15, xˉ2=12.8\bar{x}_2 = 12.8, s2=4.5s_2 = 4.5, and both samples show no strong skewness or outliers. Construct a 95%95\% confidence interval for μ1−μ2\mu_1 - \mu_2 using (a) the technology df and (b) the conservative df. Compare.

Solution

SE=2.1212+4.5215=1.311SE = \sqrt{\dfrac{2.1^2}{12} + \dfrac{4.5^2}{15}} = 1.311 and the point estimate is 2.42.4.

(a) Technology: df=20.7\text{df} = 20.7, t∗=2.081t^* = 2.081. 2.4±2.081(1.311)=2.4±2.732.4 \pm 2.081(1.311) = 2.4 \pm 2.73, giving (−0.33, 5.13)(-0.33,\ 5.13).

(b) Conservative: df=11\text{df} = 11, t∗=2.201t^* = 2.201. 2.4±2.201(1.311)=2.4±2.882.4 \pm 2.201(1.311) = 2.4 \pm 2.88, giving (−0.48, 5.28)(-0.48,\ 5.28).

The conservative interval is a little wider, because it uses fewer df and so a bigger t∗t^*. Both contain 00, so neither gives convincing evidence of a difference.

9. (Challenge) Two samples have n1=10n_1 = 10, xˉ1=25\bar{x}_1 = 25, s1=2s_1 = 2 and n2=40n_2 = 40, xˉ2=21\bar{x}_2 = 21, s2=8s_2 = 8.

  • (a) Find the unpooled two-sample tt statistic and its two-sided p-value (technology df =48.0= 48.0).
  • (b) The pooled standard deviation is sp=(n1−1)s12+(n2−1)s22n1+n2−2=7.26s_p = \sqrt{\dfrac{(n_1 - 1)s_1^2 + (n_2 - 1)s_2^2}{n_1 + n_2 - 2}} = 7.26, and the pooled test uses t=xˉ1−xˉ2sp1n1+1n2t = \dfrac{\bar{x}_1 - \bar{x}_2}{s_p\sqrt{\frac{1}{n_1} + \frac{1}{n_2}}} with 4848 df. Find tt and the p-value.
  • (c) Explain why the results are so different, and which one AP Statistics expects.
Solution

(a)

t=25−212210+8240=40.4+1.6=41.414=2.83p-value=0.0068t = \frac{25 - 21}{\sqrt{\dfrac{2^2}{10} + \dfrac{8^2}{40}}} = \frac{4}{\sqrt{0.4 + 1.6}} = \frac{4}{1.414} = 2.83 \qquad \text{p-value} = 0.0068

(b)

t=47.26110+140=47.26(0.3536)=1.56p-value=0.126t = \frac{4}{7.26\sqrt{\dfrac{1}{10} + \dfrac{1}{40}}} = \frac{4}{7.26(0.3536)} = 1.56 \qquad \text{p-value} = 0.126

(c) Pooling assumes both populations have the same standard deviation, so it mixes the small spread of sample 1 (s1=2s_1 = 2) with the large spread of the bigger sample 2 (s2=8s_2 = 8), which dominates. That overstates the variability of xˉ1\bar{x}_1. The spreads here are very different, so the equal-variance assumption is doubtful. AP Statistics expects the unpooled test, (a).

Try these independently after the practice questions. Show your setup and explain your reasoning. Check every condition for both groups, state the df you used, and write every conclusion in context. Homework solutions are not provided on the published site.

All data in these questions are hypothetical.

H1. (Foundations) For each study, say whether a two-sample or a paired procedure fits, define the parameter(s), and write the hypotheses.

  • (a) A gym compares the mean number of visits per month for members on a monthly plan and on an annual plan, using a random sample from each plan, to see whether they differ.
  • (b) A coach records each of 1515 swimmers’ times before and after a six-week training block, expecting times to fall.

H2. (Foundations) Independent random samples give n1=25n_1 = 25, xˉ1=12.6\bar{x}_1 = 12.6, s1=3.1s_1 = 3.1 and n2=30n_2 = 30, xˉ2=10.9\bar{x}_2 = 10.9, s2=2.7s_2 = 2.7. Find the standard error, the two-sample tt statistic, and the range of possible df.

H3. (Core) A library compares how long (in minutes) visitors stay at two branches, using independent random samples: downtown n=64n = 64, xˉ=41.8\bar{x} = 41.8, s=9.6s = 9.6; suburban n=70n = 70, xˉ=38.3\bar{x} = 38.3, s=8.9s = 8.9. At α=0.05\alpha = 0.05, is there convincing evidence that visitors stay longer, on average, at the downtown branch?

H4. (Core) A reviewer measures the battery life (in hours) of random samples of two phone models:

Model A: 8.27.59.18.87.98.49.08.1\text{Model A: } 8.2 \quad 7.5 \quad 9.1 \quad 8.8 \quad 7.9 \quad 8.4 \quad 9.0 \quad 8.1 Model B: 7.17.86.97.48.07.26.67.57.0\text{Model B: } 7.1 \quad 7.8 \quad 6.9 \quad 7.4 \quad 8.0 \quad 7.2 \quad 6.6 \quad 7.5 \quad 7.0

Check the conditions, then construct and interpret a 95%95\% confidence interval for the difference in mean battery life (A −- B).

H5. (Core) Scores on a provincial reading test have mean 7272 and standard deviation 99 at School 1, and mean 6868 and standard deviation 1111 at School 2. Random samples of 5050 students from School 1 and 4545 from School 2 are taken. Find the probability that the School 2 sample mean is higher than the School 1 sample mean.

H6. (Core) A study randomly assigns 6060 volunteers to a new sleep app or no app for a month, and a two-sample t-test of whether the app increases mean nightly sleep gives t=2.41t = 2.41 and p-value =0.0097= 0.0097.

  • (a) Interpret the p-value in context.
  • (b) What can you conclude about cause and effect? About which people?

H7. (Challenge) Ten volunteers each type the same passage on two keyboard layouts, in a random order. Their times (in minutes) are:

Volunteer12345678910
Layout A18.221.515.419.822.117.320.616.823.018.9
Layout B16.920.814.119.221.016.819.516.322.217.6
  • (a) A student runs a two-sample t-test of H0:μA=μBH_0: \mu_A = \mu_B against Ha:μA≠μBH_a: \mu_A \ne \mu_B and gets a p-value of 0.420.42. Explain why this is the wrong analysis.
  • (b) Carry out the correct test at α=0.05\alpha = 0.05.
  • (c) Explain why the two analyses give such different p-values.

H8. (Challenge) Independent random samples give n1=14n_1 = 14, xˉ1=31.5\bar{x}_1 = 31.5, s1=4.2s_1 = 4.2 and n2=20n_2 = 20, xˉ2=27.9\bar{x}_2 = 27.9, s2=6.8s_2 = 6.8; both samples show no strong skewness or outliers.

  • (a) Construct a 95%95\% confidence interval for μ1−μ2\mu_1 - \mu_2 using the technology df (31.631.6).
  • (b) Repeat with the conservative df.
  • (c) Does either interval give convincing evidence that the means differ?

H9. (Challenge) A researcher compares two groups. Group 1 has 2525 observations, and a boxplot shows one outlier. Group 2 has 4040 observations and is strongly skewed. She says: “Group 2 has at least 3030, so the Normal/Large Sample condition is met.” Is she right? Explain what the condition requires here.

H10. (Challenge) A report gives a 95%95\% two-sample t-interval of (−1.2, 4.6)(-1.2,\ 4.6) for μ1−μ2\mu_1 - \mu_2, using 3838 degrees of freedom.

  • (a) Find the point estimate and the standard error.
  • (b) Find the test statistic and p-value for H0:μ1=μ2H_0: \mu_1 = \mu_2 against Ha:μ1≠μ2H_a: \mu_1 \ne \mu_2, and check that the decision at α=0.05\alpha = 0.05 agrees with the interval.