"Least squares as random walks" by Alex Kostinski, Glenn Ierley et al.
 

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

Share

COinS