Coefficient of determination

Revision as of 12:57, 20 August 2026 by WikiSysopIG (talk | contribs) (Created page with "'''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 <math>R^2</math> and is widely used in linear regression. For a regression model with an intercept, the coefficient of determination can be expressed as: <math> R^2 = 1- \frac{\mathrm{SS}_{\mathrm{res}}} {\mathrm{SS}_{\mathrm{tot}}} </math> where:...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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 R2 and is widely used in linear regression.

For a regression model with an intercept, the coefficient of determination can be expressed as:

R2=1−SSresSStot

where:

  • R2 = coefficient of determination;
  • SSres = residual sum of squares;
  • SStot = total sum of squares.

Sum of squares

The total sum of squares measures the total variation of the observed dependent variable around its mean:

SStot=∑i=1n(Yi−Y¯)2

The residual sum of squares measures the variation that remains unexplained by the fitted model:

SSres=∑i=1n(Yi−Ŷi)2

where:

  • Yi = observed value;
  • Ŷi = fitted value;
  • Y¯ = mean of the observed values;
  • n = number of observations.

The explained sum of squares is:

SSexplained=∑i=1n(Ŷi−Y¯)2

For ordinary least-squares regression with an intercept:

SStot=SSexplained+SSres

Therefore:

R2=SSexplainedSStot

Interpretation

An R2 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 R2 of 1 indicates that the fitted model explains all of the observed variation in the dependent variable.

For example:

R2=0.70

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:

1−R2=0.30

The interpretation should be made in the context of the model and data; R2 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:

R2=rXY2

where rXY is the Pearson correlation coefficient between the dependent variable and explanatory variable.

Because the correlation coefficient ranges from −1 to +1:

0≤R2≤1

for this standard simple-regression setting.

The squaring operation removes the sign of the relationship. Therefore, R2 alone does not indicate whether the relationship is positive or negative.

Example

Suppose a regression model produces:

SStot=1000

and:

SSres=250

The coefficient of determination is:

R2=1−2501000=0.75

Thus, the model explains 75% of the sample variation in the dependent variable relative to the mean-only benchmark.

The unexplained proportion is:

1−R2=0.25

or 25%.

Adjusted coefficient of determination

The adjusted coefficient of determination adjusts R2 for the number of explanatory variables included in a regression model.

A commonly used formula is:

R¯2=1−(1−R2)n−1n−k−1

where:

  • R¯2 = adjusted coefficient of determination;
  • R2 = coefficient of determination;
  • n = number of observations;
  • k = number of explanatory variables.

Unlike ordinary R2, adjusted R2 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, R2 is commonly used when evaluating regression models of asset returns.

For example, a market model can be written as:

Ri=αi+βiRm+ϵi

where:

  • Ri = asset return;
  • αi = regression intercept;
  • βi = market sensitivity;
  • Rm = market return;
  • ϵi = residual return.

The resulting R2 indicates the proportion of the variation in the asset's returns explained by the fitted market model over the specified sample period.

A higher R2 indicates that the model explains a larger proportion of the observed variation, while a lower R2 indicates that a larger proportion remains in the residual component.

R-squared and beta

R2 and beta measure different aspects of a regression relationship.

Beta measures the estimated sensitivity of the dependent variable to changes in an explanatory variable:

βi=Cov⁡(Ri,Rm)Var⁡(Rm)

By contrast, R2 measures the proportion of variation in the dependent variable explained by the regression model.

Therefore:

Beta→Sensitivity

R2→Explained Variation

Limitations

The coefficient of determination has several limitations:

  • a high R2 does not establish causation;
  • a low R2 does not necessarily mean that a model is useless;
  • R2 can increase when additional variables are added to a regression;
  • R2 does not by itself indicate whether estimated coefficients are statistically significant;
  • R2 does not establish that a model is correctly specified;
  • a high R2 can result from spurious relationships in some settings;
  • the value of R2 is dependent on the data and model specification.

Consequently, R2 is generally considered alongside other measures such as coefficient estimates, standard errors, statistical tests, residual diagnostics, and economic or substantive reasoning.

See also