Worksheets · Statistics

Two-sample t-test and t-interval worksheet

Two independent random samples compare two means. The difference of the sample means estimates μ₁ − μ₂, with standard error √(s₁²/n₁ + s₂²/n₂). The interval is the difference plus or minus t* times that standard error, and the test statistic is the difference over it, with the calculator’s degrees of freedom. Easy sheets find the pieces; medium sheets build intervals and P-values and interpret them; hard sheets reason from intervals and tests and choose the procedure.

Select your difficulty

Pick more than one for a sheet that mixes them.

The preview can look cramped on a phone. The PDF and printed sheet come out normal.

Free worksheets at sigmaprep.io/worksheets© 2026 Sigma Prep

Sigma Prep · sigmaprep.io/worksheets

Name

Two-Sample t Procedures

Date Period

Follow the heading above each group.

  1. Find each probability with normalcdf, from the mean and standard deviation of the difference

    The days to sprout of seeds soaked before planting has mean μ1=8.9 and standard deviation σ1=1.8; for seeds planted dry, μ2=7.6 and σ2=2.2 (all in days). Both populations are approximately Normal. Independent random samples of 58 and 57 are taken. What is the probability that the first sample’s mean days to sprout is at least 1.9 days more than the second sample’s, that xˉ1−xˉ2 is at least 1.9? Give it to four decimal places.
  2. The lifetime of Brand A batteries has mean μ1=31.0 and standard deviation σ1=4.9; for Brand B batteries, μ2=31.5 and σ2=5.0 (all in hours). Both populations are approximately Normal. Independent random samples of 21 and 57 are taken. What is the probability that the mean lifetime of the first sample is greater than that of the second, P(xˉ1 > xˉ2)? Give it to four decimal places.
  3. The breaking strength of steel bars from supplier A has mean μ1=128 and standard deviation σ1=8; for steel bars from supplier B, μ2=114 and σ2=9 (all in kilonewtons). Independent random samples of 50 and 32 are taken. What is the probability that the two sample means are within 11 kilonewtons of each other? Give it to four decimal places.
  1. Work with each two-sample t-interval for the difference in true means

    A 90% confidence interval for μ1−μ2, the difference in true mean reaction time (drivers given caffeine minus drivers given a placebo), is (−21.1,9.3) milliseconds, built with t∗ = 1.694. Find the point estimate, the margin of error and the standard error, the standard error to two decimal places.
  2. Random samples of 35 cereal boxes from line A and 58 cereal boxes from line B give these results for fill weight (in grams): xˉ1=505,s1=10 and xˉ2=513,s2=7. Construct a 99% confidence interval for μ1−μ2, the endpoints to two decimal places. (The calculator gives df = 54.25.)
  3. Independent random samples of adults on diet A (group 1) and adults on diet B (group 2) give a 99% confidence interval for μ1−μ2 of (0.53,3.33), in pounds of weight loss after 12 weeks. Interpret the interval in context.
  1. Carry out or interpret each part of a two-sample t-test

    Random samples of 52 students who study with music and 28 students who study in silence give these results for quiz score (in points): xˉ1=13.7,s1=3.0 and xˉ2=16.0,s2=2.5. Test whether the true means differ at α = 0.01: find t (two decimal places), the P-value (four decimal places) and the conclusion in context. The calculator gives df = 64.56.
  2. Independent random samples of 60 cereal boxes from line A (group 1) and 28 cereal boxes from line B (group 2) are compared on fill weight. A two-sample t-test of H0 ⁣:μ1−μ2=0, Ha ⁣:μ1−μ2>0 gives t=2.62 with df = 52.82. Find the P-value (four decimal places). Is there convincing evidence at α = 0.01 that the mean fill weight is greater for cereal boxes from line A than for cereal boxes from line B?
  3. Independent random samples of loaves from bakery A (group 1) and loaves from bakery B (group 2) differ in mean weight by xˉ1−xˉ2=6 grams. A two-sample t-test of H0 ⁣:μ1−μ2=0, Ha ⁣:μ1−μ2>0 gives a P-value of 0.242. Interpret the P-value in context.
  1. Check the design and the conditions of each study

    Each of 30 students takes a quiz once with music playing and once in silence, in random order. A student analyzes the data with a two-sample t-test, as if the two sets of measurements came from separate groups. What is wrong with that, and which procedure should be used?
  2. A study of weight loss after 12 weeks compares a random sample of n1 = 10 adults on diet A and a random sample of n2 = 50 of the 1,250 adults on diet B. A dotplot of the first sample is strongly skewed to the right with an outlier. Which condition for a two-sample t procedure is not met? Explain.
  3. 84 volunteers are randomly assigned, half to each of two treatments, and a two-sample t-test finds a significant difference in mean breaking strength, with a P-value of 0.015. Can the researchers conclude that the difference is caused by the treatment or group? To whom can they generalize?

Free worksheets at sigmaprep.io/worksheets© 2026 Sigma Prep

Sigma Prep · sigmaprep.io/worksheets

Name

Two-Sample t ProceduresAnswer keyVersion 1

Date Period

Follow the heading above each group.

  1. Find each probability with normalcdf, from the mean and standard deviation of the difference

    The days to sprout of seeds soaked before planting has mean μ1=8.9 and standard deviation σ1=1.8; for seeds planted dry, μ2=7.6 and σ2=2.2 (all in days). Both populations are approximately Normal. Independent random samples of 58 and 57 are taken. What is the probability that the first sample’s mean days to sprout is at least 1.9 days more than the second sample’s, that xˉ1−xˉ2 is at least 1.9? Give it to four decimal places.xˉ1−xˉ2 is approximately normal, because both populations are approximately Normal, with μ=1.3, σ=1.8258+2.2257≈0.3752; P(xˉ1−xˉ2≥1.9)= normalcdf (1.9,1099,1.3,0.3752)=0.0549
  2. The lifetime of Brand A batteries has mean μ1=31.0 and standard deviation σ1=4.9; for Brand B batteries, μ2=31.5 and σ2=5.0 (all in hours). Both populations are approximately Normal. Independent random samples of 21 and 57 are taken. What is the probability that the mean lifetime of the first sample is greater than that of the second, P(xˉ1 > xˉ2)? Give it to four decimal places.xˉ1−xˉ2 is approximately normal, because both populations are approximately Normal, with μ=−0.5, σ=4.9221+5.0257≈1.2577; P(xˉ1−xˉ2>0)= normalcdf (0,1099,−0.5,1.2577)=0.3455
  3. The breaking strength of steel bars from supplier A has mean μ1=128 and standard deviation σ1=8; for steel bars from supplier B, μ2=114 and σ2=9 (all in kilonewtons). Independent random samples of 50 and 32 are taken. What is the probability that the two sample means are within 11 kilonewtons of each other? Give it to four decimal places.xˉ1−xˉ2 is approximately normal, because both samples have at least 30 (50 and 32), by the central limit theorem, with μ=14, σ=8250+9232≈1.9522; P(−11≤xˉ1−xˉ2≤11)= normalcdf (−11,11,14,1.9522)=0.0622
  1. Work with each two-sample t-interval for the difference in true means

    A 90% confidence interval for μ1−μ2, the difference in true mean reaction time (drivers given caffeine minus drivers given a placebo), is (−21.1,9.3) milliseconds, built with t∗ = 1.694. Find the point estimate, the margin of error and the standard error, the standard error to two decimal places.Point estimate −5.9; margin 15.2; SE=15.21.694=8.97
  2. Random samples of 35 cereal boxes from line A and 58 cereal boxes from line B give these results for fill weight (in grams): xˉ1=505,s1=10 and xˉ2=513,s2=7. Construct a 99% confidence interval for μ1−μ2, the endpoints to two decimal places. (The calculator gives df = 54.25.)t∗= invT (0.995,54.25)=2.670; −8±2.67010235+7258=−8±5.14: (−13.14,−2.86)
  3. Independent random samples of adults on diet A (group 1) and adults on diet B (group 2) give a 99% confidence interval for μ1−μ2 of (0.53,3.33), in pounds of weight loss after 12 weeks. Interpret the interval in context.We are 99% confident that the interval from 0.53 to 3.33 pounds captures the true difference in mean weight loss after 12 weeks (adults on diet A minus adults on diet B).
  1. Carry out or interpret each part of a two-sample t-test

    Random samples of 52 students who study with music and 28 students who study in silence give these results for quiz score (in points): xˉ1=13.7,s1=3.0 and xˉ2=16.0,s2=2.5. Test whether the true means differ at α = 0.01: find t (two decimal places), the P-value (four decimal places) and the conclusion in context. The calculator gives df = 64.56.t=−3.65; P-value 2⋅ tcdf (3.65,1099,64.56)=0.0005; 0.0005 < 0.01: reject H0. There is convincing evidence that the mean quiz score differs between students who study with music and students who study in silence.
  2. Independent random samples of 60 cereal boxes from line A (group 1) and 28 cereal boxes from line B (group 2) are compared on fill weight. A two-sample t-test of H0 ⁣:μ1−μ2=0, Ha ⁣:μ1−μ2>0 gives t=2.62 with df = 52.82. Find the P-value (four decimal places). Is there convincing evidence at α = 0.01 that the mean fill weight is greater for cereal boxes from line A than for cereal boxes from line B?P-value tcdf (2.62,1099,52.82)=0.0057; 0.0057 < 0.01: reject H0. There is convincing evidence that the mean fill weight is greater for cereal boxes from line A than for cereal boxes from line B.
  3. Independent random samples of loaves from bakery A (group 1) and loaves from bakery B (group 2) differ in mean weight by xˉ1−xˉ2=6 grams. A two-sample t-test of H0 ⁣:μ1−μ2=0, Ha ⁣:μ1−μ2>0 gives a P-value of 0.242. Interpret the P-value in context.If the two true means were equal, the probability of getting a difference xˉ1−xˉ2 of 6 grams or more by chance in random samples like these is 0.242.
  1. Check the design and the conditions of each study

    Each of 30 students takes a quiz once with music playing and once in silence, in random order. A student analyzes the data with a two-sample t-test, as if the two sets of measurements came from separate groups. What is wrong with that, and which procedure should be used?The two sets of measurements are not independent: they come in pairs (one subject or one matched pair each). Use a paired t procedure on the differences.
  2. A study of weight loss after 12 weeks compares a random sample of n1 = 10 adults on diet A and a random sample of n2 = 50 of the 1,250 adults on diet B. A dotplot of the first sample is strongly skewed to the right with an outlier. Which condition for a two-sample t procedure is not met? Explain.Normal/large sample: the first sample has only 10 (less than 30) and is strongly skewed with an outlier. The other conditions are met.
  3. 84 volunteers are randomly assigned, half to each of two treatments, and a two-sample t-test finds a significant difference in mean breaking strength, with a P-value of 0.015. Can the researchers conclude that the difference is caused by the treatment or group? To whom can they generalize?Cause: yes, because the treatments were randomly assigned. Generalize: only to volunteers like these, because they were not a random sample.

Free worksheets at sigmaprep.io/worksheets© 2026 Sigma Prep

How to do these

Samples of 40 and 35 give xˉ1=52.0, s1=6.0 and xˉ2=48.5, s2=7.0. Find the standard error of xˉ1−xˉ2.

  1. Square each standard deviation and divide by its sample size: 36/40 = 0.9 and 49/35 = 1.4.
  2. Add them: 2.3.
  3. Take the square root.

The answer is 1.52.

Where students go wrong

Using a two-sample procedure on paired data. When each subject is measured twice, or the subjects come in matched pairs, the two lists are not independent: analyze the differences with a paired t procedure.

Also called two-sample t-test, two-sample t-interval, difference of two means, comparing two means or independent samples t-test.

What you can put on this worksheet

The sampling distribution of the difference of means
Independent random samples of drivers given caffeine (population 1) and of drivers given a placebo (population 2) are taken, and their reaction time is measured. In which situation is the sampling distribution of xˉ1−xˉ2 approximately normal? Situation I: Both populations are strongly skewed, and the sample sizes are 14 and 8. Situation II: Both populations are strongly skewed, and the sample sizes are 41 and 41. → Situation I: not necessarily: both populations are strongly skewed and both samples are less than 30. Situation II: yes: both samples have at least 30, so by the central limit theorem xˉ1−xˉ2 is approximately normal.
Two-sample t-intervals
Random samples of 25 LED bulbs from factory A and 33 LED bulbs from factory B give these results for lifetime (in thousand hours): xˉ1=25.9,s1=3.6 and xˉ2=26.6,s2=3.8. Use t∗ = 2.671 to find a 99% confidence interval for μ1−μ2, the endpoints to two decimal places. → −0.7±2.6713.6225+3.8233=−0.7±2.61: (−3.31,1.91)
Two-sample t-tests
Random samples of 23 tires of brand A and 54 tires of brand B give these results for tread life (in thousand miles): xˉ1=57.0,s1=6.4 and xˉ2=51.9,s2=5.7. Find the test statistic t for H0 ⁣:μ1−μ2=0, to two decimal places. → t=57.0−51.96.4223+5.7254=5.11.5435=3.30
Conditions, and two-sample or paired
A study takes a random sample of n1 = 54 from the 3,186 adults on diet A in a region and a random sample of n2 = 42 from the 1,764 adults on diet B. Check the 10% condition for each sample. → Sample 1: 10% of 3,186 is 318.6, and 54 is less than that, so it is met. Sample 2: 10% of 1,764 is 176.4, and 42 is less than that, so it is met.

Questions about these worksheets

Yes. Every two-sample t-test and t-interval sheet is free to print and free to download as a PDF. There is no account to make, no email to hand over and no limit on how many you take.

Yes. The answer key prints on a second page, and you can choose whether it shows each question beside its answer or just the answers in a list.

Yes. Print straight from the page, or download the PDF and print that. The sheet is laid out for paper rather than squeezed off a screen, so there is room to work under each question, and the answer key comes out on its own page.

Statistics is usually taken around 11th or 12th grade, though schools vary and plenty of students meet it earlier or later. Pick the difficulty rather than the grade: the easy level suits a first lesson on it, the hard level suits review before a test.

Yes, as many as you like. The questions are built fresh each time rather than picked from a fixed set of files, so pressing Generate gives a new sheet. That is what you want for a second class, a retake, or two students sitting next to each other.

That is the closest comparison, and Kuta Software is good software. It is also paid software you install on a computer. These worksheets run in a browser tab for free, with no account and nothing to install. Like Kuta, the two-sample t-test and t-interval questions are generated when you ask for them rather than pulled from a fixed set of files, so two classes never get the same sheet, and the answer key comes with it.

Yes. There are three levels, and you can tick more than one for a sheet that mixes them, in which case the questions come out easiest first. The harder levels are not just larger numbers: they ask for something the easy ones do not.

You pick from 4: the sampling distribution of the difference of means, two-sample t-intervals, two-sample t-tests and conditions, and two-sample or paired. Tick as many as you want and set how many of each, or let it spread them evenly.

Using a two-sample procedure on paired data. When each subject is measured twice, or the subjects come in matched pairs, the two lists are not independent: analyze the differences with a paired t procedure.