what does the r-squared statistic represent?
In short, the coefficient of determination or r-squared value, denoted r2, is the regression sum of squares divided by the total sum of squares. Alternatively, as demonstrated in this , since SSTO = SSR + SSE, the quantity r2 also equals one minus the ratio of the error sum of squares to the total sum of squares: