Working out the correlation coefficient
Working out the correlation coefficient
For each point, multiply the deviation of from its mean, , by the deviation of from its mean, :
- a point right of the mean and above it, or left of it and below – the product is positive;
- a point right and below, or left and above – the product is negative.
In a positive relation most points are of the first kind, and the sum of the products is positive; in a negative relation – the sum is negative; with no linear relation the products cancel each other out.
Raw data is the data itself, as it was measured. The mean of the products is divided by the product of the two standard deviations, so that comes out between and 1 and has no units:
is the number of points, and , are the standard deviations of and of .
Five pupils wrote down how many exercises they did at home () and how many exercises they got right in a quiz ().
, .
| The product | ||||
|---|---|---|---|---|
| 1 | 2 | 4 | ||
| 2 | 4 | 0 | 0 | |
| 3 | 5 | 0 | 1 | 0 |
| 4 | 4 | 1 | 0 | 0 |
| 5 | 5 | 2 | 1 | 2 |
- The sum of the products: 6.
- , and .
- : a strong positive linear relation.
Standardised data is the standard scores of the data: and . In them the division by the standard deviations is already done, and is the mean of the products of the standard scores:
This formula shows why does not change when a number is added to the data or the units are changed: the standard scores do not change. With a lot of data, is worked out on a calculator or in a spreadsheet.
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | |
|---|---|---|---|---|---|---|---|
| 2 | 1 | 4 | 3 | 7 | 5 | 6 |
Work out .
/ – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power
/ – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power
Work out .
/ – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power
/ – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power
Work out the correlation coefficient, to two decimal places.
/ – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power
/ – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power
The owner of a shop selling tablets looked at the relation between the screen size in inches () and the number of minutes a customer needs to decide to buy the tablet ().
On one day 8 different models were sold.
| Screen size | 9 | 9 | 9 | 9 | 11 | 11 | 11 | 11 |
|---|---|---|---|---|---|---|---|---|
| Minutes | 2 | 10 | 10 | 10 | 10 | 10 | 10 | 18 |
Work out and . Write in the card.
/ – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power
/ – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power
Work out and . Write in the card.
/ – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power
/ – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power
Work out the correlation coefficient.
/ – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power
/ – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power
Here are the standard scores of five pupils in two tests.
| 0 | 0.5 | 1.5 | |||
|---|---|---|---|---|---|
| 0.5 | 0 | 1.5 |
Work out the correlation coefficient.
/ – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power
/ – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power
/ – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power
/ – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power