Home › IB Maths AI HL › Exam practice › Data Collection and Non-Linear Regression

IB Maths AI HL · Unit 4

Data Collection and Non-Linear Regression: AI HL exam practice with markscheme

Covers non-linear regression & residual analysis. 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 · 26 marks · about 31 minutes · 6 Paper 1 style, 4 Paper 2 style

Download the PDF 4 pages, worked solutions after the questions

Question 1

2 marks · Paper 1 style · calculator allowed

A researcher asks every 10th person entering a shopping centre about local transport.

Name the sampling method and give one source of bias. [2]

Show solution

systematic sampling A1

only people who visit the centre are surveyed R1

Answer: systematic sampling

Question 2

3 marks · Paper 1 style · calculator allowed

The linear regression line of y on x for a dataset is given by y^=1.4x+2.5. For a specific observation (3,k), the residual is exactly −0.7. Find the exact value of k.

[3]

Show solution

Find the predicted value at x=3: y^=1.4(3)+2.5=6.7 (A1)
Use residual = observed − predicted: −0.7=k−6.7 M1
Solve for k: k=6.7−0.7=6 A1

Answer: 6

Question 3

4 marks · Paper 1 style · calculator allowed

A linear regression model y=3.2x+1.5 is used to model a dataset. One of the raw data points is (4,12).
Calculate the exact value of the residual for this data point.

[4]

Show solution

Residual = Actual y value - Predicted y value (y−y^). [M1]
Predicted y at x=4: y^=3.2(4)+1.5=12.8+1.5=14.3. [M1][A1]
Residual = 12−14.3=−2.3. [A1]

Answer: −2.3

Question 4

2 marks · Paper 2 style · calculator allowed

Data are shown below.

x12345
y2.77.420.154.6148.4

Find the exponential regression model y=aebx. [2]

Show solution

GDC exponential regression (M1)

y=0.996e1.00x A1

Answer: y=0.996e1.00x

Question 5

2 marks · Paper 1 style · calculator allowed

A school has 420 students in grade 11 and 380 in grade 12. A stratified sample of 40 is taken.

Find the number from each grade. [2]

Show solution

420800×40=21 A1

19 A1

Answer: 21 and 19

Question 6

2 marks · Paper 2 style · calculator allowed

Two models are fitted to a data set: a linear model with R2=0.82 and a quadratic model with R2=0.97.

State which model fits better and explain what R2 measures. [2]

Show solution

quadratic A1

the proportion of the variation in y explained by the model R1

Answer: the quadratic model

Question 7

2 marks · Paper 1 style · calculator allowed

Classify each variable as discrete or continuous: number of siblings; reaction time; shoe size; mass of a parcel.

Classify each. [2]

Show solution

discrete, continuous A1

discrete, continuous A1

Answer: discrete; continuous; discrete; continuous

Question 8

2 marks · Paper 2 style · calculator allowed

A logarithmic model y=a+bln⁡x is fitted to the data.

x12345
y4.26.98.19.09.6

Find a and b. [2]

Show solution

GDC logarithmic regression (M1)

a=4.35, b=3.35 A1

Answer: a=4.35, b=3.35

Question 9

3 marks · Paper 2 style · calculator allowed

A power model y=axb is fitted to the data below.

x123456
y3.111.827.547.675.2107.9

Find a and b, and use the model to predict y when x=7. [3]

Show solution

GDC power regression (M1)

a=3.06, b=1.99 A1

146 A1

Answer: a=3.06, b=1.99; 146

Question 10

4 marks · Paper 1 style · calculator allowed

An exponential model of the form y=Abx passes exactly through the data points (1,6) and (2,18). Find the exact values of the constants A and b.

[4]

Show solution

Substitute both points: 6=Ab and 18=Ab2 M1
Divide the second equation by the first: Ab2Ab=186 M1
b=3 A1
Substitute back: 6=3A⟹A=2 A1

Answer: (A) 2; (b) 3

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 Data Collection and Non-Linear Regression. Previous topic: Confidence Intervals and Hypothesis Testing for Means. Next topic: Descriptive Statistics. Every AI HL topic.

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