You are on page 1of 3

Assume that the linear equation between two variables is like y=a+bx

qs=error of the assumption


qs=yi-(a+xi)
(qs)2=[yi-(a+bxi)]
n
Total Error=∑ ¿¿
i=1
(for all the n pair values)

Simplifying the above question will give us the following equations.

an+b∑x=∑y (1)

a∑x+b∑x 2=∑xy (2)

x y x2 xy
12 4772 144 57264
8 4612 64 36896
13 4785 169 62205
15 4920 225 73800
19 5068 361 96292
11 4730 121 52030
10 4688 100 46880
88 33575 1184 425367

a*6+b*88=33575 (1)

a*88+b*1184=425367 (2)

7a+88b=33575 (1)

88a+1184b=425367 (2)

7a+88b=33575 (1)*88

88a+1184b=425367 (2)*7

616a+7744b=2954600 (3)

616a+8288b=2977569 (4)

(4)-(3) 544b=22969
b=42.22

a=4265.63

because of that y=4265.63+42.22 x (5)

Total wages of 18 X class categories employees are,particular day

y=5025

b.)

when the total wages equal to Rs.4885

y=4885

then

4885=4265.63+42.22x

42.22x=4885-4265.63

42.22x=619.37

x= 619.37

42.22

x=14.67

You might also like