This is kind of a follow-up question from this post: Gradient descent vs lm() function in R?

Is there any literature available for the QR decomposition concept involved in the lm() function in R?

  • 3
    $\begingroup$ It is a pretty common decomposition in linear algebra QR Decomposition $\endgroup$
    – bdeonovic
    Apr 21, 2014 at 1:04

1 Answer 1


As Benjamin has commented (+1) the QR decomposition is extensively used and studied regarding its use for solving least squares problems. Book-wise I have used the following books in the past:

  1. Matrix Computations by Golub and van Loan (the reference book on the subject)
  2. Numerical Methods for Least Squares Problems by Bjõrck (quite computational and to the point but strictly speaking not statistically minded)
  3. Matrix Algebra From a Statistician's Perspective by Harville (great book that probably covers all essential parts of dealing with matrices a statistician should know)

I think these books will probably cover most aspects one might care for regarding the usage QR decompositions for linear models. Please note that all three books mentioned do assume some basic knowledge of linear algebra (nothing hard-core); if you do not have that I recommend going through/looking up Introduction to Linear Algebra by Strang. It is quite manageable and gets you up to speed with what you will need for more advanced applications without being overly mathematical about it.

Ah, and this thread: Reference book for linear algebra applied to statistics? might also come in handy when looking for references.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.