Linear Regression Derivation -Math

So let’s see how to derive the a0 and a1 value from y = a0 + ai1*x , This is not a normal form derivation.

Here the matrices can be solver in any form

--

--