Two-Variable Regression Model: The Problem of Estimation: Gujarati 4e, Chapter 3
Two-Variable Regression Model: The Problem of Estimation: Gujarati 4e, Chapter 3
Y
Yi SRF: Yˆi ˆ1 ˆ2 X i
û3
û1
uˆi Yi Yˆi Yi ˆ1 ˆ2 X i
û4
û2 Minimizing the sum of the
residuals zero
ˆ
u 2
i 2 1 Y ˆ ˆ X 0
ˆ
i 1 2 i
1
ˆ
u 2
i 2 1 Y ˆ ˆ X X 0
ˆ
i 1 2 i i
2
Y X i i ˆ1 X i ˆ2 X i2
ˆ
2
n X iYi X i Yi
X X Y Y x y
i i i i i i
n X i X i
2 2
X X i x i
2 2
i
ˆ1 i Yi X i X iYi
X 2
Y ˆ2 X
n X X i
2 2
i
n x
var ˆ1
i
X 2
2
dan
se ˆ1 =
i
X 2
2
i n x 2
i
2 i
ˆ
u 2
dan i
ˆ
u 2
nk nk
xy
2
xi yi
2
uˆ y 2 xi yi x 2
ˆ
x y x
2 2 22 2 2 2 i i
i
i i i i 2
i
Yi Y total Yˆi
Yˆ Y due to regression
i
Y
r2 tells how well
the SRF fits the data
X
Xi
yˆi2 uˆi2
ˆ22 xˆi2 uˆi2
TSS ESS RSS
01/06/22 Prepared by Sri Yani Kusumastuti 12
The coefficient of determination r2: a
measure of “Goodness of Fit”
ESS RSS
1
TSS TSS
2
ESS Yˆi Y
r
2
Y Y
2
TSS i
r r2
r
x y i i
x y
2
i
2
i
n X Y X Y
i i i i
r
n X X n Y Y
2 2 2 2
i i i i