10 Regression Multiple
10 Regression Multiple
10 Regression Multiple
ŷ : dependent var.
x1, x2 : independent var.
To find constants a, b1, b2 :
a y b1 x1 b2 x 2
y x1 x2
n n n
Test the significant of the Model “F” test:
Fc > Ft Fc < Ft
Model is valid for Model is not valid for
predicting (y) predicting (y)
• The standard error of estimate : S yx x= MSSE
1 2
1 10 2 -1 4 -3 -4 16 -12 3 9 1
1 8 4 -1 2 -1 -2 4 -2 1 1 1
2 6 6 0 0 1 0 0 0 0 1 0
2 5 5 0 -1 0 0 1 0 0 0 0
3 4 7 1 -2 2 -2 4 -4 2 4 1
3 3 6 1 -3 1 -3 9 -3 1 1 1
12 36 30 Zero Zero Zero -11 34 -21 7 16 4
Y= = 2 x 1= = 6
x 2= = 5
Find b1, b2 by solve 2 equations
(Y-Y) (X1-X1)= b1 (X1-X1)2+ b2 (X1-X1) (X2-X2)
(Y-Y) (X2-X2)= b1 (X1-X1) (X2-X2) + b2 (X2-X2)2
-11= 34 b1 – 21 b2 1 X21
7= -21 b1 + 16 b2 2 X34
-231= 714 b1 – 441 b2
238= -714 b1 + 544 b2
7= 103 b2
b2 = = 0.07
7 = -21 b1 + 1.12
7 – 1.12 = -21 b1
5.88 = -21 b1
b1= = -0.28
Find “a”
a = y – b 1 X 1 – b2 X 2
= 2 – (- 0.28) (6) – (0.07) (5)
= 2 + 1.68 – 0.35 = 3.33
The Regression Equation:
^
Y = a + b 1 X 1 + b2 X 2
^
Y= 3.33 – 0.28 X1 + 0.07 X2
“F” Test:
analysis of variance
1 2 3 4 5
Source of S.S D.F M.S.S Fc
variation
R 3.57 2 ÷
1.79
n-3 12.45
E 0.43 6-3 ÷ 0.14 ÷
3
T 4
5) Ft (2 ,3) = 9.55
Column Row
6) Fc > Ft
12.45 9.55
The Regression equation is Significant
can be used for Prediction.
Estimate Y when X1=5 & X2 = 10
= = 0.378
Exercises
a- Find Multiple Regression equation
b- Test of significance of Regression equation.
c- Estimate (y) when x1 = 10 & x2 = 15
d- Find coefficient of determination (R2) and
coefficient of Correlation (R) .
1 48 40 31 22 19 Y
9 8 6 5 2 X1
12 14 16 18 20 X2
2 5 4 3 2 1 Y
8 7 5 4 2 X1
3 4 5 7 10 X2