Scatter Plots & Correlation (Leaving Cert Mathematics): Revision Notes
📚 Revision Notes
Calculation of Correlation Coefficient
Overview
The correlation coefficient, denoted by , measures the strength and direction of a linear relationship between two variables.
Remember: You can use your calculator to input the data and easily find the correlation coefficient.
However, you can also use the following formula:
Where:
- and are the two variables.
- is the number of data points.
- , , , and are summations of the respective terms.
Steps for Calculation
- Organise the data: Create a table with columns for , , , and
- Calculate the sums: Compute , , , and
- Substitute into the formula: Use the values to calculate . The value of will range from -1 to +1:
- : Perfect positive correlation.
- : Perfect negative correlation.
- : No linear correlation.
Worked Examples
infoNote
Example 1: Positive Correlation
Problem: Calculate for the data below:
| 1 | 2 |
| 2 | 4 |
| 3 | 6 |
| 4 | 8 |
Solution:
Step 1: Create a table:
| 1 | 2 | 1 | 4 | 2 |
| 2 | 4 | 4 | 16 | 8 |
| 3 | 6 | 9 | 36 | 18 |
| 4 | 8 | 16 | 64 | 32 |
Sums:
Step 2: Substitute into the formula:
Answer: (Perfect positive correlation).
infoNote
Example 2: Weak Negative Correlation
Problem: Calculate for the data below:
| 1 | 10 |
| 2 | 8 |
| 3 | 6 |
| 4 | 4 |
Solution:
Step 1: Create a table:
| 1 | 10 | 1 | 100 | 10 |
| 2 | 8 | 4 | 64 | 16 |
| 3 | 6 | 9 | 36 | 18 |
| 4 | 4 | 16 | 16 | 16 |
Sums:
Step 2: Substitute into the formula:
Answer: (Perfect negative correlation).
Summary
- The correlation coefficient quantifies the strength and direction of a linear relationship between two variables.
- Use the formula:
- ranges from -1 to +1, with values near indicating weak or no correlation.
- Steps to calculate:
- Organise data into a table.
- Calculate summations (, , etc.).
- Substitute into the formula.
- Interpret : Positive values indicate direct correlation, negative values indicate inverse correlation.