Slope of a Regression Line vs Coefficient of Determination

Both terms below come up in the same part of the course, and students mix them up. Here is each one defined on its own, side by side, so you can see where they part company.

Slope of a regression line

Regression and correlation

The slope of a regression line is the predicted change in the response variable for each one-unit increase in the explanatory variable.

The slope bb tells you how fast the predicted response rises or falls as the explanatory variable increases by one unit. A positive slope means the line goes up from left to right, and a negative slope means it goes down. For example, in y^=50+5x\hat{y} = 50 + 5x the slope 5 predicts 5 more points for each extra hour of study. It is computed as b=rsysxb = r \cdot \frac{s_y}{s_x}, where rr is the correlation and sys_y and sxs_x are the standard deviations of yy and xx.

Full entry for slope of a regression line

Coefficient of determination (r²)

Regression and correlation

The coefficient of determination, r-squared, is the fraction of the variation in the response variable that the regression line explains, from 0 to 1.

The coefficient of determination r2r^2 reports the share of the response's total variation that the least-squares line accounts for, so higher means a better linear fit. It is the square of the correlation coefficient rr, and multiplying by 100 turns it into a percentage. For example, r2=0.64r^2 = 0.64 means 64% of the variation in the response is explained by the linear relationship with the explanatory variable, leaving 36% unexplained. Because it is a square, r2r^2 is never negative and never above 1.

Full entry for coefficient of determination

Where each one fits in the course