Skip to content

← Lab · Chapter: 13. Least-squares regression

Least squares versus least absolute deviations

The 60 days of the bakery: the least-squares line (QP) and the least absolute deviations line (LP). Drag a point or move the hottest day and see which of the two gets pulled by the outliers. Drag a point; ▶ next to the shift makes it grow.