Professional Documents
Culture Documents
X
Zero Correlation
Measure of Linear Correlation
where xi = Xi X̄ and yi = Yi Ȳ
If the sum of all products of the deviations of variables X and Y from
their means is positive, the correlation between X and Y will be
positive. Symbolically, if
n n
Σ (Xi X̄i ) (Yi Ȳi ) = Σxi yi > 0 (2)
i i
Measure of Linear Correlation (Cont’d)
Σxi yi
= SXY (4)
n
Measure of Linear Correlation (Cont’d)
ΣX ΣY ΣX ΣY
= ΣXY X̄ ΣY Ȳ ΣX + nX̄ Ȳ = ΣXY ΣY ΣX + n
n n n n
nΣXY ΣX ΣY
= (8)
n
The denominator of equation 6 can also be expanded as follows
Measure of Linear Correlation (Cont’d)
ΣX
= ΣX 2 2X̄ ΣX + nX
n
= ΣX 2 X̄ ΣX
(ΣX )2
= ΣX 2
n
nΣX 2 (ΣX )2
= (9)
n
Measure of Linear Correlation (Cont’d)
Similarly
nΣY 2 (ΣY )2
Σy 2 = (10)
n
Substituting equations 8, 9 and 10 into equation 6 we get
The values for the correlation coe¢ cient is between 1 and +1.
When r is positive, it implies X and Y increase or decrease together.
If r = +1 it implies that there is perfect positive correlation between
X and Y.
Similarly, when r is negative, it implies X and Y move in opposite
direction
If r = 1 it implies that there is perfect negative correlation between
X and Y.
When r = 0 it implies that X and Y are uncorrelated.
The …gure below shows perfect positive and negative correlation.
Numerical Values of the Correlation Coe¢ cient (Cont’d)
Y Y
X X
r = +1 r = -1
Perfect Positive Correlation Perfect Negative Correlation
Proof that Numerical Values of the Correlation Coe¢ cient
is Unity
We can proof that r = 1 when the two variables are perfectly linearly
correlated.
Y X
y=Y-Y
Y θ
x=X- X
X
Proof that Numerical Values of the Correlation Coe¢ cient
is Unity (Cont’d)
Similarly
nΣY 2 (ΣY )2
Σy 2 = (13)
n
Substituting equations 8, 9 and 10 into equation 6 we get
Similarly
nΣY 2 (ΣY )2
Σy 2 = (15)
n
Substituting equations 8, 9 and 10 into equation 6 we get