The coefficient of determination calculator is designed to compute the R-squared value of a given regression model.
The R-squared (R2) value is calculated using the following formula:
SSR = Σ(yi - ŷi)2
SST = Σ(yi - ȳ)2
R2 = | 1 - |
|
Where,
SSR = Sum of squared residuals,
SST = Total sum of squares,
yi = Observed value,
ŷi = Predicted value,
ȳ = Mean (average) of the observed values.