Regression Line Formula. Let s now input the values in the formula to arrive at the figure. The line of best fit is described by the equation ŷ bx a where b is the slope of the line and a is the intercept i e the value of y when x 0.
Now first calculate the intercept and slope for the regression. Where x is the independent variable and plotted along the x axis. Regression equation y a bx slope b nσxy σx σy nσx 2 σx 2 intercept a σy b σx n where x and y are the variables.
.
Regression analysis is one of the most powerful multivariate statistical technique as the user can interpret parameters the slope and the intercept of the functions that link with two or more variables in a given set of data. The regression line goes through the center of mass point if the model includes an intercept term i e not forced through the origin. Try to have the line as close as possible to all points and a similar number of points above and below the line. A linear regression line equation is written in the form of.
