You are on page 1of 20

DEPARTMENT OF TECHNICAL EDUCATION

ANDHRA PRADESH
Name : M.L.Kameswari
Designation : Sr. Lecturer
Branch : Commercial and Computer Practice
Institute : GPW, Bheemunipatnam
Year/Semester : IV semester.
Subject : Quantitative Techniques-II
Sub. Code : CCP 403
Topic : Regression Equations and Regression
Coefficients
Duration : 100 Minutes
Sub-topic : RE - taking deviations from assumed
mean
Teaching Aids : PPT
CCP403.36 TO 37 1
OBJECTIVES

On completion of this class, you would be able to:


 Solve exercise on Regression Equations through
Regression Coefficients
 by taking deviations from assumed mean

CCP403.36 TO 37 2
Example 1

From the data given below find the two Regression


Equations
Take Assumed mean as X = 3 and Y = 2 respectively

CCP403.36 TO 37 3
Ex. Contd

X 1 5 3 2 1 1 7 3

Y 6 1 0 0 1 2 1 5

If X = 5, find Y
X = ∑ X / N = 23 / 8 = 2.875
Y = ∑ Y / N = 16 / 8 = 2

CCP403.36 TO 37 4
Solution Ex. 1

Calculation of Regression Equations


X X-A dx2 Y Y-A dy2 dxdy
1 -2 4 6 +4 16 -8
5 +2 4 1 -1 1 -2
3 0 0 0 -2 4 0
2 -1 1 0 -2 4 +2
1 -2 4 1 -1 1 +2
1 -2 4 2 0 0 0
7 +4 16 1 -1 1 -4
3 0 0 5 +3 9 0
 x=23  dx=-1  dx2  Y=16  dy=0  dy2=36  dxdy
=33 = -10
5
CCP403.36 TO 37
Solution Contd

 dxd y   dx. d y / N
b xy 
 dy 2  (dy ) 2 N
10  ( 1 X 0) / 8

33  ( 1) 2 / 8

10  0 / 8

33  0.125

  10 / 32.875

  0.304

CCP403.36 TO 37 6
Solution Contd

byx = dxdy - dx .  dy / N
Σ dx2 – (Σ dx)2 / N
= -10-(-1 x 0)/ 8
33-(-1)2/ 8
= -10- 0/8
33-0.125
= -10/32.875
= -0.304

CCP403.36 TO 37 7
Solution Contd

 X- X = bxy (Y - Y )
 X - 2.875 = -0.278(Y - 2)
 X - 2.875 = -0.278Y + 0.556
 X = -0.278Y + 0.556 + 2.875
 X = -0.278Y + 3.431

CCP403.36 TO 37 8
Solution Contd

Y- Y = byx (X -X )
Y–2 = -0.304(X – 2.875)
Y – 2 = -0.304X + 0.874
Y = -0.304X + 0.874 + 2
Y = -0.304X + 2.874

CCP403.36 TO 37 9
Solution Contd

If X = 5, Y value will be,

Y = -0.304X + 2.874

= - 0.304 x 5 + 2.874

= -1.52 + 2.874

= 1.354

CCP403.36 TO 37 10
Example 2
Data of ten students in the internal test and the
end examination for the maximum of 50

Internal 25 28 30 32 35 36 38 39 42 45
marks
End exam 20 26 29 30 25 18 26 35 35 46
marks

 Obtain the two Regression Equations and determine


i) The most likely internal mark for the end exam mark of 25
ii) The most likely end exam mark for the internal mark of 30

CCP403.36 TO 37 11
Solution to Ex. 2

Let the internal marks and End examination


marks are x and y respectively
Internal marks = Actual Mean = 35
End exam marks = Actual Mean = 29

CCP403.36 TO 37 12
Solution contd

Calculation of RE
X Y X-X = Y-Y = x2 y2 xy
x y
25 20 -10 -9 100 81 90
28 26 -7 -3 49 9 21
30 29 -5 0 95 0 0
32 30 -3 1 9 1 -3
35 25 0 -4 0 16 0
36 18 1 -11 1 121 -11
38 26 3 -3 9 9 -9
39 35 4 6 16 36 24
42 35 7 6 49 36 42
45 46 10 17 100 289 170
358 598 324
Σx2 Σy2 Σxy
13
CCP403.36 TO 37
Solution Contd

The line of Regression of Y on X


Y – Y = byx (X – X)

byx = ∑xy/∑x2 = 324/358 = .905

The line of Regression of Y on X = Y-29 = .905(X-35)


Y-29 = .905X – 31.675
Y = .905X – 31.675 + 29
Y = .905X – 2.675

CCP403.36 TO 37 14
Solution contd

The line of regression of X on Y

X – X = bxy ( y – y )
bxy = ∑xy/∑y2 = 324/598 = .5418

X – 35 = .542 (Y – 29)

X = 0 .542 Y + 19.282

CCP403.36 TO 37 15
Solution contd

ii) most likely internal mark for end exam mark 25 can
be get by substituting y = 25 in equation X and y

X = .542 x 25 + 19.282 = 32.83

CCP403.36 TO 37 16
Solution contd

 Most likely end exam mark for the internal mark of


30 can be get from the regression line of y on x by
substituting X = 30
 Y = .905 x 30 – 2.675 = 24.475

CCP403.36 TO 37 17
SUMMARY

 In this class you solved


 Exercise on Regression Equations through Regression
Coefficients.
 By taking deviations from actual mean and assumed mean

CCP403.36 TO 37 18
ASSIGNMENT - 1

In a correlation study the following values are obtained.


X Y
Mean 65 67
Standard deviation 2.5 3.5
Coefficient of correlation 0.8
Find the two regression equations
X = 0.57 Y + 26.72
Y = 1.12x -508

CCP403.36 TO 37 19
Frequently Asked Questions

 Calculate coefficient of correlation and regression line


of Y on X for the data given below

X 1 2 3 4 5 6

Y 9 8 10 12 11 13

Ans: r = 0.893, Y = 45x + 9.93

CCP403.36 TO 37 20

You might also like