Home › IB Maths AI SL › Exam practice › Two-Sample t-Test

IB Maths AI SL · Unit 4

Two-Sample t-Test: AI SL exam practice with markscheme

Covers two-sample t-test. Work through the 10 questions on paper as if it were the exam, then open each solution and mark your work against the markscheme.

10 questions · 38 marks · about 43 minutes · 1 Paper 1 style, 9 Paper 2 style

Download the PDF 6 pages, worked solutions after the questions

Question 1

3 marks · Paper 2 style · calculator allowed

The number of sit-ups in one minute for two groups of students are shown. Test at the 5% level whether group A has the higher mean. Assume normal populations with equal variances.

Group A313529333632
Group B283027312926

Find the p-value and state the conclusion. [3]

Show solution

one-tailed pooled t-test (M1)

p=0.00474 A1

p<0.05: reject H0; group A has the higher mean R1

Answer: p=0.00474; reject H0

Question 2

3 marks · Paper 1 style · calculator allowed

A two-sample t-test compares the mean battery life of two brands of phone. The hypotheses are H0:μ1=μ2 and H1:μ1≠μ2, and the p-value is 0.083.

(a) State whether this is a one-tailed or a two-tailed test. [1]

(b) State the conclusion at the 10% level and at the 5% level. [2]

Show solution

(a)

two-tailed A1

(b)

10%: reject H0 A1

5%: do not reject H0 A1

Answer: (a) two-tailed

Question 3

3 marks · Paper 2 style · calculator allowed

The masses, in kg, of five parcels from each of two depots are shown. Test at the 5% level whether the mean masses differ. Assume normal populations with equal variances.

Depot 14.13.84.54.04.3
Depot 24.24.43.94.14.6

(a) Find the p-value. [2]

(b) State the conclusion. [1]

Show solution

(a)

two-tailed pooled t-test (M1)

p=0.575 A1

(b)

0.575>0.05: do not reject H0 R1

Answer: (a) p=0.575

Question 4

3 marks · Paper 2 style · calculator allowed

Reaction times, in seconds, of two groups are shown. Test at the 5% level whether the mean reaction times differ. Assume normal populations with equal variances.

Group 10.420.380.450.40.440.390.41
Group 20.430.40.440.420.450.410.4

(a) Find the p-value. [2]

(b) State the conclusion. [1]

Show solution

(a)

two-tailed pooled t-test (M1)

p=0.495 A1

(b)

0.495>0.05: do not reject H0; no evidence of a difference R1

Answer: (a) p=0.495

Question 5

4 marks · Paper 2 style · calculator allowed

The masses, in grams, of apples from two orchards are shown. A two-tailed t-test at the 5% level is used to compare the mean masses. Assume the populations are normal with equal variances.

Orchard A12.113.411.812.913.012.5
Orchard B11.212.011.511.912.311.0

(a) State the hypotheses. [1]

(b) Find the p-value. [2]

(c) State the conclusion. [1]

Show solution

(a)

H0:μA=μB, H1:μA≠μB A1

(b)

pooled two-sample t-test (M1)

p=0.0126 A1

(c)

0.0126<0.05: reject H0; the mean masses differ R1

Answer: (b) p=0.0126

Question 6

4 marks · Paper 2 style · calculator allowed

A gardener tests whether a new feed makes plants grow taller. Heights, in cm, after six weeks are shown. A one-tailed t-test is used at the 5% level. Assume normal populations with equal variances.

New feed24272529262827
No feed23242225242326

(a) State the hypotheses, using μN and μO. [1]

(b) Find the p-value. [2]

(c) State the conclusion. [1]

Show solution

(a)

H0:μN=μO, H1:μN>μO A1

(b)

one-tailed pooled t-test (M1)

p=0.00322 A1

(c)

p<0.05: reject H0; the new feed gives taller plants on average R1

Answer: (b) p=0.00322

Question 7

4 marks · Paper 2 style · calculator allowed

A coach tests whether players who skip warm-ups score lower on a fitness test. Scores are shown. Use a one-tailed t-test at the 5% level, assuming normal populations with equal variances.

No warm-up524855504753
Warm-up585560545759

(a) State the hypotheses, using μN and μW. [1]

(b) Find the p-value and state the conclusion. [3]

Show solution

(a)

H0:μN=μW, H1:μN<μW A1

(b)

one-tailed pooled t-test (M1)

p=0.00118 A1

p<0.05: reject H0 R1

Answer: (b) p=0.00118; reject H0

Question 8

4 marks · Paper 2 style · calculator allowed

A researcher compares the heights, in cm, of two groups of seedlings.

Group 1150162158149165155160
Group 2148152150155147151149

(a) Explain why a t-test is suitable here rather than a χ2 test. [1]

(b) Using a two-tailed test, find the p-value. Assume normal populations with equal variances. [2]

(c) State the conclusion at the 5% level. [1]

Show solution

(a)

the data are measurements, and the test compares two means R1

(b)

pooled t-test (M1)

p=0.0193 A1

(c)

0.0193<0.05: reject H0 R1

Answer: (b) p=0.0193

Question 9

5 marks · Paper 2 style · calculator allowed

Test scores of two classes taught with different methods are shown. A teacher tests, at the 1% level, whether method X gives a higher mean score than method Y. Assume normal populations with equal variances.

Method X68727570746971
Method Y65706668646769

(a) Find the mean of each sample. [2]

(b) Find the p-value and state the conclusion. [3]

Show solution

(a)

x¯X=71.3 A1

x¯Y=67 A1

(b)

one-tailed pooled t-test (M1)

p=0.00272 A1

p<0.01: reject H0 R1

Answer: (a) 71.3 and 67; (b) p=0.00272; reject H0

Question 10

5 marks · Paper 2 style · calculator allowed

The pH of water samples from two lakes is shown. Assume normal populations with equal variances.

Lake P7.26.87.57.16.97.47.07.3
Lake Q6.96.67.16.87.06.76.96.5

(a) Find the mean pH for each lake. [2]

(b) Use a two-tailed test to find the p-value. [2]

(c) State the conclusion at the 1% level. [1]

Show solution

(a)

7.15 A1

6.81 A1

(b)

pooled t-test (M1)

p=0.00955 A1

(c)

0.00955<0.01: reject H0 R1

Answer: (a) 7.15 and 6.81; (b) p=0.00955

How the marks work: M marks are for a correct method, A marks for an accurate answer that follows it, R marks for a reason, and AG means the answer is given in the question. A mark in brackets, like (M1), can be implied by later correct work.

Notes, worked examples and more questions on this topic: AI SL Two-Sample t-Test. Previous topic: Statistical Testing. Next topic: Venn Diagrams & Hard Probability. Every AI SL topic.

Revise first with the AI SL revision notes, then finish on real papers: IB Maths AI SL past papers.