The worksheet for correlation coefficient helps you to understand how to correlation coefficient. The step by step procedure explains how to perform such calculations easily.
Correlation Coefficient formula:
Find Correlation coefficient:
Find Correlation coefficient for X and Y values are given below
X= (1,2,3,4,5)
Y= {11,22,34,43,56}
Solution:
Step 1: Find Mean for X and Y
X=15/5=3
Y=166/5=33.2
Step 2: Calculate Standard Deviation for Y inputs:
σx=
√(1/(N-1)*((x1-xm)2+(x2-xm)2+..+(xn-xm)2))
=√(1/(5-1)((11-33.2)2+(22-33.2)2+(34-33.2)2+(43-33.2)2+(56-33.2)2))
=√(1/4((-22.2)2+(-11.2)2+(0.8)2+(9.8)2+(22.8)2))
=√(1/4((492.84)+(125.44)+(0.64)+(96.04)+(519.84)))
=√(308.7)
=17.5699
Step 3: Standard Deviation for X Inputs:
σx=
√(1/(N-1)*((x1-xm)2+(x2-xm)2+..+(xn-xm)2))
=√(1/(5-1)((1-3)2+(2-3)2+(3-3)2+(4-3)2+(5-3)2))
=√(1/4((-2)2+(-1)2+(0)2+(1)2+(2)2))
=√(1/4((4)+(1)+(0)+(1)+(4)))
=√(2.5)
=1.5811
Σ((X - μx) (Y - μy))
=(1-3)(11-33.2)+(2-3)(22-33.2)+(3-3)(34-33.2)+(4-3)(43-33.2)+(5-3)(56-33.2)
=(-2*-22.2) + (-1*-11.2) + (0* 0.8) + (1 *9.8) + (2* 22.8)
=44.4 + 11.2 + 0 + 9.8 + 45.6
=111
Correlation Coefficient = 111/((5-1)*1.5811*17.5699)
Correlation Coefficient (r) = 0.9989
Hence the correlation coefficient between the two given data set is 0.9989
When you attempt to solve such on your own, use this correlation coefficient Calculator to verify your answers.