Simple linear regression is a statistical method used to study the relationship between two quantitative variables.
In this presentation, we use the built-in mtcars dataset.
We study whether a car’s weight can help predict miles per gallon.
- Response variable:
mpg - Explanatory variable:
wt