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

IB Maths AI HL · Unit 4

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

Covers full hypothesis test: H0/H1, p-value, conclusion. 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 · 34 marks · about 41 minutes · 3 Paper 1 style, 7 Paper 2 style

Download the PDF 4 pages, worked solutions after the questions

Question 1

2 marks · Paper 1 style · calculator allowed

State two assumptions for a pooled two-sample t-test.

State them. [2]

Show solution

both populations are normally distributed A1

the two populations have equal variances (and the samples are independent) A1

Answer: a proof: the worked solution above is the full answer

Question 2

2 marks · Paper 2 style · calculator allowed

A two-sample t-test gives p=0.072.

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

Show solution

5%: do not reject H0 A1

10%: reject H0 A1

Answer: do not reject at 5%; reject at 10%

Question 3

2 marks · Paper 1 style · calculator allowed

Write the null and alternative hypotheses for testing whether a new teaching method raises the mean score above the old method.

Write H0 and H1. [2]

Show solution

H0:μnew=μold A1

H1:μnew>μold A1

Answer: a proof: the worked solution above is the full answer

Question 4

2 marks · Paper 1 style · calculator allowed

Explain the difference between a one-tailed and a two-tailed test.

Explain. [2]

Show solution

one-tailed: H1 states a direction (> or <) A1

two-tailed: H1 is ≠ A1

Answer: a proof: the worked solution above is the full answer

Question 5

2 marks · Paper 2 style · calculator allowed

A two-sample t-test is done at the 5% level and H0 is rejected.

State the probability of a type I error and describe it in context of comparing two means. [2]

Show solution

0.05 A1

concluding the means differ when they are equal A1

Answer: 0.05

Question 6

4 marks · Paper 2 style · calculator allowed

Two samples have n1=10, x¯1=24.3, s1=2.1 and n2=12, x¯2=22.1, s2=2.5 (unbiased estimates). Test at the 5% level whether the means differ.

Carry out a pooled two-sample t-test. [4]

Show solution

t=2.21 A1

df=20 A1

p=0.0392 A1

reject H0 R1

Answer: t=2.21, p=0.0392; reject H0

Question 7

5 marks · Paper 2 style · calculator allowed

Test scores for two classes are: class A 72, 68, 75, 80, 66, 71, 77; class B 65, 70, 62, 68, 64, 66. Test at the 5% level whether class A has a higher mean (pooled variance).

Carry out the test. [5]

Show solution

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

pooled two-sample t-test M1

t=2.99 A1

p=0.00615 A1

p<0.05: reject H0 R1

Answer: t=2.99, p=0.00615; reject H0

Question 8

5 marks · Paper 2 style · calculator allowed

Two fertilisers are compared. Plant heights (cm): fertiliser C 12.4, 13.1, 11.8, 12.9, 13.5, 12.2; fertiliser D 13.0, 13.8, 12.9, 14.1, 13.6, 13.3. Test at the 5% level whether the means differ.

Carry out the test. [5]

Show solution

H0:μC=μD, H1:μC≠μD A1

pooled t-test M1

t=−2.50 A1

p=0.0314 A1

reject H0 R1

Answer: t=−2.50, p=0.0314; reject H0

Question 9

5 marks · Paper 2 style · calculator allowed

Reaction times (tenths of a second) for two groups: group E 5.2, 4.8, 5.5, 5.0, 4.9, 5.3, 5.1, 4.7; group F 4.6, 4.9, 4.4, 4.8, 4.5, 4.7, 4.3, 4.6. Test at the 1% level whether group E is slower.

Carry out the test. [5]

Show solution

H1:μE>μF A1

pooled t-test M1

t=3.92 A1

p=0.000767 A1

reject H0 R1

Answer: t=3.92, p=0.000767; reject H0

Question 10

5 marks · Paper 2 style · calculator allowed

The number of sit-ups in a minute for two teams: team G 31, 28, 35, 30, 33, 29, 34; team H 27, 30, 26, 29, 25, 28, 27. Test at the 5% level whether team G does more.

Carry out the test. [5]

Show solution

H1:μG>μH A1

pooled t-test M1

t=3.36 A1

p=0.00282 A1

reject H0 R1

Answer: t=3.36, p=0.00282; reject H0

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 HL Two-Sample t-Test. Previous topic: Statistical Testing. Next topic: Venn Diagrams & Hard Probability. Every AI HL topic.

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