Back to homeMathematics · 1st Bach. Social Sciences · Change subject
Start for free
BAC1 ss · Mathematics
Statistics · Statistics

Scatter plots and correlation

Before calculating anything, a scatter plot already tells you a great deal: whether two variables rise together, whether one falls when the other rises, or whether there is no visible relationship. Learning to read it is the first step towards not calculating a meaningless correlation coefficient, and towards not trusting a prediction that is unreliable.

Before you start, make sure you know: Plotting in the plane (3rd ESO)
Before you start, make sure you know: Bivariate distributions (4th ESO)

What a scatter plot is

Scatter diagram in the first quadrant with several points showing an increasing trend and the coordinates of one point marked. XY (xᵢ, yᵢ) of one individual
Practice★☆☆Not started
Look at the following scatter diagrams shown below. Identify in each case whether the correlation is positive, negative or zero.

Look at the following scatter diagrams shown below. Identify in each case whether the correlation is positive, negative or zero.

Graph A Graph B Graph C
Solve
Practice★☆☆Not started
Match each of the following pairs of variables with the type of scatter diagram you would expect to obtain (increasing, decreasing or with no defined shape): a) The…

Match each of the following pairs of variables with the type of scatter diagram you would expect to obtain (increasing, decreasing or with no defined shape):

  1. a) The number of kilometres driven by a car and the fuel remaining in its tank.
  2. b) The height of a group of teenagers and their mark in an English exam.
  3. c) An athlete's training hours and their personal best in a 100-metre sprint.
  4. d) The outdoor temperature in summer and the energy consumption of air conditioning units.
Solve

Direction and strength of the scatter plot

Comparison of two scatter plots with an increasing trend: one with strong linear correlation and points tightly grouped along an imaginary line, and one with weak correlation and widely scattered points. narrow: strong scattered: weak or none decreasing: negative
Practice★☆☆Not started
Look at the following scatter diagram representing the relationship between weekly training hours ($X$) and points scored in a season by a group of basketball players…

Look at the following scatter diagram representing the relationship between weekly training hours ($X$) and points scored in a season by a group of basketball players ($Y$).

0 2 4 6 8 10 12 10 20 30 40 Training hours (X) Points scored (Y)

Based on the shape of the scatter diagram, answer:

  1. a) Is it a positive or negative relationship?
  2. b) How would you describe the strength of the correlation: strong or weak?
  3. c) What sign do you expect the covariance $\sigma_{xy}$ to have for these data?
Solve
Practice★☆☆Not started
We compare two scatter diagrams shown in the following graphs. Both show a positive relationship between the variables. a) In which of the two graphs are the points…

We compare two scatter diagrams shown in the following graphs. Both show a positive relationship between the variables.

Graph A x y Graph B x y
  1. a) In which of the two graphs are the points closer to a possible regression line?
  2. b) Which of the two will have a correlation coefficient $r$ closer to $1$?
  3. c) If in graph A the value of $r$ is $1$, what reasonable value (between $0$ and $1$) could you assign to graph B?
Solve
Practice★☆☆Not started
The weight ($X$) and height ($Y$) of the players in a basketball team have been measured. The scatter diagram shows a very elongated and narrow shape following an upward…

The weight ($X$) and height ($Y$) of the players in a basketball team have been measured. The scatter diagram shows a very elongated and narrow shape following an upward trend.

What does a "narrow" diagram indicate regarding the strength of the correlation? What would we call the relationship between weight and height in this case (positive or negative)?

Solve

Sign of the covariance and possible values of $r$

Comparison of three scatter plots: negative linear correlation, a scattered plot with no correlation, and positive linear correlation. −1 0 1 correlationstrong negative nocorrelation correlationstrong positive
Practice★☆☆Not started
The direction of the relationship between two variables indicates how one varies when the other changes. Determine whether a positive correlation, negative correlation…

The direction of the relationship between two variables indicates how one varies when the other changes. Determine whether a positive correlation, negative correlation exists, or whether the variables are uncorrelated in the following cases:

  1. a) The number of absences from class and the final mark for the course.
  2. b) A person's shoe size and their average mark in Mathematics.
  3. c) The outdoor temperature in summer and the energy consumption of air conditioning units.
  4. d) The age in years of a mobile phone and its resale price on the second-hand market.
Solve
Practice★☆☆Not started
The covariance $\sigma_{xy}$ provides information about the direction of joint variation of two variables. Without carrying out complex calculations, look at the…

The covariance $\sigma_{xy}$ provides information about the direction of joint variation of two variables. Without carrying out complex calculations, look at the following data relating the temperature of a soft drink ($X$, in $^\circ C$) to the time it has been out of the fridge ($Y$, in minutes):

Time ($Y$) 5 10 15 20 25
Temperature ($X$) 6 9 13 18 22
  1. a) As time increases, does the temperature tend to increase or decrease?
  2. b) Justify, based on your previous answer, whether the covariance will be positive, negative or zero.
Solve
Practice★☆☆Not started
Pearson's correlation coefficient, $r$, is a dimensionless measure that varies within a specific range. Of the following values, state which ones are not possible for a…

Pearson's correlation coefficient, $r$, is a dimensionless measure that varies within a specific range. Of the following values, state which ones are not possible for a correlation coefficient and explain why:

  1. a) $r = 0,85$
  2. b) $r = -1,2$
  3. c) $r = 2,5$
  4. d) $r = -0,4$
  5. e) $r = 0$
Solve

Fitting a line by eye and the danger of extrapolating

Scatter plot with a line of best fit that distinguishes the reliable interpolation section from the risky extension by extrapolation. region with data: interpolate, reliable outside range: extrapolate, risky
Practice★★☆Not started
The following table shows the distance covered ($X$, in km) and the time taken ($Y$, in min) by a cyclist on training rides: | Distance ($X$) | 10 | 15 | 20 | 25 | 30 |…

The following table shows the distance covered ($X$, in km) and the time taken ($Y$, in min) by a cyclist on training rides:

Distance ($X$) 10 15 20 25 30 35
Time ($Y$) 22 35 42 58 70 82
  1. a) Draw the scatter diagram.
  2. b) Sketch freehand the line of best fit for the points (regression line).
  3. c) Using the line you have drawn, estimate how long it would take the cyclist to cover 45 km. Do you think this estimation is reliable?

You can do it on paper and send a photo with your answer.

Solve
Practice★★☆Not started
A study has been conducted on the relationship between the number of books read per year ($X$) and the score in a reading comprehension test ($Y$) for a group of…

A study has been conducted on the relationship between the number of books read per year ($X$) and the score in a reading comprehension test ($Y$) for a group of students. The resulting scatter diagram is shown below:

0 2 4 6 8 10 20 40 60 80 100 Number of books read (X) Test score (Y)
  1. a) State whether a deterministic (functional) relationship or a statistical relationship exists. Explain the difference between both concepts using this example.
  2. b) Classify the correlation according to its sign and its strength (strong, moderate or weak).
  3. c) Could we state that "reading more books necessarily causes getting a higher mark"? Explain the difference between correlation and causation.
Solve
Practice★★★Not started
A biologist measures the height of an exotic plant species ($Y$, in cm) as a function of the amount of nitrogenous fertiliser applied ($X$, in mg). She/He observes that,…

A biologist measures the height of an exotic plant species ($Y$, in cm) as a function of the amount of nitrogenous fertiliser applied ($X$, in mg). She/He observes that, initially, the height increases rapidly with the fertiliser, but beyond a certain amount, the plant becomes saturated and the height stabilises or even decreases slightly due to toxicity.

100 200 300 0 50 100 150 200 Fertiliser (mg) Height (cm) Saturation / Toxicity
  1. Analyse the scatter diagram and determine whether a linear regression model would be suitable for describing this relationship across the entire domain of $X$.

  2. If the biologist calculates Pearson's correlation coefficient for all the data and obtains a value close to $0$, does this mean that the variables are independent? Justify your answer based on the shape of the scatter diagram.

Solve

Typical mistakes: non-quantitative variables, mixed groups and scales

Scatter diagram with two widely separated groups of points, each with its own line of best fit and a clear trend on its own. two groups, each with a clear trend on its own
Practice★☆☆Not started
Explain, giving reasons, why the following data could not be correctly represented using a scatter diagram in the context of bivariate statistics: | Student | Eye colour…

Explain, giving reasons, why the following data could not be correctly represented using a scatter diagram in the context of bivariate statistics:

Student Eye colour Favourite sport
Marta Blue Basketball
Jorge Brown Football
Elena Green Tennis
Solve
Practice★★★Not started
In a study on urban demography, population density (inhabitants/$km^2$) is represented on the $X$ axis and the average rent price ($€/m^2$) on the $Y$ axis. The…

In a study on urban demography, population density (inhabitants/$km^2$) is represented on the $X$ axis and the average rent price ($€/m^2$) on the $Y$ axis. The resulting scatter diagram displays a very peculiar structure: two clearly distinct groups of points ("clusters"). Group 1 corresponds to peripheral neighbourhoods and Group 2 to historic centre neighbourhoods.

  1. If within each separate group the correlation is positive and strong, but when considering all points together the scatter diagram appears to have no clear trend, what problems would we encounter when attempting to calculate a single Pearson correlation coefficient for the entire city?

  2. Explain how the existence of hidden qualitative variables (such as neighbourhood type) can "mislead" the interpretation of a bivariate scatter diagram.

Solve
Practice★★★Not started
Consider a scatter diagram with a very strong positive linear correlation ($r = 0,98$). Suppose that we transform all the values of variable $X$ using the operation…

Consider a scatter diagram with a very strong positive linear correlation ($r = 0,98$). Suppose that we transform all the values of variable $X$ using the operation $X' = X + 50$ and all the values of variable $Y$ using $Y' = 3 \cdot Y$.

  1. Describe what changes the scatter diagram would undergo in the plane (translation, deformation, change of scale).

  2. Reason, without performing calculations, whether the new correlation coefficient $r'$ will be greater than, less than, or equal to the original $r$.

  3. Would the reliability of the predictions change if we used the new transformed scatter diagram? Explain why.

Solve

Summary

See all the exercises in this section