5. CORRELATION
REGRESSION EQUATIONS
SHORT CUT METHOD
X 0N Y
X-𝑋
̅=r*
σx
σy
(y-𝑦
̅)
OR
X-𝑋
̅=bxy(y-𝑦
̅)
y 0N X
Y-𝑌
̅=r* σY/ σX(X-𝑋
̅)
OR
y-𝑦
̅=byx(X-𝑋
̅)
X Dx dx2
Y Dy dy2
dx.dy
1 -2 4 6 -1 1 2
2 -1 1 8 1 1 -1
3 0 0 7 0 0 0
4 1 1 6 -1 1 -1
5 2 4 8 1 1 2
10 4 2
𝑥̅=3, 𝑦
̅=7
X 1 2 3 4 5
Y 6 8 7 6 8
6. CORRELATION
r=
∑𝑑𝑥.𝑑𝑦
√∑𝑑𝑥2.∑𝑑𝑦2
=2/√10 ∗ 4
=.32
σX =√∑𝑑𝑥2/𝑁
=√10/5
=1.41
σY =√∑𝑑𝑌2/𝑁
=√4/5
=.89
X on Y
X-𝑋
̅=r*
σx
σy
(y-𝑦
̅)
X-3=.32*1.41/.89(Y-7)-----------(1)
X=0.51Y-.57
Y on X
Y-𝑌
̅=r* σY/ σX(X-𝑋
̅)
Y-7=.32*.89/1.41(X-3)
Y=.2X+6.4
7. CORRELATION
Least squares method/ Direct Method
X on Y
X=a+by------------(1)
∑x= Na+b ∑y
∑xy= a ∑y+b ∑y2
Y on X
Y=a+bX------------(2)
∑Y= Na+b ∑X
∑xy= a ∑X+b ∑X2
QUESTION2:
Y=?,X=30
X Y XY X2
Y2
1 6 6 1 36
2 8 16 4 64
3 7 21 9 49
4 6 24 16 36
5 8 40 25 64
∑X=15 ∑Y=35 ∑XY=107 55 249
X=a+by------------(1)
∑x= Na+b ∑y
X(population) 1 2 3 4 5
Y(no. of TV
demanded)
6 8 7 6 8
8. CORRELATION
∑xy= a ∑y+b ∑y2
15= 5a+35b
107= a35+249b
a=-0.5
b=0.5
lets substitute the values in the equation-(1)
X=.5y-.5
Y on X
Y=a+bX------------(2)
∑Y= Na+b ∑X
∑xy= a ∑X+b ∑X2
(35= 5a+b 15)*3
107= a15+55b---B
-105=-15a-45b---A
----------------------------
2=10b
b=.2
put the value of b in eq B
a=6.4
b=0.2
lets substitute the values in the equation-(2)
9. CORRELATION
Y=6.4+0.2X
Relationship b/w Correlation coefficient & regression
coefficients
Correlation coefficient
r=√𝑏𝑦𝑥 ∗ 𝑏𝑥𝑦
r=√. 2 ∗ .5
r=.32
find the value of y when x =7?
Y=6.4+0.2*7
Y=7.8
Exercise question:
X 1 2 3 4 5 6 7 8 9
Y 9 8 10 12 11 13 14 16 15
Regression equations, correlations coefficients_?
Y=?, x=6.2