Professional Documents
Culture Documents
Price = f (Qty.)
Sales = f(advt.)
Yield = f(Fertilizer)
No. of students = f(Infrastructure)
Earning = f(Education)
Weight = f(Height)
Production = f(Employment)
Importance of Regression Analysis
Y
X
on
X
r=+1 r = -1
High Degree of Positive Correlation
X
on
Y
nY
Xo
Yo
nX
High Degree of Negative Correlation
X
on
Y
Low Degree of Positive Correlation
X
on
Y
Y
on
X
Yo
nX
Low Degree of Positive Correlation X
on
Y
No Correlation
Y on X
X on Y
r=0
METHODS OF CALCULATING REGRESSION EQUATIONS
REGRESSION
XY a Y b Y 2
XY a X b X 2
Example1-:From the following data obtain the two regression equations using
the method of Least 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
X 24 Y 29 XY 168 X 2 142 Y 2 207
Y na b X XY a X b X 2
29=5a+24b…………………(i)
168=24a+142b
84=12a+71b………………..(ii)
348=60a+288b………………(iii)
420=60a+355b………………(iv)
Y=0.66+1.07X
Now to find the regression equation of X on Y ,
The two normal equation are
X na b Y
XY a Y b Y 2
24=5a+29b………………………(i)
168=29a+207b…………………..(ii)
X=0.49+0.74Y
Through Regression Coefficient:
Deviations from the Arithmetic mean method:
The calculation by the least squares method are quit difficult 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 ) bxy (Y Y )
Regression Equation of Y on X-
(Y Y ) byx ( X X )
X 3 2 7 4 8
Y 6 1 8 5 9
Solution-:
X Y y Y Y x2 y2 xy
xX X
3 6 -1.8 0.2 3.24 0.04 -0.36
bxy
xy
y 2
28.8
X 4.8 Y 5.8
38.8
X 4.8 0.74Y 5.8
………….(I)
X 0.49 0.74Y
Regression Equation of Y on X is
(Y Y ) byx ( X X )
byx
xy
x 2
28.8
Y 5 .8 X 4 .8
26.8
Y 5.8 1.07( X 4.8)
Y 0.66 1.07 X ………….(II)
It would be observed that these regression equations are same as those
obtained by the direct method .
N d xd y d x d y N d xd y d x d y
bxy
Nd 2
y d
y
2 byx
Nd 2
x d
x
2
Example-3: From the data given in previous example calculate regression
equations by assuming 7 as the mean of X series and 6 as the mean of Y series.
Solution-:
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
X 24 Y 29 d x 11 d x2 51 d y 1 d 2
y 39 d d
x y 31
X 24 Y
Y 29
Y 5.8
X X 4.8 N 5
N 5
The Regression Coefficient of X on Y-: N d xd y d x d y
bxy
Nd d y2
y
2
5(31) ( 11)(1)
bxy
5(39) ( 1) 2
155 11
bxy
195 1
144
bxy
194
bxy 0.74
( X X ) bxy (Y Y )
The Regression equation of X on Y-:
( X 4.8) 0.74(Y 5.8)
X 0.74Y 0.49
N d xd y d x d y
The Regression coefficient of Y on X-: byx
N d x2 d
x
2
5(31) (11)(1)
byx
5(51) (11) 2
155 11
byx
255 121
144
byx
134
byx 1.07
The Regression Equation of Y on X-:
(Y Y ) byx ( X X )
(Y 5.8) 1.07( X 4.8)
Y 1.07 X 0.66
It would be observed the these regression equations are same as those
obtained by the least squares method and deviation from arithmetic mean .
Outcomes