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!