Presentation On Regression Analysis: Presented by
Presentation On Regression Analysis: Presented by
Presentation On Regression Analysis: Presented by
REGRESSION ANALYSIS
PRESENTED BY:
ALOK TIWARI
PG09-40064
VARUN GROVER
PG09-40108
MEANING OF REGRESSION:
GRAPHICALLY Or
LESAST SQUARES
REGRESSION
LESAST SQUARES
X 3 2 7 4 8
Y 6 1 8 5 9
Solution-:
X Y XY X2 Y2
3 6 18 9 36
2 1 2 4 1
7 8 56 49 64
4 5 20 16 25
8 9 72 64 81
2 2
X 24 Y 29 XY 168 X 142 Y 207
Y na b X
2
XY a X b X
29=5a+24b…………………(i)
168=24a+142b
84=12a+71b………………..(ii)
348=60a+288b………………(iii)
420=60a+355b………………(iv)
Y=0.66+1.07X
X na b Y
2
XY a Y b Y
24=5a+29b………………………(i)
168=29a+207b…………………..(ii)
X=0.49+0.74Y
The calculation by the least squares method are quit cumbersome when the
values of X and Y are large. So the work can be simplified by using this
method.
The formula for the calculation of Regression Equations by this method:
Regression Equation of X on Y- (X X) b xy (Y Y)
Regression Equation of Y on X-
(Y Y) b yx ( X X)
Where, b xy and b = Regression Coefficient
yx
xy xy
b xy and b yx 2
2
y x
Example2-: from the previous data obtain the regression equations by
Taking deviations from the actual means of X and Y series.
X 3 2 7 4 8
Y 6 1 8 5 9
Solution-:
X Y y Y Y x2 y2 xy
x X X
3 6 -1.8 0.2 3.24 0.04 -0.36
2 2
X 24 Y 29 x 0 y 0 x 26 . 8 y 38 . 8 xy 28 . 8
Regression Equation of X on Y is
(X X) b xy (Y Y)
xy
b xy 2
y
28 . 8
X 4 .8 Y 5 .8
38 . 8
X 4 .8 0 . 74 Y 5 .8
………….(I)
X 0 . 74 Y 0 . 49
Regression Equation of Y on X is
(Y Y) b yx ( X X)
xy
b yx 2
x
28 . 8
Y 5 .8 X 4 .8
26 . 8
Y 5 .8 1 . 07 ( X 4 .8 )
Y 1 . 07 X 0 . 66 ………….(II)
It would be observed that these regression equations are
same as those obtained by the direct method .
Solution-:
Dev. Dev.
From From
X Y assu. assu.
d
2
Mean 6 dy
2 dxdy
Mean 7 x
(dx)=X-7 (dy)=Y-6
3 6 -4 16 0 0 0
2 1 -5 25 -5 25 +25
7 8 0 0 2 4 0
4 5 -3 9 -1 1 +3
8 9 1 1 3 9 +3
2
X 24 Y 29 dx 11
2
dx 51 dy 1 dy 39 d xd y 31
X 24 Y 29
X X 4 .8 Y Y 5 .8
N 5 N 5
5 ( 31 ) ( 11 )( 1)
b xy 2
5 ( 39 ) ( 1)
155 11
b xy
195 1
144
b xy
194
b xy 0 . 74
The Regression equation of X on Y-:( X X) b xy (Y Y)
(X 4 .8 ) 0 . 74 (Y 5 .8 )
X 0 . 74 Y 0 . 49
The Regression coefficient of Y on X-:
N d xd y dx d
y
b yx 2
2
N dx d
x
5 ( 31 ) ( 11 )( 1)
b yx 2
5 ( 51 ) ( 11 )
155 11
b yx
255 121
144
b yx
134
b yx 1 . 07
The Regression Equation of Y on X-:
(Y Y) b yx ( X X)
(Y 5 .8 ) 1 . 07 ( X 4 .8 )
Y 1 . 07 X 0 . 66
Book:
Fundamentals of STATISTICS
Written by:
B.M Aggarwal
Job execution