ICOME
    FOLLOW US: facebook twitter instagram youtube
JOIN ICOME
JOIN ICOME
JOIN ICOME

Regression

Regression :A mathematical relation-ship between two corelated variables is called regression . (one variable will be independent and another will be dependent).
Regression Line : Regression lines, gives us a relation-ship between dependent and independent variables, that is very helpful to forecast .
There are two types of regression lines

(1) . line y on x , y = a + bx
y = dependent variable.
x = independent variable.
a and b are unknown parameters.

(2) . line x on y , x = a + by
x = dependent variable.
y = independent variable.
a and b are unknown parameters.
There are two methods to find regression lines

(1) . Least square method or Normal equations method .

(2) . Regression coefficient method.

To find regression equations using .


(1) Least square method

(i) Line y on x .

y = a+bx

∑ y = na + b∑ x ----------(i)

∑ xy = a ∑ x + b∑x2 --------------(ii)

On solving these two Normal equations , we get the value of a and b .

(ii) Line x on y

x = a + by

∑ x = na + b∑ y ----------(i)

∑ xy = a ∑ y + b∑y2 --------------(ii)

On solving these two Normal equations , we get the value of a and b .

(2) To find regression equations using
regression coefficient method .

(i) Line y on x .

y = a+bx

y - y̅ = byx (x - x̅)

where y̅ = mean of y , x̅ = mean of x

byx = regression coefficient y on x .

byx = r
σy/σ x
=
cov(xy)/σx . σy
.
σy/σ x
=
cov(xy)/σ x2


=
1/n ∑(x-x̅)(y-y̅)/ 1/n ∑(x-x̅)2
=
∑(x-x̅)(y-y̅)/ ∑(x-x̅)2


=
1/n ∑xy - x̅y̅)/ 1/n ∑x2 - (x̅)2
=
1/n∑xy - (∑x/n).(∑y/n)/1/n∑x2 - (∑x/n)2


=
∑xy - (∑x . ∑y/n)/∑x2 - (∑x)2/n


(ii) Line x on y .

x = a+by

x - x̅ = bxy (y - y̅)


where y̅ = mean of y , x̅ = mean of x

bxy = regression coefficient x on y .

bxy = r
σx/σ y
=
cov(xy)/σx . σy
.
σx/σ y
=
cov(xy)/σ y2


=
1/n ∑(x-x̅)(y-y̅)/ 1/n ∑(y-y̅)2
=
∑(x-x̅)(y-y̅)/ ∑(y-y̅)2


=
1/n ∑xy - x̅y̅)/ 1/n ∑y2 - (y̅)2
=
1/n∑xy - (∑x/n).(∑y/n)/1/n∑y2 - (∑y/n)2


=
∑xy - (∑x . ∑y/n)/∑y2 - (∑y)2/n


Note:Regression coefficient are independent of change of origin but not of scale.