Lecture 33
Regression Inference
DATA 8
Spring 2022
Announcements
Weekly Goals
Residuals
Discussion Questions
How would we adjust our line…
Regression Model
A “Model”: Signal + Noise
Distance drawn at random from normal distribution with mean 0
Another distance drawn independently from the same normal distribution
What We Get to See
(Demo)
Prediction Variability
Regression Prediction
If the data come from the regression model,
(Demo)
Prediction Interval
(Demo)
Predictions at Different Values of x
The True Slope
Confidence Interval for True Slope
(Demo)
Rain on the Regression Parade
We observed a slope based on our sample of points.
But what if the sample scatter plot got its slope just by chance?
What if the true line is actually FLAT?
(Demo)
💪
🤔
🤡
Test Whether There Really is a Slope
(Demo)