This is also the motivation for other alternatives such as robust trend estimation (which minimizes the distance rather than squared distance from the linear model; but it doesn't have the nice closed -
form analytical solution that least squares has).