Skip to main content

Data transformation to linearise: VCE General Mathematics Unit 3 Data analysis

Syllabus dot point

“Data transformation and its use in transforming some forms of non-linear data to linearity using a square, logarithmic (base 10) or reciprocal transformation (applied to one axis only), and interpretation and use of the equation of the least squares line fitted to the transformed data to make predictions”

13 min read

Quick answer

When a scatterplot is curved (or its residual plot shows a clear pattern), transform one variable only, using a square, log (base 10) or reciprocal, to straighten it. Choose the transformation from the shape of the curve with the circle of transformations, then check it with a higher r2r^2 and a random residual plot. Make a new list of the transformed values, fit the least squares line with that list in place of the original variable, and write the equation with the transformed variable in it. To predict, transform the input first, substitute, and undo any transformation on the response last.

Jump to a section
  1. What this dot point is asking
  2. The answer
  3. Where transformations fit in the course
  4. Exam-style questions
  5. Practice questions

What this dot point is asking

Under "Investigating and modelling linear associations" the Study Design lists "data transformation and its use in transforming some forms of non-linear data to linearity using a square, logarithmic (base 10) or reciprocal transformation (applied to one axis only)" and "interpretation and use of the equation of the least squares line fitted to the transformed data to make predictions". You need to:

  1. recognise from a scatterplot, or from a patterned residual plot, that an association is non-linear;
  2. choose a transformation (x2x^2, log⁡10x\log_{10} x, 1x\frac{1}{x}, y2y^2, log⁡10y\log_{10} y or 1y\frac{1}{y}) that straightens the data;
  3. fit a least squares line to the transformed data with CAS and write its equation in terms of the transformed variable;
  4. use that equation to predict, transforming the input first and undoing any transformation on the response at the end, and to solve backwards when the response is given;
  5. compare models using r2r^2 and residual plots.

Transformation questions appear in Examination 1 every year, usually as a pair on one data set. In 2023 Examination 1 Questions 11 and 12 used plantation tree heights (60%60\% and 76%76\% correct), and in 2025 Examination 1 Questions 11 and 12 used life expectancy and doctors (81%81\% and 61%61\%).

The answer

Why transform at all?

A least squares line assumes the association is linear. When the scatterplot curves, a straight line fits badly in a systematic way: it predicts too high in some regions and too low in others. The residual plot shows this as a pattern (an arch or a U) rather than random scatter, even when r2r^2 looks respectable.

For the 11 plantation trees in 2023 Examination 1, the raw least squares line (height =2.14+0.63×= 2.14 + 0.63 \times age) has r2=0.818r^2 = 0.818. Its residuals, in order of age, are negative for ages 4 and 5 (about −1.2-1.2 and −1.3-1.3), close to zero at 6, positive from 7 to 11 (up to +1.25+1.25), then negative again from 12 to 14: a clear arch. The reciprocal model's residuals, by contrast, are all within about 1 of zero with no pattern. The line is the wrong form, so transforming is the fix, not a better line.

A transformation re-expresses one variable on a new scale so that the points lie close to a straight line. You then fit an ordinary least squares line to the new variable.

The six moves (one axis only)

Transform xx Transform yy Effect on that axis
x2x^2 y2y^2 stretches the large values apart
log⁡10x\log_{10} x log⁡10y\log_{10} y compresses the large values
1x\frac{1}{x} 1y\frac{1}{y} compresses the large values strongly (and reverses the order)

The Study Design says "applied to one axis only": in any one model you transform xx or yy, not both. A log or reciprocal transformation needs every value of that variable to be positive.

Choosing a transformation: the circle of transformations

Match the shape of the scatterplot to one quarter of a circle. The transformations beside that quarter are the ones that pull the curve straight.

The circle of transformationsA circle centred on a pair of axes, divided into four quarter arcs. Top left arc: the data rise steeply then level off; use log x, 1 over x or y squared (for example tree height against age in 2023). Top right arc: the data fall slowly then steeply; use x squared or y squared. Bottom left arc: the data fall steeply then level off; use log x, 1 over x, log y or 1 over y. Bottom right arc: the data rise slowly then steeply; use x squared, log y or 1 over y (for example life expectancy against doctors in 2025).xyRises steeply, then levels offlog x, 1/x or y²tree height v. age (2023)Falls slowly, then steeplyx² or y²Falls steeply, then levels offlog x, 1/x, log y or 1/yRises slowly, then steeplyx², log y or 1/ylife v. doctors (2025)Match the scatterplot to an arc of the circle, then try the transformations beside it.

The logic is the same on every arc. If the curve bends so that it bulges towards large xx (bottom right and top right), stretch the xx axis with x2x^2. If it bulges towards small xx (top left and bottom left), compress xx with log⁡10x\log_{10} x or 1x\frac{1}{x}. The same rule applies to yy: a bulge towards large yy calls for y2y^2, and a bulge towards small yy calls for log⁡10y\log_{10} y or 1y\frac{1}{y}.

The two exam data sets fit this exactly. Tree height against age rises steeply and levels off (top left), and VCAA used 1age\frac{1}{\text{age}} and log⁡10(age)\log_{10}(\text{age}). Life expectancy against doctors rises slowly then steeply (bottom right), and VCAA used (doctors)2(\text{doctors})^2 and log⁡10(life)\log_{10}(\text{life}).

Usually more than one transformation works. Choose between them by fitting each and comparing:

  • the coefficient of determination r2r^2 (higher is better), and
  • the residual plot (random scatter, no pattern).
Tree data (2023) r2r^2 Life data (2025) r2r^2
height on age 0.818 life on doctors 0.717
height on log⁡10(age)\log_{10}(\text{age}) 0.917 log⁡10(life)\log_{10}(\text{life}) on doctors 0.739
height on 1age\frac{1}{\text{age}} 0.957 1life\frac{1}{\text{life}} on doctors 0.760
height on age2\text{age}^2 0.693 life on (doctors)2(\text{doctors})^2 0.840

Squaring age made the tree data worse (r2r^2 fell to 0.693), because it stretches the wrong end: that curve needed compressing. Choosing a transformation from the wrong arc is easy to detect this way.

Fitting the line on CAS

  1. Enter the two variables as lists (for example age and height).
  2. Make a new list holding the transformed values: 1age\frac{1}{\text{age}}, log⁡10(age)\log_{10}(\text{age}) or age2\text{age}^2 (or the same for the response). On both TI-Nspire and ClassPad, log is base 10.
  3. Run linear regression with the new list in place of the variable you transformed. If xx was transformed, the new list is the XX list; if yy was transformed, the new list is the YY list.
  4. Write the equation using the transformed variable name, for example height =13.04−40.22×1age= 13.04 - 40.22 \times \frac{1}{\text{age}}, never height =13.04−40.22×= 13.04 - 40.22 \times age.

Predicting from a transformed model

The fitted equation is linear in the transformed variable, so prediction is careful substitution:

  • xx transformed: transform the given xx first, then substitute. For life =63.12+2.842×(doctors)2= 63.12 + 2.842 \times (\text{doctors})^2 at 2 doctors, substitute 22=42^2 = 4.
  • yy transformed: substitute xx, which gives the transformed response, then undo it: 10value10^{\text{value}} for a log, value\sqrt{\text{value}} for a square, 1value\frac{1}{\text{value}} for a reciprocal.
  • Solving backwards (response given, explanatory unknown): rearrange for the transformed xx, then undo it last. For height =−3.8+12.6log⁡10(age)= -3.8 + 12.6 \log_{10}(\text{age}) and height 8.52 m, log⁡10(age)=0.9778\log_{10}(\text{age}) = 0.9778 and age =100.9778=9.5= 10^{0.9778} = 9.5 years.

Interpreting the transformed equation

The slope and intercept describe the transformed variable. In height =−3.8+12.6log⁡10(age)= -3.8 + 12.6 \log_{10}(\text{age}), height increases by 12.6 m, on average, for each increase of 1 in log⁡10(age)\log_{10}(\text{age}), which is a tenfold increase in age (for example from 1 to 10 years). In life =63.12+2.842×(doctors)2= 63.12 + 2.842 \times (\text{doctors})^2, life increases by 2.842 years for each increase of 1 in the square of the number of doctors, so the gain from each extra doctor grows as doctors increase. You will usually be asked to use a transformed equation to predict rather than to interpret its slope, but say "for each increase of one in log⁡10(age)\log_{10}(\text{age})" if you are asked.

All the usual warnings about linear models still apply. A transformation is justified only over the range of the data, so extrapolation is even riskier: the reciprocal tree model predicts a negative height for a 3-year-old tree (13.04−40.223=−0.3713.04 - \frac{40.22}{3} = -0.37 m). And a good fit is association, not proof of causation.

Formula

xx transformed: y=a+b×(transformed x)y = a + b \times (\text{transformed } x); transform xx, then substitute. yy transformed: (transformed y)=a+bx(\text{transformed } y) = a + b x; substitute, then undo: y=10a+bxy = 10^{a + bx} (log), y=a+bxy = \sqrt{a + bx} (square), y=1a+bxy = \frac{1}{a + bx} (reciprocal). Choose the model with the higher r2r^2 and a random residual plot.

Worked examples: fitting, predicting and choosing

Fitting a reciprocal model (2023 Examination 1 Question 11)

Step 1: identify the transformation and the axis
"A reciprocal transformation applied to the variable age", with 1age\frac{1}{\text{age}} as the explanatory variable. So x=1agex = \frac{1}{\text{age}} and y=heighty = \text{height}.
Step 2: make the new list
110=0.1\frac{1}{10} = 0.1, 18=0.125\frac{1}{8} = 0.125, 113=0.0769\frac{1}{13} = 0.0769, and so on for all 11 trees.
Step 3: regress
Linear regression of height on 1age\frac{1}{\text{age}} gives a=13.04a = 13.04 and b=−40.22b = -40.22, with r=−0.978r = -0.978.
Step 4: sense check the sign
Older trees are taller, but older trees have smaller 1age\frac{1}{\text{age}}, so the slope must be negative. Height =13.04−40.22×1age= 13.04 - 40.22 \times \frac{1}{\text{age}}. Answer: D.

Solving a log model backwards (2023 Examination 1 Question 12)

Step 1: substitute the known height
8.52=−3.8+12.6log⁡10(age)8.52 = -3.8 + 12.6 \log_{10}(\text{age}).
Step 2: isolate the log
12.6log⁡10(age)=12.3212.6 \log_{10}(\text{age}) = 12.32, so log⁡10(age)=0.97777…\log_{10}(\text{age}) = 0.97777\ldots
Step 3: undo the log
age =100.97777…=9.50= 10^{0.97777\ldots} = 9.50. Answer: D (9.5 years).

Check: log⁡109.5=0.9777\log_{10} 9.5 = 0.9777 and −3.8+12.6×0.9777=8.52-3.8 + 12.6 \times 0.9777 = 8.52.

A log transformation of the response (2025 Examination 1 Question 11)

Step 1: axis
log⁡10(life)\log_{10}(\text{life}) is the response, so doctors stays as the xx list and a new list log⁡10(life)\log_{10}(\text{life}) is the yy list: log⁡1064.6=1.8102\log_{10} 64.6 = 1.8102, ..., log⁡1079.1=1.8982\log_{10} 79.1 = 1.8982.
Step 2: regress
a=1.7879a = 1.7879, b=0.03830b = 0.03830. So log⁡10(life)=1.79+0.0383×doctors\log_{10}(\text{life}) = 1.79 + 0.0383 \times \text{doctors}. Answer: C.
Step 3 (if asked to predict)
At 2 doctors, log⁡10(life)=1.7879+0.0383×2=1.8645\log_{10}(\text{life}) = 1.7879 + 0.0383 \times 2 = 1.8645, so life =101.8645=73.2= 10^{1.8645} = 73.2 years. Keep the unrounded coefficients until the end: using the rounded 1.79 and 0.0383 gives 73.6, because a small change in a log becomes a larger change after 10…10^{\ldots}.

A squared transformation of the explanatory variable (2025 Examination 1 Question 12)

Step 1: new list
(doctors)2(\text{doctors})^2: 0.212=0.04410.21^2 = 0.0441, 0.422=0.17640.42^2 = 0.1764, ..., 2.052=4.20252.05^2 = 4.2025.
Step 2: regress life on it
Life =63.12+2.842×(doctors)2= 63.12 + 2.842 \times (\text{doctors})^2, r2=0.840r^2 = 0.840.
Step 3: predict
Doctors =2= 2 so (doctors)2=4(\text{doctors})^2 = 4: life =63.12+11.37=74.5= 63.12 + 11.37 = 74.5 years. Answer: C.

Choosing between models

For the life data, compare the four fitted lines: life on doctors (r2=0.717r^2 = 0.717), log⁡10(life)\log_{10}(\text{life}) on doctors (0.739), 1life\frac{1}{\text{life}} on doctors (0.760), life on (doctors)2(\text{doctors})^2 (0.840). The squared transformation of doctors explains the most variation: 84.0%84.0\% of the variation in life expectancy is explained by the variation in (doctors)2(\text{doctors})^2. Before finally choosing it, check that its residual plot shows no clear pattern.

Undoing a reciprocal on the response

A model is 1y=0.02+0.015x\frac{1}{y} = 0.02 + 0.015x. Predict yy when x=6x = 6.

Step 1: 1y=0.02+0.015×6=0.11\frac{1}{y} = 0.02 + 0.015 \times 6 = 0.11.

Step 2: y=10.11=9.09y = \frac{1}{0.11} = 9.09 (to two decimal places).

Common traps
Substituting the raw value
With life =63.12+2.842×(doctors)2= 63.12 + 2.842 \times (\text{doctors})^2, the input is 22=42^2 = 4, not 2. With a log model, the input is log⁡10x\log_{10} x.
Forgetting to undo a transformation on yy
log⁡10(life)=1.8645\log_{10}(\text{life}) = 1.8645 is not a life expectancy; 101.8645=73.210^{1.8645} = 73.2 is.
Regressing on the wrong lists
Put the transformed list where the transformed variable belongs: if 1age\frac{1}{\text{age}} is the explanatory variable it is the XX list, and height stays as YY. Option C in 2023 Question 11 (the untransformed regression) drew 24%24\% of students.
Wrong sign on a reciprocal slope
If yy increases with xx, the slope on 1x\frac{1}{x} is negative.
Transforming both axes
VCE transformations are applied to one axis only.
Choosing by the look of the equation
Choose by r2r^2 and the residual plot, or use the transformation the question names.
Rounding too early with a log response
Small rounding in a log becomes a larger error after raising 10 to the power.
Extrapolating
A transformed model can give absurd values (even negative heights) outside the data range.
Exam technique

In multiple choice, run the regression; do not try to eliminate options by inspection unless you are short of time. Two quick checks catch most wrong options: the sign of the slope (does the transformed variable increase or decrease as the original does?) and the size of the intercept (for a log response, the intercept must be close to the log of typical yy values). In written answers, show the transformed value explicitly ("(doctors)2=4(\text{doctors})^2 = 4" or "log⁡10(age)=0.9778\log_{10}(\text{age}) = 0.9778") so the marker can follow the method.

Where transformations fit in the course

Transformation is the last step in the linear-modelling cycle. You describe the scatterplot (direction, form, strength), fit a least squares line, and check it with a residual plot. When the residual plot shows a pattern, the form is non-linear, and transformation lets you keep using least squares on a re-expressed variable. The same tools, r2r^2 and the residual plot, then confirm that the transformed model is better.

Logarithms also appear in the Study Design's log (base 10) scales for data spread over several orders of magnitude. A log⁡10\log_{10} transformation is the same idea applied to a regression: it compresses large values so that a curve spread over a wide range becomes a line.

Note

Sometimes the dots on a scatterplot bend instead of lying along a line, so a straight line is the wrong model. You can fix this by changing one of the variables: square it, take its log, or take one over it. Pick the change that makes the dots straightest (the highest r2r^2 and no pattern in the residuals). Then fit a normal line to the changed numbers. To use it, change your input in the same way before you substitute, and if the yy variable was changed, change the answer back at the end.

Exam-style questions

Questions in the style of VCAA exam questions on this dot point, each with a worked answer. They are written by ExamExplained unless tagged "Past paper"; the year shows the paper a question is modelled on.

2023 VCAA Exam 1 Q11Past paper1 mark
The table below shows the height, in metres, and the age, in years, for 11 plantation trees. [Table (age, height): (10, 9.5), (8, 8.0), (13, 9.7), (9, 9.1), (11, 9.4), (14, 9.8), (6, 6.0), (4, 3.5), (12, 9.6), (7, 7.8), (5, 4.0).] A reciprocal transformation applied to the variable age can be used to linearise the scatterplot. With 1age\frac{1}{\text{age}} as the explanatory variable, the equation of the least squares line fitted to the linearised data is closest to A. height =−13.04+40.22×1age= -13.04 + 40.22 \times \frac{1}{\text{age}} B. height =−10.74+8.30×1age= -10.74 + 8.30 \times \frac{1}{\text{age}} C. height =2.14+0.63×1age= 2.14 + 0.63 \times \frac{1}{\text{age}} D. height =13.04−40.22×1age= 13.04 - 40.22 \times \frac{1}{\text{age}} E. height =16.56−22.47×1age= 16.56 - 22.47 \times \frac{1}{\text{age}}
Show worked answer →

Make a new list 1age\frac{1}{\text{age}} (for example 110=0.1\frac{1}{10} = 0.1, 18=0.125\frac{1}{8} = 0.125, ...), then run linear regression with 1age\frac{1}{\text{age}} as xx and height as yy:

a=13.0405…,b=−40.223…a = 13.0405\ldots, \qquad b = -40.223\ldots

So height =13.04−40.22×1age= 13.04 - 40.22 \times \frac{1}{\text{age}}, option D (60%60\% correct).

The slope must be negative: as age increases, 1age\frac{1}{\text{age}} decreases while height increases. Option C (24%24\%) is the regression of height on the untransformed age (r2=0.818r^2 = 0.818); the reciprocal model has r2=0.957r^2 = 0.957.

Source: VCAA 2023 General Mathematics Examination 1, Question 11, and the 2023 examination report.

2023 VCAA Exam 1 Q12Past paper1 mark
The scatterplot can also be linearised using a logarithm (base 10) transformation applied to the variable age. The equation of the least squares line is height =−3.8+12.6×log⁡10(age)= -3.8 + 12.6 \times \log_{10}(\text{age}). Using this equation, the age, in years, of a tree with a height of 8.52 m is closest to A. 7.9 B. 8.9 C. 9.1 D. 9.5 E. 9.9
Show worked answer →

This time the height is given and the age is unknown, so solve backwards and undo the log last:

8.52=−3.8+12.6log⁡10(age)8.52 = -3.8 + 12.6 \log_{10}(\text{age})

log⁡10(age)=8.52+3.812.6=0.97777…\log_{10}(\text{age}) = \frac{8.52 + 3.8}{12.6} = 0.97777\ldots

age=100.97777…=9.50…\text{age} = 10^{0.97777\ldots} = 9.50\ldots

The age is closest to 9.5 years, option D (76%76\% correct). A student who stops at log⁡10(age)=0.978\log_{10}(\text{age}) = 0.978 has found the transformed value, not the age.

Source: VCAA 2023 General Mathematics Examination 1, Question 12, and the 2023 examination report.

2025 VCAA Exam 1 Q11Past paper1 mark
The table below shows the life expectancy in years, life, and the number of doctors per 1000 people, doctors, for a sample of 10 countries in 2024. [Table (doctors, life): (0.21, 64.6), (0.42, 64.4), (0.59, 64.7), (0.79, 65.1), (1.12, 65.9), (1.42, 66.7), (1.72, 68.6), (1.77, 70.9), (1.94, 73.8), (2.05, 79.1).] A logarithmic (base 10) transformation was applied to the variable life. With log⁡10(life)\log_{10}(\text{life}) as the response variable, the equation of the least squares line fitted to the transformed data is closest to A. log⁡10(life)=1.57+0.0123×doctors\log_{10}(\text{life}) = 1.57 + 0.0123 \times \text{doctors} B. log⁡10(life)=1.63+0.0326×doctors\log_{10}(\text{life}) = 1.63 + 0.0326 \times \text{doctors} C. log⁡10(life)=1.79+0.0383×doctors\log_{10}(\text{life}) = 1.79 + 0.0383 \times \text{doctors} D. log⁡10(life)=1.85+0.0403×doctors\log_{10}(\text{life}) = 1.85 + 0.0403 \times \text{doctors}
Show worked answer →

The transformation is on the response variable, so doctors stays as xx and the new list log⁡10(life)\log_{10}(\text{life}) becomes yy (for example log⁡1064.6=1.8102\log_{10} 64.6 = 1.8102).

Linear regression gives a=1.7879…a = 1.7879\ldots and b=0.03830…b = 0.03830\ldots, so

log⁡10(life)=1.79+0.0383×doctors,\log_{10}(\text{life}) = 1.79 + 0.0383 \times \text{doctors},

option C (81%81\% correct).

Quick check: every life value is between 64 and 80, so log⁡10(life)\log_{10}(\text{life}) is between 1.80 and 1.90. An intercept of 1.57 or 1.63 would predict a life expectancy below 45 years at zero doctors, which does not fit the data.

Source: VCAA 2025 General Mathematics Examination 1, Question 11, and the 2025 examination report.

2025 VCAA Exam 1 Q12Past paper1 mark
A squared transformation was applied to the variable doctors. [Same 10 countries: (doctors, life) = (0.21, 64.6), (0.42, 64.4), (0.59, 64.7), (0.79, 65.1), (1.12, 65.9), (1.42, 66.7), (1.72, 68.6), (1.77, 70.9), (1.94, 73.8), (2.05, 79.1).] The equation of the least squares line fitted to this transformed data is of the form life =a+b×(doctors)2= a + b \times (\text{doctors})^2. Using this equation, the predicted life, in years, for a country with two doctors per 1000 people is closest to A. 73.6 B. 74.0 C. 74.5 D. 74.9
Show worked answer →

Step 1: fit the line to the transformed data. Make a list of (doctors)2(\text{doctors})^2 and regress life on it:

life=63.12+2.842×(doctors)2(r2=0.840).\text{life} = 63.12 + 2.842 \times (\text{doctors})^2 \quad (r^2 = 0.840).

Step 2: transform the input, then substitute. Two doctors per 1000 people gives (doctors)2=4(\text{doctors})^2 = 4:

life=63.12+2.842×4=74.48…\text{life} = 63.12 + 2.842 \times 4 = 74.48\ldots

The prediction is closest to 74.5 years, option C (61%61\% correct). Substituting 2 instead of 4 gives about 68.8, which is not an option, so students who went wrong usually made the regression step with the wrong lists.

Source: VCAA 2025 General Mathematics Examination 1, Question 12, and the 2025 examination report.

Practice questions

Original practice questions graded from foundation to exam level, each with a full worked solution. Try them before revealing the solution.

foundation2 marks
A scatterplot of yy against xx rises slowly at first and then more and more steeply. (a) Name three transformations from the VCE list that could linearise it. (b) Explain in one sentence what squaring xx does to the scatterplot.
Show worked solution →

(a) The curve is increasing and bends upwards (the bottom-right arc of the circle of transformations), so try x2x^2, log⁡10y\log_{10} y or 1y\frac{1}{y}. (1 mark for all three)

(b) Squaring xx stretches the large xx values much further apart than the small ones, which pulls the steep right-hand end of the curve out sideways until the points lie close to a line. (1 mark)

foundation2 marks
The model score=2+5log⁡10(time)\text{score} = 2 + 5 \log_{10}(\text{time}) was fitted to transformed data. Predict the score when (a) time =100= 100 (b) time =40= 40, correct to two decimal places.
Show worked solution →

(a) log⁡10100=2\log_{10} 100 = 2, so score =2+5×2=12= 2 + 5 \times 2 = 12. (1 mark)

(b) log⁡1040=1.60206…\log_{10} 40 = 1.60206\ldots, so score =2+5×1.60206…=10.01= 2 + 5 \times 1.60206\ldots = 10.01. (1 mark)

Always take the log of the input first; 5×405 \times 40 is never part of the working.

core2 marks
A reciprocal model is y=12.5−30×1xy = 12.5 - 30 \times \frac{1}{x}. (a) Predict yy when x=6x = 6. (b) Find the value of xx for which the model predicts y=10y = 10.
Show worked solution →

(a) 16\frac{1}{6} first: y=12.5−30×16=12.5−5=7.5y = 12.5 - 30 \times \frac{1}{6} = 12.5 - 5 = 7.5. (1 mark)

(b) 10=12.5−30x10 = 12.5 - \frac{30}{x}, so 30x=2.5\frac{30}{x} = 2.5 and x=302.5=12x = \frac{30}{2.5} = 12. (1 mark)

core2 marks
A log transformation was applied to the response variable, giving log⁡10(y)=0.84+0.105x\log_{10}(y) = 0.84 + 0.105x. (a) Predict yy when x=5x = 5, correct to one decimal place. (b) A student gives the answer 1.365. Explain the error.
Show worked solution →

(a) log⁡10(y)=0.84+0.105×5=1.365\log_{10}(y) = 0.84 + 0.105 \times 5 = 1.365, so y=101.365=23.17…≈23.2y = 10^{1.365} = 23.17\ldots \approx 23.2. (1 mark)

(b) 1.365 is the predicted value of log⁡10(y)\log_{10}(y), not of yy. Because the response was transformed, the last step must undo the log by raising 10 to that power. (1 mark)

core1 mark
A squared transformation was applied to the response variable, giving y2=4+2.5xy^2 = 4 + 2.5x. Predict yy when x=6x = 6, correct to two decimal places.
Show worked solution →

y2=4+2.5×6=19y^2 = 4 + 2.5 \times 6 = 19, so y=19=4.36y = \sqrt{19} = 4.36 (taking the positive root, as the data values are positive). (1 mark)

exam4 marks
For eight values of xx the response yy is: x=1,2,3,4,5,6,8,10x = 1, 2, 3, 4, 5, 6, 8, 10 and y=3.1,4.3,4.8,5.5,5.7,6.2,6.6,7.0y = 3.1, 4.3, 4.8, 5.5, 5.7, 6.2, 6.6, 7.0. (a) The least squares line of yy on xx has r2=0.898r^2 = 0.898, and its residuals are negative, then positive, then negative. What does this tell you? (b) Find the least squares line of yy on log⁡10x\log_{10} x, with coefficients to four significant figures, and its r2r^2. (c) Use it to predict yy when x=7x = 7, to two decimal places.
Show worked solution →

(a) The residual plot has a clear curved pattern, so the association is non-linear and a straight line on the raw data is not appropriate, despite the high r2r^2. (1 mark)

(b) New list log⁡10x\log_{10} x: 0,0.3010,0.4771,0.6021,0.6990,0.7782,0.9031,10, 0.3010, 0.4771, 0.6021, 0.6990, 0.7782, 0.9031, 1. Linear regression with this list as xx:

y=3.076+3.905log⁡10x,r2=0.996.y = 3.076 + 3.905 \log_{10} x, \qquad r^2 = 0.996.
(2 marks)

(c) log⁡107=0.8451\log_{10} 7 = 0.8451, so y=3.076+3.905×0.8451=6.38y = 3.076 + 3.905 \times 0.8451 = 6.38. (1 mark)

exam3 marks
For the 11 plantation trees in the 2023 VCAA question, r2r^2 is 0.818 for height on age, 0.917 for height on log⁡10(age)\log_{10}(\text{age}) and 0.957 for height on 1age\frac{1}{\text{age}}. The ages range from 4 to 14 years. (a) Which model should be used? Give a reason. (b) Use height =13.04−40.22×1age= 13.04 - 40.22 \times \frac{1}{\text{age}} to predict the height of a 20-year-old tree. (c) Comment on the reliability of this prediction.
Show worked solution →

(a) The reciprocal model: it has the highest coefficient of determination, so 95.7%95.7\% of the variation in height is explained by the variation in 1age\frac{1}{\text{age}} (and its residual plot shows no clear pattern). (1 mark)

(b) height =13.04−40.2220=13.04−2.011=11.03= 13.04 - \frac{40.22}{20} = 13.04 - 2.011 = 11.03 m. (1 mark)

(c) Unreliable: 20 years is outside the range of the data (4 to 14 years), so this is extrapolation. The log model predicts 12.6 m for the same tree, which shows how much two good-fitting models can disagree outside the data. (1 mark)

Practise this

Sources & how we know this

ExamExplained