Two-sample t test worksheet with answer key

8 problems on two-sample t test, ready to print for class or homework. The answer key prints on its own page, so hand out everything before it.

Problem 1

A lab tests two brands of AA battery in the same model of wireless mouse. A random sample of 12 Brand A batteries lasts a mean of 41.041.0 hours with s1=3.0s_1 = 3.0 hours, and an independent random sample of 12 Brand B batteries lasts a mean of 36.536.5 hours with s2=4.0s_2 = 4.0 hours. At α=0.05\alpha = 0.05, is there convincing evidence that the two brands differ in true mean lifetime? Use the conservative degrees of freedom.

Problem 2

A researcher records daily screen time, in hours. A random sample of 15 students at School A gives xˉ1=3.4\bar{x}_1 = 3.4 and s1=1.1s_1 = 1.1; an independent random sample of 20 students at School B gives xˉ2=2.8\bar{x}_2 = 2.8 and s2=0.9s_2 = 0.9. Construct and interpret a 95% confidence interval for μ1−μ2\mu_1 - \mu_2 using the conservative degrees of freedom, and say what it implies about the claim that the two schools have the same true mean screen time.

Problem 3

A district compares two review programs. A random sample of 20 students in the online program scores a mean of 78.478.4 on a common final with s1=8.2s_1 = 8.2; an independent random sample of 18 students in the in-person program scores a mean of 73.173.1 with s2=9.6s_2 = 9.6. At α=0.05\alpha = 0.05, is there convincing evidence that the online program has a higher true mean score? Bound the p-value with the conservative degrees of freedom, then compare with technology, which reports df=33.67df = 33.67 and p=0.039p = 0.039.

Problem 4

Wait times, in minutes, are recorded at two coffee shops. A random sample of 13 customers at Shop A gives xˉ1=4.2\bar{x}_1 = 4.2 and s1=1.5s_1 = 1.5; an independent random sample of 17 customers at Shop B gives xˉ2=3.1\bar{x}_2 = 3.1 and s2=1.1s_2 = 1.1. (a) Build a 90% confidence interval for μ1−μ2\mu_1 - \mu_2 using the conservative degrees of freedom. (b) Technology reports df=21.21df = 21.21, for which t∗=1.720t^* = 1.720. Build that interval too. (c) Say which interval is wider and why, and what both imply about a difference of 0.

Problem 5

Twelve volunteers are randomly assigned, six to each of two study methods, and then tested on a 20-word list. Words recalled are:

  • Method A: 12, 15, 11, 14, 13, 13
  • Method B: 10, 13, 9, 11, 8, 9

At α=0.05\alpha = 0.05, is there convincing evidence of a difference in true mean recall? Use the conservative degrees of freedom.

Problem 6

A typing tutor is tested by randomly assigning 24 volunteers to two versions of the software. After four weeks, the 13 who used the new version type a mean of 54.654.6 words per minute with s1=6.2s_1 = 6.2; the 11 who used the old version type a mean of 49.849.8 with s2=5.4s_2 = 5.4. (a) Explain why a two-sample t procedure fits here rather than a paired one. (b) Check the conditions. (c) At α=0.05\alpha = 0.05, test whether the new version gives a higher true mean typing speed, using the conservative degrees of freedom. (d) State a conclusion in context and say what the design does and does not let you claim.

Problem 7

A materials lab measures breaking strength, in kilonewtons, of steel cable from two suppliers. A random sample of 10 lengths from Supplier 1 gives xˉ1=81.5\bar{x}_1 = 81.5 and s1=5.0s_1 = 5.0; an independent random sample of 10 lengths from Supplier 2 gives xˉ2=76.4\bar{x}_2 = 76.4 and s2=5.5s_2 = 5.5. (a) Test at α=0.05\alpha = 0.05 whether the true mean breaking strengths differ, using the conservative degrees of freedom. (b) Technology reports df=17.84df = 17.84 and a two-sided p-value of 0.0440.044. State the decision that follows from it. (c) Explain why the two approaches disagree and what an AP response has to do about it.

Problem 8

Two paint formulas are compared for drying time, in minutes. A random sample of 16 boards painted with Formula X dries in a mean of 112112 minutes with sX=14s_X = 14; an independent random sample of 21 boards painted with Formula Y dries in a mean of 126126 minutes with sY=18s_Y = 18. Use the conservative degrees of freedom throughout. (a) At α=0.01\alpha = 0.01, is there convincing evidence that Formula X has a shorter true mean drying time? (b) Construct a 95% confidence interval for μX−μY\mu_X - \mu_Y. (c) Explain how that interval relates to a two-sided test at α=0.05\alpha = 0.05. (d) Name the error the decision in (a) could be, and describe it in context.

Two-sample t test: answer key

  1. SE=1.4434SE = 1.4434, t≈3.12t \approx 3.12, conservative df=11df = 11, two-sided p-value between 0.0050.005 and 0.010.01. Reject H0H_0 at α=0.05\alpha = 0.05; convincing evidence the two brands differ in true mean battery lifetime.

  2. xˉ1−xˉ2=0.6\bar{x}_1 - \bar{x}_2 = 0.6, SE=0.3481SE = 0.3481, df=14df = 14, t∗=2.145t^* = 2.145, ME=0.747ME = 0.747. The 95% interval is (−0.147, 1.347)(-0.147,\ 1.347) hours. It contains 0, so there is no convincing evidence of a difference in true mean screen time.

  3. SE=2.9124SE = 2.9124, t≈1.82t \approx 1.82, conservative df=17df = 17, one-sided p-value between 0.0250.025 and 0.050.05 (technology: df=33.67df = 33.67, p=0.039p = 0.039). Reject H0H_0 at α=0.05\alpha = 0.05; convincing evidence of a higher true mean score for the online program, but no causal claim from an observational study.

  4. SE=0.4942SE = 0.4942. (a) df=12df = 12, t∗=1.782t^* = 1.782, interval (0.219, 1.981)(0.219,\ 1.981) minutes. (b) df=21.21df = 21.21, t∗=1.720t^* = 1.720, interval (0.250, 1.950)(0.250,\ 1.950) minutes. (c) The conservative interval is wider (1.7621.762 vs 1.7001.700 minutes) because fewer df means a larger t∗t^*; both exclude 0, so both show Shop A's true mean wait is longer.

  5. xˉ1=13\bar{x}_1 = 13, s1=1.414s_1 = 1.414, xˉ2=10\bar{x}_2 = 10, s2=1.789s_2 = 1.789, SE=0.9309SE = 0.9309, t≈3.22t \approx 3.22, conservative df=5df = 5, two-sided p-value between 0.020.02 and 0.040.04. Reject H0H_0; convincing evidence of a difference in true mean recall, with Method A higher here. Causal for these volunteers but not generalizable.

  6. (a) Different people in each group and unequal sizes 13 and 11, so two independent samples. (b) Random assignment of the 24 volunteers satisfies the random condition and makes the two groups independent; no 10% condition is needed, because the groups are not samples drawn from a larger population; both n<30n < 30, so assume typing speeds under each version are roughly normal with no strong skew or outliers. (c) SE=2.3681SE = 2.3681, t≈2.03t \approx 2.03, conservative df=10df = 10, one-sided p-value between 0.0250.025 and 0.050.05. (d) Reject H0H_0; convincing evidence the new version raises true mean typing speed, causal for these volunteers but not generalizable.

  7. SE=2.3505SE = 2.3505, t≈2.17t \approx 2.17. (a) Conservative df=9df = 9, two-sided p-value between 0.050.05 and 0.100.10, fail to reject H0H_0. (b) Technology df=17.84df = 17.84, p=0.044p = 0.044, reject H0H_0. (c) Fewer df means heavier tails and a larger p-value; either method is acceptable if you report the df you used and match the conclusion to it.

  8. SE=5.2610SE = 5.2610, t≈−2.66t \approx -2.66, conservative df=15df = 15. (a) One-sided p-value between 0.0050.005 and 0.010.01; reject H0H_0 at α=0.01\alpha = 0.01, convincing evidence Formula X dries faster on average. (b) 95% interval (−25.21, −2.79)(-25.21,\ -2.79) minutes. (c) It excludes 0, matching a two-sided rejection at α=0.05\alpha = 0.05. (d) A Type I error, with probability at most 0.010.01.

The key gives final answers only. The full worked solution for each problem is on the matching practice set, and every other sheet is on the worksheets page.

More worksheets from this unit