Least squares as random walks
Document Type
Article
Publication Date
6-15-2025
Department
Department of Physics
Abstract
Linear least squares (LLS) is perhaps the most common method of data analysis, dating back to Legendre, Gauss and Laplace. Framed as linear regression, LLS is also a backbone of mathematical statistics. Here we report on an unexpected new connection between LLS and random walks. To that end, we introduce the notion of a random walk based on a discrete sequence of data samples (data walk). We show that the slope of a straight line which annuls the net area under a residual data walk equals the one found by LLS. For equidistant data samples this result is exact and holds for an arbitrary distribution of steps.
Publication Title
Physics Letters, Section A: General, Atomic and Solid State Physics
Recommended Citation
Kostinski, A.,
Ierley, G.,
&
Kostinski, S.
(2025).
Least squares as random walks.
Physics Letters, Section A: General, Atomic and Solid State Physics,
545.
http://doi.org/10.1016/j.physleta.2025.130449
Retrieved from: https://digitalcommons.mtu.edu/michigantech-p2/1503