Respuesta :

I am not sure, but  I think you are talking about the least square method