We often want to explain or predict a numeric outcome using one predictor.
Example application:
Predicting fuel efficiency (mpg) using vehicle weight (wt) from the built-in mtcars dataset.
- Response variable:
mpg - Predictor variable:
wt(in 1000 lbs)