http://www.pythonreader.com/2025/04/solving-ordinary-least-squares-using-qr.html