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 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 the slope 5 predicts 5 more points for each extra hour of study. It is computed as , where is the correlation and and are the standard deviations of and .
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 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 , and multiplying by 100 turns it into a percentage. For example, 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, is never negative and never above 1.