# Thread: Relationship between Pearson correlation and variance in regression model

1. ## Relationship between Pearson correlation and variance in regression model

If the correlation between X and Y, say, is 0.5, then the standard deviation of the differences between the Y values and their predicted values on the regression line is closest to which of the following fractions of the standard deviation of the Y values: 0.25, 0.5, 0.75 or 0.87

That's a homework question and I am asking for a solution. I am looking for a guidance in the right direction. I am looking for a formula that shows relationship between pearson correlation and variance of the residuals.

Thanks!

2. ## Re: Relatioship between pearson corr and variance in regression model

Have you worked with before? Do you know how to interpret .

3. ## Re: Relatioship between pearson corr and variance in regression model

Originally Posted by Dason
Have you worked with before? Do you know how to interpret .
Thanks Dason.

I came across it in statistical output but I haven't interpreted. In Wikipedia looking at the formula R^2 is square of sample correlation. It is also R^2=1-SSerr/SStot

4. ## Re: Relatioship between pearson corr and variance in regression model

Do you know what SSerr and SStot represent? They're highly related to what you're interested in.

5. ## Re: Relatioship between pearson corr and variance in regression model

I can't see it. The formulae involve the sum of square. The question ask about standard deviation.

6. ## Re: Relatioship between pearson corr and variance in regression model

Do you not know how those quantities are defined or you don't see how they're related to what you're interested in? Either way you should find out how they're defined and consider trying to formalize what it is exactly what you're looking for.

7. ## Re: Relatioship between pearson corr and variance in regression model

Originally Posted by Dason
Do you not know how those quantities are defined or you don't see how they're related to what you're interested in? Either way you should find out how they're defined and consider trying to formalize what it is exactly what you're looking for.
The definitions are in the formulae? No?

My solution as follows: R^2=0.5, then approximately fifty percent of the variation in the response variable can be explained by the explanatory variable. The remaining fifty percent can be explained by inherent variability.

I see I am not getting anywhere here. I will contact my lecturer. Thanks for your time.

8. ## Re: Relatioship between pearson corr and variance in regression model

Originally Posted by _joey

My solution as follows: R^2=0.5,.

I see I am not getting anywhere ....
Joey, in your first post you defined the Pearson correlation to be r = 0.5. So, how can r^2 be 0.5.

9. ## Re: Relatioship between pearson corr and variance in regression model

Originally Posted by Dragan
Joey, in your first post you defined the Pearson correlation to be r = 0.5. So, how can r^2 be 0.5.
well, r^2=1-SSer/SStot => 0.25 = 1 - 0.75. I still can't see the connection between pearson correlation and residual standard deviation in terms of fractions.
SS involve sums of squares.

10. ## Re: Relatioship between pearson corr and variance in regression model

And standard deviation involves sums of squares (that have been scaled). So it's quite possible that these things are highly related... right?

Like I said before - I think you should actually try to figure out how to formalize what it is you're looking for. What I mean is write down a mathematical statement of what quantity it is you're looking for. Then see if you can relate that to the formula you have for r^2.

A lot of these problems are just doing that - playing around with these quantities and manipulating them until you can see how everything is connected. It might take some time and it might be really frustrating but you won't learn anything if you don't play around.

11. Originally Posted by Dason
right?.
Yeah, right!

Except that I never saw standard deviations being scaled.

12. ## Re: Relatioship between pearson corr and variance in regression model

I wasn't saying that we're scaling the standard deviation. I was saying that the standard deviation is a scaled form of the sums of the squares. What I mean is that the sample estimate of the standard deviation is just the sum of squares divided by n-1.

So - yes - you have seen standard deviations being scaled - because the sums of squares can just be seen as a scaled version of the standard deviation as well. But that is somewhat irrelevant. My original point still stands. I think you should actually try to figure out how to formalize what it is you're looking for. What I mean is write down a mathematical statement of what quantity it is you're looking for. Then see if you can relate that to the formula you have for r^2.

13. ## Re: Relatioship between pearson corr and variance in regression model

Originally Posted by Dason
I wasn't saying that we're scaling the standard deviation. I was saying that the standard deviation is a scaled form of the sums of the squares. What I mean is that the sample estimate of the standard deviation is just the sum of squares divided by n-1.

So - yes - you have seen standard deviations being scaled - because the sums of squares can just be seen as a scaled version of the standard deviation as well. But that is somewhat irrelevant. My original point still stands. I think you should actually try to figure out how to formalize what it is you're looking for. What I mean is write down a mathematical statement of what quantity it is you're looking for. Then see if you can relate that to the formula you have for r^2.
There may or there may not be a link between the question and R^2. You are not sure yourself, hence you are guessing, bringing irrelevant discussion (scaling) or withholding some information while suggesting the TS should do his homework himself.
I wasted an hour here and I think I should start looking for another forum with homework section

Thanks anyway!

14. ## Re: Relatioship between pearson corr and variance in regression model

Originally Posted by _joey
There may or there may not be a link between the question and R^2.
You want me to be more clear? There is a link.
You are not sure yourself,
I don't know what would give you that idea. Was it because I'm not doing your homework directly for you and instead am trying to steer you toward the correct answer in a manner that you actually learn and understand the material?
hence you are withholding some information while suggesting the TS should do his homework himself.
Of course I'm withholding some information. I know the answer! I have to withhold information if I want you to actually learn something. I seem to recall somebody saying...

Originally Posted by _joey
I am looking for a guidance in the right direction
so either you were lying or you're just not satisfied with the guidance we've given. I'm not sure if you've read our homework help policy and our general posting guidelines but they should give you a good idea of what to expect here (and you've been a member for some time so I would hope you've stumbled upon those threads at some point).

I thought I was helping. I was hoping I was helping. You didn't seem to be getting it though and didn't seem to be trying what we were suggesting. I wasn't suggesting random crap for no reason. I really thought it would help you see the connection that you should see. It takes work though. If you aren't willing to put in the amount of work we ask for then maybe you should find a different place to ask questions. That isn't what I want though. I want you to stay and feel free to ask questions. Just know that we have rules and guidelines and for the most part we know what we're doing when it comes to this simple stuff (it might not seem simple to you but a lot of us have quite a bit of experience so it is relatively simple for a few of us here).

PS - I notice you added a bit about scaling into your last post. All I was trying to do was make you see that standard deviation and sums of squares are in fact related since they're just scaled forms of one another. You said you didn't see how the sums of squares and standard deviation were related so I was trying to show you that they were.

15. ## The Following 2 Users Say Thank You to Dason For This Useful Post:

GretaGarbo (08-13-2012), victorxstc (08-13-2012)

16. ## Re: Relatioship between pearson corr and variance in regression model

Originally Posted by _joey
, bringing irrelevant discussion (scaling)
Thanks anyway!
It's not irrelevant, joey. Consider the following well known relationship with the Pearson correlation and the standard deviations between the predicted scores and the actual scores of Y (the dependent variable):

which is all we need.

In other words, you should be able to do the following:

dividing through both sides by n - 1 and simplifying gives:

and thus,

Hence,

and we're done.

Assuming, r=0.5, the answer is 0.87 (to two decimals). Now how difficult is this, Joey?

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts