t-test worksheet with answer key

8 problems on 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 bottling machine is set to fill sports-drink bottles with a mean of 500 mL. A quality inspector takes a random sample of 16 bottles and finds xˉ=497\bar{x} = 497 mL with sample standard deviation s=8s = 8 mL. At α=0.05\alpha = 0.05, is there convincing evidence that the machine's true mean fill differs from 500 mL?

Problem 2

A meal-kit company advertises that its dinner recipes take a mean of 30 minutes to cook. A food writer suspects the true mean is longer, times a random sample of 25 recipes, and gets xˉ=33\bar{x} = 33 minutes with s=7.5s = 7.5 minutes. At α=0.05\alpha = 0.05, is there convincing evidence that the mean cook time exceeds 30 minutes?

Problem 3

A ceramics studio's kiln is supposed to reach a mean peak temperature of 1200°F on its high setting. An artist logs the peak temperature on a random sample of 9 firings and finds xˉ=1215\bar{x} = 1215°F with s=15s = 15°F. At α=0.05\alpha = 0.05, is there convincing evidence that the kiln's true mean peak temperature differs from 1200°F?

Problem 4

A physical therapist records the increase in grip strength (after minus before), in kilograms, for a random sample of 7 patients who complete a 4-week resistance program: 1, 3, 0, 2, 4, 1, 3. At α=0.05\alpha = 0.05, is there convincing evidence that the program increases mean grip strength?

Problem 5

A researcher measures systolic blood pressure on the same 6 volunteers with two monitor brands and records the difference (Brand A minus Brand B), in mmHg: 2, -1, 3, -2, 4, 0. At α=0.05\alpha = 0.05, is there convincing evidence that the two brands give different mean readings?

Problem 6

A snack company claims its single-serve almond packs contain a mean of 25 g. A consumer group suspects the packs are underfilled, weighs a random sample of 12 packs, and finds xˉ=24.2\bar{x} = 24.2 g with s=1.2s = 1.2 g. (a) State the hypotheses. (b) Check the conditions. (c) Find the test statistic, degrees of freedom, and p-value range. (d) At α=0.05\alpha = 0.05, state a conclusion in context.

Problem 7

An agronomist pairs 8 plots by location, applies a soil additive to one plot in each pair at random, and records the yield difference (treated minus untreated), in kg: 2, 0, 3, -1, 1, 4, 1, 2. (a) State the hypotheses and check the conditions. (b) Find the test statistic, degrees of freedom, and p-value range. (c) State a conclusion at α=0.05\alpha = 0.05. (d) Would the conclusion change at α=0.01\alpha = 0.01?

Problem 8

In a sleep study, each of 15 randomly selected participants performs a reaction-time task after a normal night and after a night of restricted sleep. The difference (restricted minus normal), in milliseconds, has mean dˉ=12\bar{d} = 12 and standard deviation sd=20s_d = 20. (a) State the hypotheses and check the conditions. (b) Find the test statistic, degrees of freedom, and p-value range. (c) State a conclusion at α=0.05\alpha = 0.05. (d) Interpret the p-value in context and name the error the decision could be.

t-test: answer key

  1. t=−1.50t = -1.50, df=15df = 15, two-sided p-value between 0.100.10 and 0.200.20. Fail to reject H0H_0 at α=0.05\alpha = 0.05; no convincing evidence the mean fill differs from 500 mL.

  2. t=2.00t = 2.00, df=24df = 24, one-sided p-value between 0.0250.025 and 0.050.05. Reject H0H_0 at α=0.05\alpha = 0.05; convincing evidence the mean cook time exceeds 30 minutes.

  3. t=3.00t = 3.00, df=8df = 8, two-sided p-value between 0.010.01 and 0.020.02. Reject H0H_0 at α=0.05\alpha = 0.05; convincing evidence the mean peak temperature differs from 1200°F.

  4. dˉ=2\bar{d} = 2, sd=1.414s_d = 1.414, t≈3.74t \approx 3.74, df=6df = 6, one-sided p-value between 0.00250.0025 and 0.0050.005. Reject H0H_0; convincing evidence the program increases mean grip strength.

  5. dˉ=1\bar{d} = 1, sd≈2.366s_d \approx 2.366, t≈1.04t \approx 1.04, df=5df = 5, two-sided p-value between 0.300.30 and 0.400.40. Fail to reject H0H_0; no convincing evidence the two brands give different mean readings.

  6. (a) H0:μ=25H_0: \mu = 25, Ha:μ<25H_a: \mu < 25; (c) t≈−2.31t \approx -2.31, df=11df = 11, one-sided p-value between 0.020.02 and 0.0250.025; (d) reject H0H_0, convincing evidence of underfilling below 25 g.

  7. dˉ=1.5\bar{d} = 1.5, sd≈1.604s_d \approx 1.604, t≈2.65t \approx 2.65, df=7df = 7, two-sided p-value between 0.020.02 and 0.040.04. Reject H0H_0 at α=0.05\alpha = 0.05, but fail to reject at α=0.01\alpha = 0.01, so the conclusion changes.

  8. t≈2.32t \approx 2.32, df=14df = 14, one-sided p-value between 0.010.01 and 0.020.02. Reject H0H_0 at α=0.05\alpha = 0.05; convincing evidence restricted sleep raises mean reaction time. A wrong rejection here would be a Type I error.

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