- A statistical method that models the relationship between one numeric response \(Y\) and one numeric predictor \(x\).
- Used across engineering, biology, economics, and the physical sciences to quantify how one quantity changes with another, and to make predictions.
- Running example: can we predict a car’s fuel efficiency (miles per gallon) from its weight? We’ll use the built-in
mtcarsdataset (32 cars, road-tested by Motor Trend magazine). - Intuition: heavier cars need more energy to move, so we expect fuel efficiency to decrease as weight increases.