Junior Cycle Mathematics22.7 Scatter graphs and correlation

All books

22.7 Scatter graphs and correlation — Learn

Prerequisites: plotting coordinates from Chapter 17, and the mean from Section 22.5.

Objectives: plot a scatter graph from paired data; describe the correlation as positive, negative or none; describe its strength; explain why correlation does not prove cause.

By the end of this section you can look at two sets of data and say whether they are linked.

Two values for each person

Sometimes we collect two pieces of data from each person. Each student gives a sleep time and a screen time. Data with two values for each item is called bivariate data.

A scatter graph shows bivariate data. Each pair becomes one point. The first value goes along the horizontal axis and the second value goes up the vertical axis.

Correlation

The pattern of the points is called correlation. It describes how the two variables are related.

The correlation can also be strong or weak. A strong correlation means the points lie close to a straight line. A weak correlation means they are spread out around it.

The line of best fit

A line of best fit is a straight line drawn through the middle of the points. It shows the general trend. Draw it so that roughly the same number of points sit above the line as below it.

The line of best fit lets you estimate a value that was not measured. Read across from the horizontal axis to the line, then read down to the vertical axis.

Investigate the line of best fit

Predict. Before you move the controls, predict roughly where a straight line should cross the points so that about half of them sit above it and half below.

Figure 1

Test. The twenty points are the survey data from the chapter problem below. Move the steepness and the height of the line and watch the count of points above and below it. Find a position where the two counts are close.

Explain. Write two or three sentences. Say what makes a line a good fit, and use your line to estimate the sleep of a student with 6 hours of screen time.

The chapter problem

The survey recorded screen time and sleep for 20 students. Here are the pairs.

Student Screen time (hours) Sleep (hours)
1 1 9
2 1 10
3 2 9
4 2 10
5 2 8
6 3 8
7 3 8
8 3 9
9 4 7
10 4 8
11 4 8
12 5 7
13 5 6
14 5 7
15 6 6
16 6 7
17 7 5
18 7 6
19 8 5
20 8 5

Example 1. Describe the correlation.

As screen time increases, sleep time tends to decrease. The points fall from left to right, so the correlation is negative. The points lie fairly close to a straight line, so the correlation is strong.

Example 2. Use the trend to estimate the sleep of a student with 6 hours of screen time.

The students with 6 hours of screen time slept 6 and 7 hours. The trend suggests about 6.5 hours.

Correlation is not cause

A strong correlation does not prove that one variable causes the other. Both variables might be affected by a third one.

Screen time and sleep are negatively correlated. That does not prove that screens cause less sleep. Students who use screens late may also go to bed later for other reasons, or students who are busy may have both less screen time and more sleep.

The correct statement is: the data shows a link. It does not show why the link exists.

Watch out

Progress check

Return to the chapter problem. The scatter graph of screen time against sleep has points that fall from left to right.

  1. Is the correlation positive, negative or none?
  2. Is it strong or weak? Give a reason.
  3. Does the survey prove that screens cause less sleep? Explain.
  4. The school wants students to sleep at least 8 hours. Do the students with more screen time meet the target more or less often?

Keep your answers. In Section 22.8 you will decide what the survey can really support.

You should now be able to

Settings

Colour scheme

Light or dark pages. Your colour and layout stay the same.

Colour

The paper, ink and lettering. Your layout stays the same.

Quiet colours
Bold colours
Layout

How pages are arranged. Your colours stay the same.

Reading offline

Keep this book on this device and read it offline.