Simple linear regression is a statistical method that models the relationship between a dependent and an independent variable (X and Y) by fitting a straight line to the data. It helps us Y based on X.
\[
Y_i = B_0 + B_1X_i+ \epsilon_i
\] where
\(B_0\) is the intercept
\(B_1\) is the slope and
\(\epsilon_i\) is the random error term (difference between actual and predicted values of Y)