I've been asked a question regarding a linear model made with R's lm
:
"Did the regression use linear or non-linear iterative least squares?"
I searched a bit and [think that I] understand the difference between the two, but couldn't find any evidence of R's use of linear least squares in lm
(which is the one I think it uses).
I combed throuhg lm
and its underlying function lm.fit
documentation, but couldn't find anything related.
I think the question I was asked is a dumb question, and it's probably wrongly formulated, but I'd appreciate any help as to how I could reply to it.