topic badge
CanadaON
Grade 12

Correlation Coefficient

Lesson

A correlation coefficient is a value that tells you the strength of a relationship between two variables. It is denoted by the letter $r$r. Remember that a correlation does not necessarily imply a causation. 

A perfect positive correlation has a value of $1$1. That means that if we graphed the variables on a Cartesian plane, it would show a perfect, positive linear relationship. A perfect negative correlation has a value of $-1$1. It's a perfect negative linear relationship. No correlation therefore has a value of $0$0, indicating there is no relationship between the variables.

So far, so reasonable. What if I have a correlation coefficient of $0.6$0.6? $-0.53$0.53? What do they show? 

Well consider the entire correlation extremes ranging from $-1$1 to $1$1 as a continuum like this. 

Right in the middle is $0$0, we call this no correlation.

We further divide up the line to indicate other values with descriptions like Weak, Moderate and Strong (positive or negative). 

Whereabouts we place these divisions can, in some ways, be a little arbitrary.  Ultimately the larger $|r|$|r| gets, the closer to perfect it is and the closer to $0$0, the more it reflects no correlation. 

 

WEAK

A weak correlation, indicates there is some correlation but it is not considered to be very significant. Values less than $0.5$0.5 are generally considered weak.

 

STRONG

A strong correlation indicates that the connection between the variables is quite significant.  The exact value that is placed on where 'strong' begins is slightly different in different parts of the world ranging from statements that values larger than $0.7$0.7 are strong, or larger than $0.8$0.8 are strong.  But ultimately it's the idea that the larger the value the stronger the relationship that really matters here! 

 

MODERATE

A moderate correlation falls between weak or strong.  

 

 

Correlation Applet

 

Play with this applet to see how the correlation coefficient changes. Move each point. Try having one outlier and see how much that can change the correlation coefficient. Try moving the points so they are in a perfect straight line. What happens to the correlation coefficient value?

Remember!

Remember to always state if the correlation is positive or negative.

i.e. use words like weak negative, moderate positive or strong positive. 

 

Interpreting a correlation coefficient

Do schools cause cancer?

If I wanted to investigate the correlation between the number of schools in an area, and the number of cancer diagnoses, I would find there is a strong positive correlation coefficient. Does this mean that schools cause cancer?

No! This is because high numbers of cancer diagnoses will occur in highly populated areas. Highly populated areas will also need more schools. This is why you need to be careful and use common sense when considering the correlation coefficient and what you can interpret from it.

 

Crude Oil prices and Gas Prices

If, however, I looked into the price of a barrel of crude oil, and the price of gas I would again find a strong positive coefficient. With some common sense, again you can work out that the change in the price of crude oil would be causing the change in the price of gas, not the other way around.

 

Speeding Ticket Fines and Number of Speeding Tickets Issued

Consider a case where a council continually raises the fine for a speeding ticket over a few months and records the number of speeding tickets issued. The council calculates the correlation coefficient to be $-0.74$0.74 for the price of a ticket and the number of speeding tickets issued. What does this mean? Well we know the council is changing the value of the fine, so this is the cause. The higher the fine, the lower the number of speeding tickets, so the higher fine is a good deterrent for speeding. 

Calculating the correlation coefficient

This looks more complex than it is. Be careful when substituting in your values.

Remember!

As we are comparing two data sets we consider one data set as the $x$x values, and the other as the $y$y values. 

$n$n is the number of data points in each set.

 

question 

Given the following data:

$x$x $1$1 $2$2 $3$3 $4$4 $5$5 $6$6 $7$7
$y$y $-2$2 $-2.3$2.3 $-2.66$2.66 $-2.48$2.48 $-2.54$2.54 $-2.9$2.9 $-2.24$2.24

a) Calculate the correlation coefficient and give your answer to two decimal places.

Think: Substitute the relevant values into the equation.

Do:

$r$r =$\frac{7\times\left(-70.28\right)-28\times\left(-17.12\right)}{\sqrt{\left(7\times140-28^2\right)\left(7\times42.3952-\left(-17.12\right)^2\right)}}$7×(70.28)28×(17.12)(7×140282)(7×42.3952(17.12)2)

=$\frac{-12.6}{26.82744863}$12.626.82744863

=$-0.4697$0.4697 (to 4 d.p.)

b) Choose the best description of this correlation

Think: What does a negative correlation coefficient mean? What does the $-0.4697$0.4697 mean?

Do: Weak negative correlation.

Worked Examples

QUESTION 1

For the graph depicted, choose the correlation coefficient that best represents it.

Loading Graph...

Ten data points are plotted on a graph as solid black dots. The points are plotted at $\left(1,4\right)$(1,4), $\left(2,12\right)$(2,12), $\left(3,-4\right)$(3,4), $\left(4,10\right)$(4,10), $\left(5,-2\right)$(5,2), $\left(6,8\right)$(6,8), $\left(7,0\right)$(7,0), $\left(8,6\right)$(8,6), $\left(9,2\right)$(9,2)  and $\left(10,4\right)$(10,4). The points are scatted on the graph.
  1. $1$1

    A

    $0$0

    B

    $-1$1

    C

    $-0.64$0.64

    D

QUESTION 2

In a study, it was found that the correlation coefficient between heights of women and probability of being turned down for a promotion was found to be $-0.90$0.90.

Which is the most appropriate statement?

  1. There is no evidence of a linear relationship between heights of women and probability of being turned down for a promotion.

    A

    As the heights of women increases the probability of being turned down for a promotion increases.

    B

    As the heights of women increases the probability of being turned down for a promotion decreases.

    C

Question 3

Given the following data:

x $1$1 $4$4 $7$7 $10$10 $13$13 $16$16 $19$19
y $4$4 $4.25$4.25 $4.55$4.55 $4.4$4.4 $4.45$4.45 $4.75$4.75 $4.2$4.2
  1. Calculate the correlation coefficient and give your answer to two decimal places.

  2. Choose the best description of this correlation.

    Moderate negative

    A

    Strong positive

    B

    Weak negative

    C

    Moderate positive

    D

    Strong negative

    E

    Weak positive

    F

 

Outcomes

12D.D.2.1

Recognize that the analysis of two-variable data involves the relationship between two attributes, recognize the correlation coefficient as a measure of the fit of the data to a linear model, and determine, using technology, the relevant numerical summaries

What is Mathspace

About Mathspace