STA 235 · Week 2 · residuals

Variability and the Regression Line

Simulate a sample, compare the fitted line with the data-generating line, and see which outcomes fall inside a 95% prediction interval.