The Least Squares Method

The math behind linear regressions

Maarten De Baecke
Cantor’s Paradise
12 min readAug 13, 2021

--

Photo by Fakurian Design on Unsplash

You might have heard from the leaning tower of Pisa. During construction, the tower began to gradually lean to one side.

Let’s say that Gino, one of the engineers, wanted to predict the future incline of the tower. He wants to know if the incline will increase and by how much till next year. Gino’s only information is the following table…

--

--

I am currently studying engineering. In my free time, I like to write about science, math, and data science. Or, who knows, something completely different.