Least squares by hand: fuel economy against weight for 32 cars (mtcars)

the data, your line and its residuals

RSS for every intercept and slope (darker = smaller)

What "95% confidence" means: one interval per simulated data set (true slope 0.5)
interval contains 0.5interval misses 0.5true slope

Forward selection on pure noise: 20 predictors that have nothing to do with y (n = 100)

R² never falls: one real predictor plus k columns of noise (n = 50, average of 40 data sets)
training R²adjusted R²test R² (1,000 new points)