Regression Line Equation. The formula for the best fitting line or regression line is y mx b where m is the slope of the line and b is the y intercept. The least squares regression line best fit line for the third exam final exam example has the equation.
These just are the reciprocal of each other so they cancel out. That just becomes 1. A linear regression line has an equation of the form y a bx where x is the explanatory variable and y is the dependent variable.
Where x is the independent variable and plotted along the x axis.
Sometimes the y intercept can be interpreted in a meaningful way and sometimes not. It is not generally equal to y from data. The slope of the line is b and a is the intercept the value of y when x 0. Sometimes the y intercept can be interpreted in a meaningful way and sometimes not.