Linear regression is a tool used to model the relationship between a dependent variable and one or more independent variables. To do this, we must assume that the relationship between these variables are linear. Linear regression can help us answer interesting questions such as:
- Does studying more result in higher test scores?
- Does spending more on advertisement result in higher revenue?
- Does a car’s price decrease over time?
- Does a house’s size influence its price?
- Does sun exposure reduce someone’s lifespan?