# Relationship between R2 and correlation coefficient [duplicate]

in simple linear regression

R-squared is equal to the squared correlation coefficient between the actual y and the predicted y (i.e. 𝑦 hat )

how to prove this relationship?

Thanks!

• +1. Welcome to our site, Dinesh. You would likely find it easier to write mathematical expressions (and we would find them easier to read) using the built-in $\TeX$ markup: just enclose them between dollar signs \\$. Further help is available.. – whuber Dec 21 '15 at 13:07