Concept

R-Squared (Coefficient of Determination)

R-Squared (R2R^2)—the proportion of variance explained—measures how well a prediction model for "regression" fits the given data. It is independent of the scale of YY. 0R210 \leq R^2 \leq 1 The larger the R-Squared value, the closer it is to 1, the better the regression model explains the variation of observations around its mean. R2=TSSRSSTSS=1RSSTSS=1i=1n(yiy^i)2i=1n(yiyˉ)2R^2 = \frac{TSS-RSS}{TSS} = 1 - \frac{RSS}{TSS} = 1 - \frac{\sum_{i=1}^{n} (y_i - \hat{y}_i)^2}{\sum_{i=1}^{n} (y_i - \bar{y})^2}

0

2

Updated 2021-02-17

Tags

Data Science