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.
Name: ______________________________ Date: ______________ Period: ______
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 hours with hours, and an independent random sample of 12 Brand B batteries lasts a mean of hours with hours. At , 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 and ; an independent random sample of 20 students at School B gives and . Construct and interpret a 95% confidence interval for 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 on a common final with ; an independent random sample of 18 students in the in-person program scores a mean of with . At , 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 and .
Problem 4
Wait times, in minutes, are recorded at two coffee shops. A random sample of 13 customers at Shop A gives and ; an independent random sample of 17 customers at Shop B gives and . (a) Build a 90% confidence interval for using the conservative degrees of freedom. (b) Technology reports , for which . 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 , 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 words per minute with ; the 11 who used the old version type a mean of with . (a) Explain why a two-sample t procedure fits here rather than a paired one. (b) Check the conditions. (c) At , 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 and ; an independent random sample of 10 lengths from Supplier 2 gives and . (a) Test at whether the true mean breaking strengths differ, using the conservative degrees of freedom. (b) Technology reports and a two-sided p-value of . 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 minutes with ; an independent random sample of 21 boards painted with Formula Y dries in a mean of minutes with . Use the conservative degrees of freedom throughout. (a) At , is there convincing evidence that Formula X has a shorter true mean drying time? (b) Construct a 95% confidence interval for . (c) Explain how that interval relates to a two-sided test at . (d) Name the error the decision in (a) could be, and describe it in context.
From statslearn.org/worksheets/two-sample-t-worksheet. Free to print and copy for classroom use.
Two-sample t test: answer key
, , conservative , two-sided p-value between and . Reject at ; convincing evidence the two brands differ in true mean battery lifetime.
, , , , . The 95% interval is hours. It contains 0, so there is no convincing evidence of a difference in true mean screen time.
, , conservative , one-sided p-value between and (technology: , ). Reject at ; convincing evidence of a higher true mean score for the online program, but no causal claim from an observational study.
. (a) , , interval minutes. (b) , , interval minutes. (c) The conservative interval is wider ( vs minutes) because fewer df means a larger ; both exclude 0, so both show Shop A's true mean wait is longer.
, , , , , , conservative , two-sided p-value between and . Reject ; convincing evidence of a difference in true mean recall, with Method A higher here. Causal for these volunteers but not generalizable.
(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 , so assume typing speeds under each version are roughly normal with no strong skew or outliers. (c) , , conservative , one-sided p-value between and . (d) Reject ; convincing evidence the new version raises true mean typing speed, causal for these volunteers but not generalizable.
, . (a) Conservative , two-sided p-value between and , fail to reject . (b) Technology , , reject . (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.
, , conservative . (a) One-sided p-value between and ; reject at , convincing evidence Formula X dries faster on average. (b) 95% interval minutes. (c) It excludes 0, matching a two-sided rejection at . (d) A Type I error, with probability at most .
Every step is worked at statslearn.org/practice/two-sample-t-practice. Free to print and copy for classroom use.
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
- One-sample t interval worksheet with answer key
- Difference of two sample means worksheet with answer key
- Justifying claims from a mean CI: worksheet with answer key
- Inference for means: mixed t procedures worksheet
- Paired t test worksheet with answer key
- Sampling distribution of x-bar: 8 worksheet with answer key
- t-test worksheet with answer key