Simple linear regression is a statistical method that models the relationship between two variables by fitting a linear equation to observed data.
Formula
The general form of the simple linear regression equation is: \[ y = \beta_0 + \beta_1x \]
- \(y\) = Dependent variable (what we want to predict, e.g., weight)
- \(x\) = Independent variable (the predictor, e.g., height)
- \(\beta_0\) = Intercept (the value of \(y\) when \(x\) is 0)
- \(\beta_1\) = Slope (the amount \(y\) changes when \(x\) increases by 1 unit)
Purpose
- Simple linear regression helps predict the value of a dependent variable based on the value of an independent variable.