The formula for simple linear regression is:
\(y = \beta_0 + \beta_1 x\)
where \(y\) is the dependent variable, \(\beta_0\) is the constant or intercept, \(\beta_1\) is \(x\)’s slope, and \(x\) is the independent variable. Linear regression tells us the value of unknown data by using known data values.