The Share of Observed Variation Accounted for by a Model
After fitting a linear regression line, the next question is: how much of the observed variation does the model account for?
The measure that answers this question is the coefficient of determination, usually denoted by . In a simple linear regression model with one predictor and an intercept, . The coefficient of determination can therefore be found by squaring Pearson's correlation coefficient.
The value gives the proportion or percentage of the observed variation in the dependent variable that the fitted linear model accounts for using .
Coefficient of Determination from a Scatter Diagram
The value of is closely related to how tightly the data points cluster around the regression line:
-
High (approaching or )
HighData points are very close to the regression line.
Calculating the Coefficient of Determination
For a simple linear regression with one predictor and an intercept, equals the square of the correlation coefficient .
Once is known, square it to obtain .
For a defined correlation coefficient, . Its square therefore lies between zero and one:
Mathematically (using Sum of Squares):
The value of can also be calculated directly using the Sum of Squares values used to calculate :
This ratio requires variation in both variables, so and . If every value is identical, the total variation is zero and the usual coefficient-of-determination ratio is undefined.
Interpretation as a Percentage
Multiply by to express the proportion of variation in accounted for by the model as a percentage.
- If , the fitted linear model using accounts for of the observed variation in .
- The remaining variation ( or in this example) is . It may involve omitted variables, a nonlinear pattern, measurement error, or ordinary random variation, but alone cannot tell us which explanation is responsible.
A higher means that this model accounts for more of the observed variation in . It does not by itself prove causation or guarantee reliable predictions. We must also inspect residuals, the data range, and whether a linear model makes sense in context.