Difference of two sample means worksheet with answer key

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

Problem 1

Two coaching programs report scores on a common 100-point exam. Scores are approximately normal in both populations. Program 1 has μ1=78\mu_1 = 78 points and σ1=12\sigma_1 = 12 points; program 2 has μ2=71\mu_2 = 71 points and σ2=9\sigma_2 = 9 points. A researcher takes independent random samples of n1=9n_1 = 9 students from program 1 and n2=9n_2 = 9 from program 2. (a) Find the mean and the standard deviation of the sampling distribution of xˉ1−xˉ2\bar{x}_1 - \bar{x}_2. (b) A student finds that xˉ1\bar{x}_1 has standard deviation 4 and xˉ2\bar{x}_2 has standard deviation 3, then reports 4+3=74 + 3 = 7. Say what is wrong and by how much the answer is off.

Problem 2

Commute times are right-skewed in two cities. City A has μA=34\mu_A = 34 minutes and σA=8\sigma_A = 8 minutes; city B has μB=31\mu_B = 31 minutes and σB=6\sigma_B = 6 minutes. Independent random samples of nA=40n_A = 40 commuters and nB=30n_B = 30 commuters are taken. (a) Justify a normal model for xˉA−xˉB\bar{x}_A - \bar{x}_B and find its mean and standard deviation. (b) Find P(xˉA−xˉB>5)P(\bar{x}_A - \bar{x}_B > 5). (c) An analyst instead computes the standard deviation of each sample mean and adds those two numbers. Report the standard deviation and the probability that mistake produces, and say which way the error pushes the conclusion.

Problem 3

A class simulates a difference of sample means. Population 1 is normal with μ1=80\mu_1 = 80 and σ1=10\sigma_1 = 10; population 2 is normal with μ2=74\mu_2 = 74 and σ2=15\sigma_2 = 15. Each repetition draws independent random samples of n1=25n_1 = 25 and n2=25n_2 = 25 and records xˉ1−xˉ2\bar{x}_1 - \bar{x}_2. Across 10,000 repetitions the simulated differences have mean 6.04 and standard deviation 3.58. Three students propose a formula for the standard deviation: Ana uses σ1n1+σ2n2\frac{\sigma_1}{\sqrt{n_1}} + \frac{\sigma_2}{\sqrt{n_2}}, Ben uses σ12n1+σ22n2\sqrt{\frac{\sigma_1^2}{n_1} + \frac{\sigma_2^2}{n_2}}, and Cleo uses σ22n2−σ12n1\sqrt{\frac{\sigma_2^2}{n_2} - \frac{\sigma_1^2}{n_1}}. (a) Evaluate all three. (b) Say which one the simulation supports and why the other two fail. (c) Explain why the simulated mean is 6.04 rather than exactly 6.

Problem 4

Daily app-use times are strongly right-skewed in two user groups. Group 1 has μ1=68\mu_1 = 68 minutes and σ1=24\sigma_1 = 24 minutes; group 2 has μ2=61\mu_2 = 61 minutes and σ2=18\sigma_2 = 18 minutes. Independent random samples of n1=45n_1 = 45 and n2=20n_2 = 20 users are taken. (a) Find the mean and standard deviation of xˉ1−xˉ2\bar{x}_1 - \bar{x}_2. (b) Can you compute P(xˉ1−xˉ2>15)P(\bar{x}_1 - \bar{x}_2 > 15)? Justify, and say which of your part (a) answers survive your verdict. (c) Suppose instead that group 2's use times were stated to be approximately normal, with everything else unchanged. Answer (b) again.

Problem 5

Mature heights of two tomato varieties are approximately normal. Variety A has μA=48\mu_A = 48 cm and σA=6\sigma_A = 6 cm; variety B has μB=44\mu_B = 44 cm and σB=8\sigma_B = 8 cm. A grower measures independent random samples of nA=12n_A = 12 variety A plants and nB=16n_B = 16 variety B plants. (a) Describe the sampling distribution of xˉA−xˉB\bar{x}_A - \bar{x}_B, including why the sample sizes are not a problem. (b) Find P(xˉA−xˉB>8)P(\bar{x}_A - \bar{x}_B > 8). (c) The grower doubles both sample sizes, to 24 and 32. Recompute the probability and explain what changed.

Problem 6

Two job-training programs are compared on an end-of-course test. Scores are somewhat skewed in both populations. Program 1 has μ1=76\mu_1 = 76 points and σ1=9\sigma_1 = 9 points; program 2 has μ2=73\mu_2 = 73 points and σ2=12\sigma_2 = 12 points. Independent random samples of 36 graduates are taken from each program. (a) Find the mean and standard deviation of xˉ1−xˉ2\bar{x}_1 - \bar{x}_2, justifying the normal model. (b) Find the probability that program 2's sample mean comes out higher than program 1's. (c) Interpret that number for someone about to run this study.

Problem 7

A greenhouse study compares plant growth under two treatments. Treatment A has already been run on nA=25n_A = 25 plants, and long-run records give σA=10\sigma_A = 10 cm. Treatment B has σB=9\sigma_B = 9 cm, and the researcher can still choose nBn_B. (a) Find the smallest nBn_B for which the standard deviation of xˉA−xˉB\bar{x}_A - \bar{x}_B is at most 2.5 cm. (b) Is there any nBn_B that brings it to 1.9 cm or below? Justify your answer.

Problem 8

A dietitian compares sodium per serving in two soup brands, and sodium content is approximately normal for both. Independent random samples of n1=30n_1 = 30 cans of brand 1 and n2=25n_2 = 25 cans of brand 2 are analyzed. Assume the two brands truly have the same mean sodium content. (a) Version A: the manufacturers' long-run process records give σ1=45\sigma_1 = 45 mg and σ2=60\sigma_2 = 60 mg. Find the standard deviation of xˉ1−xˉ2\bar{x}_1 - \bar{x}_2 and the probability that the two sample means differ by more than 30 mg in either direction. (b) Version B: no process records exist, and the only spread figures are the sample standard deviations from these very cans, s1=45s_1 = 45 mg and s2=60s_2 = 60 mg. State what changes and what does not.

Difference of two sample means: answer key

  1. (a) μxˉ1−xˉ2=7\mu_{\bar{x}_1 - \bar{x}_2} = 7 points and σxˉ1−xˉ2=1449+819=16+9=5\sigma_{\bar{x}_1 - \bar{x}_2} = \sqrt{\frac{144}{9} + \frac{81}{9}} = \sqrt{16 + 9} = 5 points. (b) The student added standard deviations; only variances add. 16+9=2516 + 9 = 25 gives 5 points, so 7 overstates the spread by 40%.

  2. (a) Approximately normal by the central limit theorem, since nA=40n_A = 40 and nB=30n_B = 30 both reach 30; mean 3 minutes and standard deviation 1.6+1.2=1.6733\sqrt{1.6 + 1.2} = 1.6733 minutes. (b) z=1.195z = 1.195, so P≈0.1160P \approx 0.1160. (c) Adding the two standard deviations gives 2.3604 minutes, about 41% too large, and P≈0.1984P \approx 0.1984, about 1.7 times the correct value. The error always overstates the spread and understates how unusual a gap is.

  3. (a) Ana 5, Ben 13=3.6056\sqrt{13} = 3.6056, Cleo 5=2.2361\sqrt{5} = 2.2361. (b) The simulated 3.58 supports Ben. Ana added standard deviations instead of variances, which always overstates. Cleo subtracted the variances, which understates, returns 0 when the two terms match, and goes imaginary when the first is larger. (c) 6.04 and 3.58 are estimates from 10,000 repetitions; the exact values are 6 and 3.6056.

  4. (a) μxˉ1−xˉ2=7\mu_{\bar{x}_1 - \bar{x}_2} = 7 minutes and σxˉ1−xˉ2=12.8+16.2=29=5.3852\sigma_{\bar{x}_1 - \bar{x}_2} = \sqrt{12.8 + 16.2} = \sqrt{29} = 5.3852 minutes. (b) No: group 2's population is skewed and n2=20<30n_2 = 20 < 30, so that sample clears neither route to normality; the center and standard deviation from (a) are unaffected, since neither depends on shape. (c) Yes: a normal population qualifies sample 2 at any size, so z=15−75.3852=1.486z = \frac{15 - 7}{5.3852} = 1.486 and P≈0.0687P \approx 0.0687.

  5. (a) Approximately normal because both populations are normal, so no sample-size threshold applies; mean 4 cm and standard deviation 3+4=7=2.6458\sqrt{3 + 4} = \sqrt{7} = 2.6458 cm. (b) z=1.512z = 1.512, so P≈0.0653P \approx 0.0653. (c) σxˉA−xˉB=1.5+2=3.5=1.8708\sigma_{\bar{x}_A - \bar{x}_B} = \sqrt{1.5 + 2} = \sqrt{3.5} = 1.8708 cm, z=2.138z = 2.138, and P≈0.0163P \approx 0.0163. Doubling both sample sizes halved the total variance and divided the standard deviation by 2\sqrt{2}, leaving the center at 4 cm.

  6. (a) Approximately normal by the central limit theorem, since both samples reach 36; mean 3 points and standard deviation 2.25+4=2.5\sqrt{2.25 + 4} = 2.5 points. (b) The event is xˉ1−xˉ2<0\bar{x}_1 - \bar{x}_2 < 0, so z=0−32.5=−1.20z = \frac{0 - 3}{2.5} = -1.20 and P≈0.1151P \approx 0.1151. (c) Even though program 1 is truly 3 points better, about 11.5% of studies of this size, roughly one in nine, would show program 2 ahead, because the true gap is only 1.2 standard deviations from zero.

  7. (a) 81nB≤2.25\frac{81}{n_B} \le 2.25, so nB≥36n_B \ge 36 and the smallest value is nB=36n_B = 36, which gives exactly 2.5 cm (nB=35n_B = 35 gives 2.5128 cm). (b) No. 4+81nB>4=2\sqrt{4 + \frac{81}{n_B}} > \sqrt{4} = 2 cm for every nBn_B, and 1.9<21.9 < 2, so only a larger sample from treatment A can push the standard deviation below 2 cm.

  8. (a) σxˉ1−xˉ2=67.5+144=211.5=14.5430\sigma_{\bar{x}_1 - \bar{x}_2} = \sqrt{67.5 + 144} = \sqrt{211.5} = 14.5430 mg, z=2.063z = 2.063, and P=2×0.01956=0.0391P = 2 \times 0.01956 = 0.0391. (b) The number 14.5430 mg is unchanged, but it becomes a standard error rather than a known standard deviation, the standardized value follows a tt distribution instead of the standard normal (two-sided 0.0451 at df=43.81df = 43.81 instead of 0.0391), and the question moves from a topic 4.6 probability to the two-sample t procedures of topics 4.7 through 4.10.

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