Coefficient of determination
Coefficient of determination is a statistical measure that indicates the proportion of the variation in a dependent variable that is explained by a statistical model. It is commonly denoted by and is widely used in linear regression.
For a regression model with an intercept, the coefficient of determination can be expressed as:
where:
- = coefficient of determination;
- = residual sum of squares;
- = total sum of squares.
Sum of squares
The total sum of squares measures the total variation of the observed dependent variable around its mean:
The residual sum of squares measures the variation that remains unexplained by the fitted model:
where:
- = observed value;
- = fitted value;
- = mean of the observed values;
- = number of observations.
The explained sum of squares is:
For ordinary least-squares regression with an intercept:
Therefore:
Interpretation
An of 0 indicates that the model does not explain any of the variation in the dependent variable relative to a model containing only an intercept.
An of 1 indicates that the fitted model explains all of the observed variation in the dependent variable.
For example:
can be interpreted, in the corresponding regression setting, as the model accounting for 70% of the sample variation in the dependent variable around its mean.
The remaining 30% is represented by the residual component:
The interpretation should be made in the context of the model and data; does not establish causation.
Coefficient of determination in simple linear regression
In a simple linear regression with an intercept, the coefficient of determination is equal to the square of the Pearson correlation coefficient:
where is the Pearson correlation coefficient between the dependent variable and explanatory variable.
Because the correlation coefficient ranges from −1 to +1:
for this standard simple-regression setting.
The squaring operation removes the sign of the relationship. Therefore, alone does not indicate whether the relationship is positive or negative.
Example
Suppose a regression model produces:
and:
The coefficient of determination is:
Thus, the model explains 75% of the sample variation in the dependent variable relative to the mean-only benchmark.
The unexplained proportion is:
or 25%.
Adjusted coefficient of determination
The adjusted coefficient of determination adjusts for the number of explanatory variables included in a regression model.
A commonly used formula is:
where:
- = adjusted coefficient of determination;
- = coefficient of determination;
- = number of observations;
- = number of explanatory variables.
Unlike ordinary , adjusted can decrease when additional explanatory variables are added if they do not provide sufficient explanatory power relative to the additional model complexity.
R-squared in financial models
In finance, is commonly used when evaluating regression models of asset returns.
For example, a market model can be written as:
where:
- = asset return;
- = regression intercept;
- = market sensitivity;
- = market return;
- = residual return.
The resulting indicates the proportion of the variation in the asset's returns explained by the fitted market model over the specified sample period.
A higher indicates that the model explains a larger proportion of the observed variation, while a lower indicates that a larger proportion remains in the residual component.
R-squared and beta
and beta measure different aspects of a regression relationship.
Beta measures the estimated sensitivity of the dependent variable to changes in an explanatory variable:
By contrast, measures the proportion of variation in the dependent variable explained by the regression model.
Therefore:
Limitations
The coefficient of determination has several limitations:
- a high does not establish causation;
- a low does not necessarily mean that a model is useless;
- can increase when additional variables are added to a regression;
- does not by itself indicate whether estimated coefficients are statistically significant;
- does not establish that a model is correctly specified;
- a high can result from spurious relationships in some settings;
- the value of is dependent on the data and model specification.
Consequently, is generally considered alongside other measures such as coefficient estimates, standard errors, statistical tests, residual diagnostics, and economic or substantive reasoning.