Bivariate data analysis and correlation (QCE General Mathematics Unit 3)
“Identify the explanatory and response variables, construct and use a scatterplot to describe an association between two numerical variables in terms of direction, form and strength, calculate Pearson's correlation coefficient r and the coefficient of determination R^2 from raw data using technology and interpret them, and use r to determine R^2 and vice versa”
Put the explanatory variable on the -axis and the response variable on the -axis, then describe the scatterplot by direction (positive or negative), form (linear or non-linear) and strength (strong, moderate or weak), noting outliers. Pearson's , calculated with technology, measures the direction and strength of a linear association from to . The coefficient of determination is the proportion of the variation in the response variable explained by the explanatory variable; to go back, with the sign from the direction.
What this dot point is asking
Bivariate data are pairs of measurements taken on the same individuals, such as the temperature and the number of pies sold on each day. The QCAA General Mathematics 2025 syllabus (Unit 3, Topic 1, Bivariate data analysis 1, "Identifying and describing associations between two numerical variables") asks you to
- identify the explanatory variable and the response variable,
- construct and use a scatterplot to identify the association,
- describe the association in terms of direction (positive or negative), form (linear or non-linear) and strength (strong, moderate or weak),
- calculate Pearson's correlation coefficient, , from raw data using technology, and interpret it to quantify the strength of a linear association,
- calculate the coefficient of determination, , from raw data using technology, and interpret it in terms of explained variation, and
- use to determine , and vice versa.
The same topic covers associations between two categorical variables (two-way tables), which has its own page. Fitting a line and making predictions comes next, in Topic 2.
The answer
Explanatory and response variables
The explanatory variable is the one that may explain, influence or be used to predict the other. The response variable is the one that responds. Ask: "which one would I use to predict the other?"
| Context | Explanatory () | Response () |
|---|---|---|
| Hours of study and exam mark | hours of study | exam mark |
| Age of a car and its price | age | price |
| Temperature and ice-creams sold | temperature | ice-creams sold |
The explanatory variable goes on the horizontal axis of a scatterplot and into the calculator's list.
Constructing a scatterplot
Each pair becomes one point. Put the explanatory variable on the horizontal axis, choose an even scale on each axis that covers the data (an axis need not start at 0), label each axis with the variable and its units, and plot every point accurately.
Describing an association
Describe three features, always in context:
- Direction. Positive if tends to increase as increases (points rise from left to right); negative if tends to decrease as increases.
- Form. Linear if the points are scattered about a straight line; non-linear if they follow a curve.
- Strength. How closely the points follow the pattern: strong, moderate or weak. If there is no pattern at all, say there is no association.
Also mention any outliers: points well away from the rest.
A full description sounds like: "There is a strong, negative, linear association between evening screen time and hours of sleep: students who spend more time on screens after 6 pm tend to sleep less."
Pearson's correlation coefficient,
measures the direction and strength of a linear association on a scale from to . You calculate it from the raw data with your calculator's statistics (two-variable or linear regression) mode.
- The sign gives the direction: positive, negative.
- The size, , gives the strength: is a perfect linear association (all points on a line) and means no linear association.
A commonly used guide for describing strength:
| Strength of linear association | |
|---|---|
| 0.75 to 1 | strong |
| 0.5 to 0.75 | moderate |
| 0.25 to 0.5 | weak |
| below 0.25 | none (or very weak) |
Two important limits:
- describes linear association only. Always look at the scatterplot first. Points on a perfect U-shaped curve (such as for from to ) have , even though the relationship is exact.
- is sensitive to outliers. One unusual point can greatly strengthen or weaken it.
The coefficient of determination,
is the square of (for a linear model), and it lies between 0 and 1. It tells you the proportion of the variation in the response variable that is explained by the variation in the explanatory variable. Quote it as a percentage and use the variable names:
", so about 92.3% of the variation in students' hours of sleep can be explained by the variation in their evening screen time."
The remaining is due to other factors and random variation.
Converting between and
Squaring loses the sign, so when you go from back to , choose the sign from the direction of the association (the scatterplot or the slope of the line). For example, with a negative association gives .
Explanatory variable on the -axis, response on the -axis. Describe an association by direction, form and strength (and outliers). Pearson's , from technology, measures the direction and strength of a linear association (). () is the proportion of the variation in the response variable explained by the explanatory variable. , with the sign from the direction.
1. Using the calculator
Use the screen time and sleep data (screen time 1.0, 1.5, 2.0, 2.5, 3.0, 3.5, 4.0, 5.0, 5.5, 6.0 hours; sleep 8.9, 8.6, 8.8, 8.1, 7.9, 8.2, 7.4, 7.3, 6.8, 6.9 hours) to find and .
- Variables
- Screen time is explanatory (); sleep is the response ().
- Calculator
- Enter the lists in statistics mode and choose linear regression: .
- .
- Answer
- , .
Marker's note: write to three decimal places and square the unrounded value.
2. Describing the association in context
Describe the association in Example 1.
- Direction
- and the points fall from left to right: negative.
- Form
- The points are scattered about a straight line: linear.
- Strength
- : strong.
- Answer
- There is a strong, negative, linear association between evening screen time and hours of sleep, with no obvious outliers. Students who spend more time on screens after 6 pm tend to sleep less.
3. Interpreting
Interpret in Example 1.
Answer. About 92.3% of the variation in the students' hours of sleep can be explained by the variation in their evening screen time. The other 7.7% is due to other factors (such as homework, sport or caffeine) and random variation.
Marker's note: "92.3% of the sleep is caused by screen time" is wrong on two counts. is about variation, and it does not show causation.
4. From to
For a group of houses, a scatterplot of distance from the city centre (km) against price shows prices falling as distance increases, with . Find .
- Magnitude
- .
- Sign
- Prices fall as distance increases: negative.
- Answer
- , a moderate negative linear association (just under the 0.75 guide for "strong").
5. The effect of an outlier
An eleventh student in Example 1 reports 2 hours of screen time and only 5 hours of sleep (they were unwell). Recalculate .
Calculator. With the extra point, .
Interpretation. One unusual point has changed the description from strong to weak. Investigate outliers before trusting , and report the analysis with and without the point if it is unrepresentative.
6. When misleads
The points , , , , , , lie exactly on . Find and comment.
Calculator. .
Comment. There is no linear association, but there is a perfect non-linear one. This is why you always check the form on a scatterplot before using .
- Swapping the variables
- Decide which variable explains the other before plotting or entering data.
- Describing with numbers only
- "" is not a description. Use the words direction, form and strength, in context.
- Giving as the percentage explained
- The percentage of variation explained comes from , not . means 81% explained, not 90%.
- Losing the sign
- is never negative. When converting to , take the sign from the direction of the association.
- Using for a curved pattern
- only measures linear association. Check the scatterplot first.
- Ignoring outliers
- A single outlier can change a lot.
- Claiming causation
- A strong association does not show that one variable causes the other; see the association and causation page.
For "describe the association" questions, write one sentence with the three words (direction, form, strength) and the variable names, then add a second sentence in plain language. For , use the sentence frame "About ...% of the variation in [response] can be explained by the variation in [explanatory]". When given and asked for , write and justify the sign from the scatterplot or context. If the question gives two possible explanatory variables, calculate (or ) for each and compare them explicitly.
Suppose you write down, for each student in your class, how long they spent on their phone last night and how long they slept. If you plot these as dots, you might see that the dots slope downwards: more phone, less sleep. That downward trend is a "negative association". The correlation number tells you how close the dots are to a straight line, from (perfect downhill line) to (perfect uphill line). Squaring it gives , which tells you what share of the differences in sleep can be linked to differences in phone time.
Exam-style questions
Questions in the style of QCAA 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.
Practice5 marksThe maximum temperature and the number of pies sold each day at a bakery are provided in the table. Maximum temperature (degrees C): 29, 20, 31, 27, 23, 25, 22, 33. Number of pies sold: 32, 39, 25, 33, 37, 35, 37, 30. a) Construct a scatterplot to display the data on the grid provided. [3 marks] b) Describe the association between the maximum temperature and the number of pies sold in terms of direction and strength. [2 marks]Show worked answer →
a) Scatterplot (3 marks). Maximum temperature is the explanatory variable, so it goes on the horizontal axis; pies sold goes on the vertical axis (1 mark). Scale both axes evenly to cover the data (for example 20 to 34 °C and 24 to 40 pies) and label them with units (1 mark). Plot all eight points accurately, such as , and (1 mark).
b) Description (2 marks). As the maximum temperature increases, the number of pies sold tends to decrease, so the association is negative (1 mark). The points lie close to a straight line (), so it is strong (1 mark).
A full description is "a strong, negative, linear association between maximum temperature and pies sold", but the two marks here are for direction and strength.
Practice4 marksHiroki believes more fish are caught on warmer days. Jiro believes the number of fish caught is more dependent on the number of people fishing. Temperature, t (degrees C): 32, 26, 20, 27, 23, 29. Number of fish caught, f: 530, 400, 320, 220, 180, 120. Number of people fishing, p: 46, 58, 38, 34, 30, 28. Calculate the correlation coefficient for each dataset and use the results to identify the explanatory variable for the stronger linear association. Use the least-squares line equation for the stronger association to predict the number of fish caught on a 25 degrees C day when 50 people are fishing.Show worked answer →
- Step 1: two correlations (1 mark)
- From the calculator, for temperature and fish caught, and for people fishing and fish caught.
- Step 2: choose the explanatory variable (1 mark)
- is much closer to 1, so the number of people fishing has the stronger linear association: Jiro is correct, and is the explanatory variable.
- Step 3: least-squares line (1 mark)
- .
- Step 4: predict (1 mark)
- The temperature is a distractor. , so about 415 fish.
for people fishing, so about 65% of the variation in fish caught is explained by the number of people fishing, compared with under 10% by temperature.
Original4 marksThe age (years) and price ($'000) of eight used cars of the same model are: age 1, 2, 3, 4, 5, 6, 7, 8; price 31.5, 27.0, 27.4, 22.1, 22.8, 17.2, 18.9, 13.6. (a) Identify the explanatory and response variables. (b) Use your calculator to determine and . (c) Describe the association. (d) Interpret in context.
Show worked answer →
(a) Age is the explanatory variable; price is the response variable (age helps explain price, not the reverse). (1 mark)
(b) and . (1 mark)
(c) A strong, negative, linear association: older cars of this model tend to sell for less. (1 mark)
(d) About 92.8% of the variation in the price of these cars can be explained by the variation in their age. (1 mark)
Original3 marksA scatterplot of hours of weekly exercise against resting heart rate shows a negative linear association. The coefficient of determination is . (a) Determine the value of . (b) Describe the strength and direction of the association. (c) What percentage of the variation in resting heart rate is **not** explained by exercise?
Show worked answer →
(a) . The association is negative, so . (1 mark)
(b) A strong, negative association: people who exercise more tend to have lower resting heart rates. (1 mark)
(c) , so 36% of the variation is due to other factors (such as age, fitness history or genetics) or random variation. (1 mark)
Original4 marksA farmer records annual rainfall (mm), fertiliser used (kg/ha) and crop yield (t/ha) for eight seasons. Rainfall: 410, 520, 380, 610, 450, 560, 490, 630. Fertiliser: 120, 90, 150, 110, 160, 100, 140, 130. Yield: 3.2, 3.4, 3.1, 3.8, 3.6, 3.5, 3.3, 4.1. (a) Calculate for rainfall against yield and for fertiliser against yield. (b) Which variable is the better explanatory variable for yield? Justify using .
Show worked answer →
(a) Rainfall: . Fertiliser: . (2 marks)
(b) Rainfall. , so about 75% of the variation in yield is explained by rainfall, compared with (about 1%) for fertiliser, which shows almost no linear association in these data. (2 marks)
Note that this does not show fertiliser has no effect in general; the farmer varied it only over a small range, and other variables changed at the same time.
Practice questions
Original practice questions graded from foundation to exam level, each with a full worked solution. Try them before revealing the solution.
foundation2 marksIdentify the explanatory and response variables: (a) the number of hours a candle has burned and its remaining height; (b) a person's height and their arm span, when using height to predict arm span.
Show worked solution →
(a) Explanatory: hours burned. Response: remaining height. (1 mark)
(b) Explanatory: height. Response: arm span. (1 mark)
foundation2 marks. Find and interpret it for a study of temperature (explanatory) and heating costs (response).
Show worked solution →
. (1 mark)
About 49% of the variation in heating costs can be explained by the variation in temperature. (1 mark)
foundation2 marks and the scatterplot slopes upward from left to right. Find and describe the association.
Show worked solution →
(positive because the scatterplot slopes upward). (1 mark)
A strong, positive association. (1 mark)
core3 marksDaily screen time after 6 pm (hours) and sleep (hours) for ten students: screen time 1.0, 1.5, 2.0, 2.5, 3.0, 3.5, 4.0, 5.0, 5.5, 6.0; sleep 8.9, 8.6, 8.8, 8.1, 7.9, 8.2, 7.4, 7.3, 6.8, 6.9. Find and and describe the association.
Show worked solution →
and . (2 marks)
A strong, negative, linear association: students with more evening screen time tend to sleep less. About 92% of the variation in sleep is explained by screen time. (1 mark)
core2 marksA data set has , but the scatterplot shows the points lying close to a U-shaped curve. A student says "there is no relationship". Evaluate this claim.
Show worked solution →
only measures linear association, so means there is almost no linear association. (1 mark)
The U-shaped pattern shows a strong non-linear relationship, so the claim is wrong: there is a relationship, but it is not linear and should not be used to describe it. (1 mark)
exam3 marksFor the ten students in the screen-time question, . An eleventh student reports 2 hours of screen time and 5 hours of sleep (they were unwell). With this student included, . Explain what has happened and what an analyst should do.
Show worked solution →
The new point is an outlier: far below the pattern of the other points. (1 mark)
A single outlier has weakened the association from strong () to weak (), because is sensitive to outliers. (1 mark)
The analyst should investigate it. If it is unrepresentative (the student was unwell), report the analysis with and without it, or justify excluding it; do not just delete it silently. (1 mark)