Coefficient of Determination Calculator
Use this coefficient of determination calculator to find R² from Pearson's r, SSR and SST, SSE and SST, or paired raw data.
How to Use the Coefficient of Determination Calculator
Select your input method based on the data you have available:
- Pearson's r: If you already know the correlation coefficient, simply enter it. R² is calculated by squaring r.
- SSR and SST: If you know the Regression Sum of Squares (SSR) and Total Sum of Squares (SST), enter them. R² = SSR / SST.
- SSE and SST: If you know the Error/Residual Sum of Squares (SSE) and Total Sum of Squares (SST), enter them. R² = 1 − (SSE / SST).
What is the Coefficient of Determination (R²)?
The coefficient of determination, usually denoted as R², is a statistical measure that represents the proportion of the variance for a dependent variable that's explained by an independent variable or variables in a regression model.
R² values range from 0 to 1 (or 0% to 100%). An R² of 1 indicates that the regression predictions perfectly fit the data.
Coefficient of Determination Formulas
1) From Pearson's r
For simple linear regression, R² is the square of the sample correlation coefficient (r).
2) From SSR and SST
Where SSR is the sum of squares due to regression and SST is the total sum of squares.
3) From SSE and SST
Where SSE is the sum of squared estimate of errors (residuals).
Frequently Asked Questions
What is a good R² value?
What qualifies as a "good" R² value depends entirely on the field of study. In scientific fields predicting physical processes, R² values above 0.90 are often expected. In social sciences predicting human behavior, an R² of 0.50 might be considered excellent.
Can R² be negative?
In simple linear regression (or when calculating R² as the square of Pearson's r), R² cannot be negative. However, in multiple regression without an intercept, or when evaluating a model that fits worse than a simple horizontal line, R² can mathematically be negative.
What's the difference between r and R²?
Pearson's r measures the strength and direction of a linear relationship (ranging from -1 to 1). R² measures the proportion of variance explained by the model (ranging from 0 to 1) and does not indicate the direction of the relationship.