Enter the correlation coefficient r to compute the coefficient of determination R-squared, the share of variance in the dependent variable explained by a regression model.
输入相关系数 r,求决定系数 R²。
| Item | Formula / Note | Source / Standard |
|---|---|---|
| Coefficient of determination | R-squared = r^2, the proportion of total variation explained (simple linear case) | Wright S. (1921), Correlation and causation, J. Agricultural Research 20 |
| Pearson correlation coefficient | r = sum(x_i - xbar)(y_i - ybar) / sqrt( sum(x_i - xbar)^2 · sum(y_i - ybar)^2 ) | Pearson K. (1895), Notes on regression and inheritance in the case of two parents |
| Range | 0 <= R-squared <= 1; closer to 1 indicates a better fit | NIST/SEMATECH e-Handbook of Statistical Methods §1.3.5.3 |
| Adjusted R-squared | R-squared_adj = 1 - (1 - R-squared)(n - 1)/(n - k - 1), k = number of predictors | Draper NR, Smith H, Applied Regression Analysis (3rd ed.), Wiley |