Simple linear regression is a statistical model used to show the relationship between two variables.
- Independent variable (X)
- Dependent variable (Y)
We will find the best fitting straight line through the data points to try and predict Y based on X.
With this regression line we can try to predict a car’s fuel efficiency based on its weight.