Statistics (regression and correlation)
Questions, answers, definitions and videos for Statistics (regression and correlation), Grade 12 Mathematics (CAPS).
Study notes
Bivariate data and scatter plots
Bivariate data has two values for each item, e.g. the hours a learner studied () and their test mark (). We plot the pairs as points on a scatter plot, to see whether there is a relationship.
- Independent variable (, horizontal axis): the one that is controlled or comes first (hours studied).
- Dependent variable (, vertical axis): the one that responds (the mark).
Describe the pattern:
- Linear, quadratic or exponential (the shape of the points)
- Positive (as increases, increases) or negative ( decreases)
- Strong (the points lie close to a line) or weak
The least squares regression line
The line of best fit, calculated so that it fits the points as closely as possible, is the least squares regression line:
where is the gradient and is the -intercept. Find and with your calculator in STAT mode (choose the option, enter the - and -values, then read and ).
The line always passes through the point .
Predicting: substitute an -value into the equation. A prediction inside the range of the data (interpolation) is reliable; one far outside it (extrapolation) is less reliable.
The correlation coefficient $r$
measures how strong the linear relationship is. .
- close to : strong positive correlation
- close to : strong negative correlation
- close to : no (or very weak) linear correlation
As a guide: is strong, is moderate, and is weak. Your calculator gives in the same STAT menu.
Correlation is not causation: a strong correlation does not prove that one thing causes the other.
Common mistakes
- Swapping the variables: must be the independent variable.
- Writing the equation as with the calculator's values in the wrong places. The calculator gives .
- Saying is "weak" because it is negative. The size shows the strength; the sign shows the direction.
- Trusting predictions far outside the range of the data.
Practice questions
Try each question on paper first, then tap Show answer to check your working.
Question 1 (easy)
Describe the correlation for each value of :
(a) (b) (c)
Show answerHide answer
- (a) strong positive
- (b) very weak (almost no) negative
- (c) strong negative
Question 2 (easy)
A study records the number of hours learners watch TV per day and their test marks. Which is the independent variable? Explain.
Show answerHide answer
The hours of TV. It is the variable we think may influence the marks, so it goes on the -axis.
Question 3 (medium)
The regression line for the price of a used car (, in thousands of rand) against its age (, in years) is .
(a) Interpret the gradient.
(b) Predict the price of a 6-year-old car.
(c) Why would the model not work for a 15-year-old car?
Show answerHide answer
(a) For every extra year of age, the price drops by about R18 000.
(b) , so about R102 000.
(c) : a negative price makes no sense. This is far outside the data (extrapolation), so the model is not reliable there.
Question 4 (medium)
The mean of the -values is and the regression line is . Calculate .
Show answerHide answer
The regression line passes through :
Question 5 (exam level)
The hours that eight learners studied () and their marks () are: , , , , , , , . The scatter plot and regression line are shown.
(a) Use a calculator to determine the equation of the least squares regression line.
(b) Determine the correlation coefficient and describe the correlation.
(c) Predict the mark of a learner who studies for 9 hours.
Show answerHide answer
(a) and , so .
(b) : a very strong positive correlation.
(c) , so about 90%. (This is just outside the data, so treat it with some caution.)
Latest questions
Ask a questionDefinitions
No definitions added yet.
Videos
No videos added yet.