CH 5 Regression
CH 5 Regression
e
i 1
2
i yˆ
i 1
i ( a bxi )
• Solving the following two normal equations for a and b
y na b x
xy a x b x 2
• Alternatively
xy x y
S xy n
b
S xx x
2
x n
2
a
y
b
x
n n
Coefficient of Determination
x y
2
2 xy
S xy n
R2
S xx S yy
x
2 x
2
y
2 y
2
n
n