# Residual variance of OLS regression from R-Squared?

#### BigBugBuzz

##### New Member
Can residual variance of OLS regression be derived from R-Squared, and if so, how?

#### Jake

Yes, as long as you know the total variance of Y. The relationship is $$\text{var}(e)=(1-R^2)\text{var}(y)$$