Simple linear regression is a statistical measure used to examine the relationship between two numerical values.
- Independent variable (X): : Vehicle weight
- Dependent variable (Y): Fuel efficiency (MPG)
- Goal: Determine whether vehicle weight can predict fuel efficiency.
For this analysis, we will use built-in mtcars dataset, which contains information about 32 vehicles.