Simple Linear Regression is the statistical method that allows us to study the relationship between two variables. One variable is labeled the independent or explanatory variable and the other is the labeled the dependent or response variable. The relationship between the variables is modeled and we can understand this relationship better through studying the line of best fit.
- Purpose: Predict the dependent variable from the independent variable.
- Use: Predict sales, market analysis, predict house prices, etc…
Formula: \[ y = \beta_0 + \beta_1x + \epsilon \]
Where:
- y is the dependent variable
- x is the independent variable
- \(\beta_0\) is the y-intercept of the regression line
- \(\beta_1\) is the slope of the regression line
- \(\epsilon\) is the error term, which is the difference between the observed and predicted values