# Explanation of "R Square" in terms of correlation? [duplicate]

In linear regression, I seemed to see (but I forgot where) that if the square sum of residuals divided by square sum of total variation equals the square of some correlation between some random variables, and hence it explains why the ratio is called "R Square".

So I was wondering what the correlation is between, and why the ratio is the square of the correlation?

What assumptions on the linear regression model are needed for the explanation of "R Square" in terms of correlation?

Thanks!

• This is backwards, as the measure concerned would be 1 whenever the residual and total variation were identical, which would correspond to a useless regression. But yes, there is a good reason why r square is so named and this is covered in many places. See e.g. stats.stackexchange.com/questions/65779/… or Jul 28, 2013 at 23:23
• In multiple regression it would be the square of the correlation between fitted and observed. Jul 28, 2013 at 23:33
• @Glen_b: Thanks! What assumptions on the linear regression model are needed for the explanation of "R Square" in terms of correlation?
– Tim
Jul 29, 2013 at 10:26
• I believe it's an algebraic identity. Jul 29, 2013 at 22:18

• This is not correct. $r$ is the " correlation coefficient between actual response values and predicted values of the model"; R square is $r^2$. Jul 29, 2013 at 5:39
$R^2 = 1 - (\sigma^2 / s^2)$
where $\sigma^2$ is the variance of the residuals and $s^2$ is the variance of the input data.
• Alternatively, it can be $R^2 = 1 - \frac{SSres}{SStot}$. Jul 29, 2013 at 14:49
• Actually, $1 - \frac{SSres}{SStot}$ (or, alternatively and perhaps more intuitively $\frac{SSreg}{SStot}$) will give you the multiple $R^2$, whereas $1 - \frac{\sigma^2}{s^2}$ will yield the adjusted $R^2$. Jul 29, 2013 at 15:01