Linear regression is a statistical method used to model the relationship between a dependent variable and one or more independent variables.
Simple linear regression involves:
- One dependent variable (response): \(Y\)
- One independent variable (predictor): \(X\)
- A linear relationship between them
The Model:
\[Y = \beta_0 + \beta_1 X + \varepsilon\]
where \(\beta_0\) is the intercept, \(\beta_1\) is the slope, and \(\varepsilon\) is the error term.