Geometrical Representation
Hello, Could you please explain the quiz question as well as answer which is coming under section 1 (Linear Regression) Geometrical representation of the linear regression model. Thanks
would be great if someone answer to this.
The slope of the regression line would be 1. This is because the coefficient of x in the regression equation is 1. The slope of a regression line represents the change in the dependent variable for every unit change in the independent variable. In this case, for every unit increase in x, y increases by 1 unit.
Let me give a simple explanation :-
If you look at the equation given y = 6 + x, the formula is y = b0 + b1 * x, So b0 is 6 and b1 is 1. ( y = 6 + (1) * x )
as we already know that b1 is the slope, answer would be 1
by the way,
the coefficients are:
b0 - the value of y when x is 0, also called as y-intercept and
b1 - the coefficient of x representing the slope of the regression line