Professional Documents
Culture Documents
by
Dr. Rajesh Moharana
Department of Mathematics
School of Advanced Sciences
Vellore Institute of Technology
Vellore, India
Types of Regression:
I If there are only two variables under consideration, then the regression
is called simple regression.
I If there are more than two variables under consideration, then the
regression is called multiple regression.
I If there are more than two variables under consideration, and only the
relation between two variables is established, after excluding the effect of
the remaining variables, then the regression is called partial regression.
Notes: P
XY
If Xi = xi − x, Yi = yi − y , then byx = P i 2i .
Xi
Similarly
P
XY
bxy = P i 2i .
Yi
The two regression lines given in Eq. (1) and (3) are identical if
byx × bxy = 1 or ρ2 = 1 or ρ = ±1.
The two regression lines always intersect at (x, y ).
When ρ = 0, the equations of the lines of regression are x = x and
y = y which are the equations of the lines parallel to the axes.
x 1 2 3 4 5 8 10
y 9 8 10 12 14 16 15
P P
xi 33 yi 84
Solution 1: x = n = 7 = 4.714 and y = n = 7 = 12.
x y xy x2
1 9 9 1
2 8 16 4
3 10 30 9
4 12 48 16
5 14 70 25
8 16 128 64
10 15 150 100
P P P
n xi yi − xi y
byx = P 2 P 2 i = 0.867
n xi − ( xi )
y −y = byx (x − x)
⇒ y − 12 = 0.867(x − 4.714)
⇒y = 0.867x + 7.9129.
x 1 2 3 4 5 6 7
y 2 4 7 6 5 6 5
P P
xi 28 yi 35
Solution 2: x = n = 7 = 4 and y = n = 7 = 5.
x y X =x −x Y =y −y X2 Y2 XY
1 2 -3 -3 9 9 9
2 4 -2 -1 4 4 2
3 7 -1 2 1 1 -2
4 6 0 1 0 0 0
5 5 1 0 1 1 0
6 6 2 1 4 4 2
7 5 3 0 9 9 0
28 35 0 0 28 16 11
MAT 2001 ((Statistics for Engineers)) rajesh.moharana@vit.ac.in 11 / 16
Conti...
P
Xi Yi 11
byx = P 2 = = 0.3928
Xi 28
P
Xi Yi 11
bxy = P 2 = = 0.6875
Yi 16
The regression equation of y on x is
y −y = byx (x − x)
⇒ y − 5 = 0.3928(x − 4)
⇒y = 0.393x + 3.428.
x −x = bxy (y − y )
⇒ x − 4 = 0.6875(y − 5)
⇒x = 0.688y + 0.56.
MAT 2001 ((Statistics for Engineers)) rajesh.moharana@vit.ac.in 12 / 16
Conti...
Problem 3: From the following results, obtain the two regression equa-
tions and estimate the yield of crops when the rainfall is 29 cms and the
rainfall when the yield is 600 kg.
y = 4.16x + 397.328
and x = 0.065y − 6.346.
i.e., when the rainfall is 29 cms, the yield of the crop is 517.968 kg, and
when the yield is 600 kg, the rainfall is 32.654 cms.