Simple linear regression is a method for predicting one variable using another.
- \(X\) is the predictor (input)
- \(Y\) is the response (output)
The idea is to find the best fitting line through a scatter plot that describes the relationship between the two variables.
For this presentation, I am using the built-in mtcars dataset to see if car weight can predict fuel efficiency (mpg).