Controls & metrics

SStot–
SSres–
R²–
R² < 0: the line y = mx + b fits worse than the constant mean ȳ.
data prediction y = mx + b mean ȳ residuals