MatPed,

the linear regression straight line needs to evaluate all the points of the curve; it can't be calculate as your proposal.