Starting from n − 1 in sample variance, use the intuition of a fitted line chasing the data to see why regression uses n − 2.
Sep 22, 2026

From nearest neighbours to kernel and local linear regression: local weighting, Taylor expansion, weighted least squares, and Python implementations.
Sep 20, 2026

An intuitive introduction to leverage, hat values, and standardized residuals in linear regression.
Sep 12, 2026