(5.5)To assure that a minimum is reached, the partial derivatives of the squared
error terms function
will be taken with respect to aand b.
The partial derivatives will then be set equal to zero.
(5.6)(5.6)∂∂∂∂eaYabXebYX X b XiNi
iN
i
iNiNiNii
iNiNiN121
111121
121 1 12020=
====
= = =∑
∑∑∑∑
∑ ∑ ∑=− − −==− − −=∂∂ebY a bX XYX X b XiNiii
iNii
iN
i
iNiN121
11112122=
====∑
∑∑∑∑
=−−−=− − −()()∂
=−−−
=− − −
==== =∑
∑∑∑ ∑
e
a
YabX
YabX
iNii
iNi
iNiN
i
iN12
1111 121
2
∂
()()
[(YbXii)]
iN
−+
=∑ α
21eYY Y bX
iN
ii i i
iNiN
12122=== 1 1∑∑∑[ −= −+
ˆ][( )]α