Linear Regression Equation Example. And the simple linear regression equation is. Our regression line is going to be y is equal to we figured out m.
And the simple linear regression equation is. One variable x is called independent variable or predictor. The least squares regression line best fit line for the third exam final exam example has the equation.
Now first calculate the intercept and slope for the regression.
Let s now input the values in the formula to arrive at the figure. Y is equal to 3 7 x plus our y intercept is 1. The income a person receives depends on the number of years of education that person has received. For example they might fit a simple linear regression model using advertising spending as the predictor variable and revenue as the response variable.