Home › IB Maths AI HL › Exam practice › Bivariate Data

IB Maths AI HL · Unit 4

Bivariate Data: AI HL exam practice with markscheme

Covers least-squares regression line; scatter plots & r on the GDC; spearman's rank correlation. 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 · 31 marks · about 37 minutes · 3 Paper 1 style, 7 Paper 2 style

Download the PDF 5 pages, worked solutions after the questions

Question 1

2 marks · Paper 1 style · calculator allowed

A scatter diagram of height against arm span for 30 students has r=0.91.

Describe the correlation and state whether arm span could be predicted reliably from height within the data range. [2]

Show solution

strong positive A1

yes, strong correlation and interpolation R1

Answer: strong positive; yes

Question 2

2 marks · Paper 1 style · calculator allowed

A data set has r=0.12 but the points lie close to a curve.

Explain what this shows about the relationship. [2]

Show solution

no linear correlation A1

but a non-linear relationship may exist R1

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

Question 3

2 marks · Paper 1 style · calculator allowed

Explain when Spearman's rank correlation is more suitable than Pearson's r.

Explain. [2]

Show solution

when the relationship is monotonic but not linear A1

or the data are ranks / ordinal A1

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

Question 4

3 marks · Paper 2 style · calculator allowed

Two judges rank six singers. Judge A's ranks are 1,2,3,4,5,6 and judge B's ranks of the same singers are 3,1,4,2,6,5.

Find Spearman's rank correlation coefficient and comment on the agreement. [3]

Show solution

GDC on ranks (M1)

rs=0.657 A1

moderate positive agreement A1

Answer: rs=0.657; moderate agreement

Question 5

3 marks · Paper 2 style · calculator allowed

The age x (months) and mass y (kg) of six young goats are recorded.

x121825314046
y3.24.15.56.07.68.3

Find the regression line of y on x and estimate the mass at 36 months. [3]

Show solution

y=0.151x+1.45 A1A1

6.89 kg A1

Answer: 6.89 kg, from y=0.151x+1.45

Question 6

3 marks · Paper 2 style · calculator allowed

Seven students' scores in maths (x) and physics (y) are shown.

x65728058907784
y70757860886982

Find Spearman's rank correlation coefficient. [3]

Show solution

rank both sets M1

GDC (M1)

rs=0.893 A1

Answer: rs=0.893

Question 7

3 marks · Paper 2 style · calculator allowed

The price x (dollars) and weekly sales y (hundreds) of a product are shown.

x510152025
y282219139

Find the regression line and interpret its gradient. [3]

Show solution

y=−0.94x+32.3 A1A1

each extra dollar cuts sales by about 94 A1

Answer: y=−0.94x+32.3

Question 8

4 marks · Paper 2 style · calculator allowed

A researcher fits a model y^=3x2−x to a dataset. The observed values y for three data points are given below.

xObserved yPredicted y^Residual (y−y^)
13ab
212102
32024-4
  1. Find the values of a and b.
  2. Calculate the Sum of Squared Residuals (SSres) for these three points.

[4]

Show solution
  1. Substitute x=1 into the model: a=3(1)2−1=2. A1
    Residual = observed − predicted: b=3−2=1. A1
  2. Square and add the residuals: SSres=12+22+(−4)2. M1
    SSres=1+4+16=21. A1

Answer: (a) 2; (b) 1; (SS_res) 21

Question 9

4 marks · Paper 2 style · calculator allowed

The number of absences x and the exam score y of seven students are shown.

x3568101113
y62585549454037

(a) Find the equation of the regression line of y on x. [2]

(b) Find r and interpret it. [2]

Show solution

(a)

GDC (M1)

y=−2.62x+70.4 A1

(b)

r=−0.996 A1

strong negative linear correlation A1

Answer: (a) y=−2.62x+70.4; (b) r=−0.996

Question 10

5 marks · Paper 2 style · calculator allowed

The height, h in metres, of a projectile is recorded at various horizontal distances, d in metres, from the launch point.

Distance, d1020304050
Height, h1832424850
  1. Using your Graphic Display Calculator, find the equation of the quadratic regression curve h=ad2+bd+c for this data.
  2. Using your model, predict the maximum height reached by the projectile.

[5]

Show solution
  1. Enter the data into the GDC and use quadratic regression. (M1)
    a=−0.02, b=2 A1
    c=0 A1
    Model: h=−0.02d2+2d.
  2. The maximum is at the vertex: d=−b2a=−22(−0.02)=50. M1
    Substitute d=50: h=−0.02(502)+2(50)=−50+100=50 m. A1
    (Alternatively, the maximum may be found directly from the GDC graph.)

Answer: (a) −0.02; (b) 2; (c) 0; (Maximum height (m) 50

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 Bivariate Data. Previous topic: Voronoi Diagrams. Next topic: Chi-Square Goodness of Fit, Independence and Error Types. Every AI HL topic.

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