Photo AI

Last Updated Sep 27, 2025

Calculation of Correlation Coefficient Simplified Revision Notes

Revision notes with simplified explanations to understand Calculation of Correlation Coefficient quickly and effectively.

user avatar
user avatar
user avatar
user avatar
user avatar

286+ students studying

Calculation of Correlation Coefficient

Overview

The correlation coefficient, denoted by rr, 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:

r=nxyxy[nx2(x)2][ny2(y)2]r = \frac{n \sum xy - \sum x \sum y}{\sqrt{[n \sum x^2 - (\sum x)^2][n \sum y^2 - (\sum y)^2]}}

Where:

  • xx and yy are the two variables.
  • nn is the number of data points.
  • x\sum x, y\sum y, xy\sum xy, x2\sum x^2 and y2\sum y^2 are summations of the respective terms.

Steps for Calculation

  1. Organise the data: Create a table with columns for xx, yy, x2x^2, y2y^2 and xyxy
  2. Calculate the sums: Compute x\sum x, y\sum y, x2\sum x^2, y2\sum y^2 and xy\sum xy
  3. Substitute into the formula: Use the values to calculate rr. The value of rr will range from -1 to +1:
  • r=+1r = +1: Perfect positive correlation.
  • r=1r = -1: Perfect negative correlation.
  • r=0r = 0: No linear correlation.

Worked Examples

infoNote

Example 1: Positive Correlation

Problem: Calculate rr for the data below:

xxyy
12
24
36
48

Solution:

Step 1: Create a table:

xxyyx2x^2y2y^2xyxy
12142
244168
3693618
48166432

Sums:

x=10,y=20,x2=30,y2=120,xy=60\sum x = 10, \sum y = 20, \sum x^2 = 30, \sum y^2 = 120, \sum xy = 60


Step 2: Substitute into the formula:

r=4(60)(10)(20)[4(30)102][4(120)202]r = \frac{4(60) - (10)(20)}{\sqrt{[4(30) - 10^2][4(120) - 20^2]}}r=240200(120100)(480400)r = \frac{240 - 200}{\sqrt{(120 - 100)(480 - 400)}}r=4020×80=4040=1r = \frac{40}{\sqrt{20 \times 80}} = \frac{40}{40} = 1

Answer: r=1r = 1 (Perfect positive correlation).


infoNote

Example 2: Weak Negative Correlation

Problem: Calculate rr for the data below:

xxyy
110
28
36
44

Solution:

Step 1: Create a table:

xxyyx2x^2y2y^2xyxy
110110010
2846416
3693618
44161616

Sums:

x=10,y=28,x2=30,y2=216,xy=60\sum x = 10, \sum y = 28, \sum x^2 = 30, \sum y^2 = 216, \sum xy = 60


Step 2: Substitute into the formula:

r=4(60)(10)(28)[4(30)102][4(216)282]r = \frac{4(60) - (10)(28)}{\sqrt{[4(30) - 10^2][4(216) - 28^2]}}r=240280(120100)(864784)r = \frac{240 - 280}{\sqrt{(120 - 100)(864 - 784)}}r=4020×80=4040=1r = \frac{-40}{\sqrt{20 \times 80}} = \frac{-40}{40} = -1

Answer: r=1r = -1 (Perfect negative correlation).


Summary

  • The correlation coefficient rr quantifies the strength and direction of a linear relationship between two variables.
  • Use the formula:
r=nxyxy[nx2(x)2][ny2(y)2]r = \frac{n \sum xy - \sum x \sum y}{\sqrt{[n \sum x^2 - (\sum x)^2][n \sum y^2 - (\sum y)^2]}}
  • rr ranges from -1 to +1, with values near 00 indicating weak or no correlation.
  • Steps to calculate:
    1. Organise data into a table.
    2. Calculate summations (x\sum x, y\sum y, etc.).
    3. Substitute into the formula.
  • Interpret rr: Positive values indicate direct correlation, negative values indicate inverse correlation.
Books

Only available for registered users.

Sign up now to view the full note, or log in if you already have an account!

500K+ Students Use These Powerful Tools to Master Calculation of Correlation Coefficient

Enhance your understanding with flashcards, quizzes, and exams—designed to help you grasp key concepts, reinforce learning, and master any topic with confidence!

190 flashcards

Flashcards on Calculation of Correlation Coefficient

Revise key concepts with interactive flashcards.

Try Mathematics Flashcards

19 quizzes

Quizzes on Calculation of Correlation Coefficient

Test your knowledge with fun and engaging quizzes.

Try Mathematics Quizzes

29 questions

Exam questions on Calculation of Correlation Coefficient

Boost your confidence with real exam questions.

Try Mathematics Questions

27 exams created

Exam Builder on Calculation of Correlation Coefficient

Create custom exams across topics for better practice!

Try Mathematics exam builder

322 papers

Past Papers on Calculation of Correlation Coefficient

Practice past papers to reinforce exam experience.

Try Mathematics Past Papers

Other Revision Notes related to Calculation of Correlation Coefficient you should explore

Discover More Revision Notes Related to Calculation of Correlation Coefficient to Deepen Your Understanding and Improve Your Mastery

96%

114 rated

Scatter Plots & Correlation

Scatter Plots

user avatar
user avatar
user avatar
user avatar
user avatar

457+ studying

188KViews

96%

114 rated

Scatter Plots & Correlation

Correlation Coefficient

user avatar
user avatar
user avatar
user avatar
user avatar

443+ studying

184KViews

96%

114 rated

Scatter Plots & Correlation

Estimation of Correlation Coefficient

user avatar
user avatar
user avatar
user avatar
user avatar

421+ studying

198KViews

96%

114 rated

Scatter Plots & Correlation

Scatter Plots

user avatar
user avatar
user avatar
user avatar
user avatar

287+ studying

187KViews
Load more notes

Join 500,000+ Leaving Cert students using SimpleStudy...

Join Thousands of Leaving Cert Students Using SimpleStudy to Learn Smarter, Stay Organized, and Boost Their Grades with Confidence!

97% of Students

Report Improved Results

98% of Students

Recommend to friends

500,000+

Students Supported

50 Million+

Questions answered