Simple linear regression is used to model the relationship between two variables by fitting a linear equation to observe the data
General equation for simple linear regression
\[ Y = \beta_0 + \beta_1 x + \epsilon \] Where \(Y\) is the dependent variable, \(x\) is the independent variable, \(\beta_0\) is the intercept, \(\beta_1\) is the slope, and \(\epsilon\) is the error term that we try to minimize.