Help with variance sum + correlation coefficient formula

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
13 replies · 10K views
Simfish
Gold Member
Messages
811
Reaction score
2
[SOLVED] Help with variance sum + correlation coefficient formula

This is a worked example

The objective is to prove

[tex]-1 \leq \rho(X,Y) \leq 1[/tex]

Then the book uses this formula...

(2) [tex]0 \leq Var(\left \frac{X}{\sigma_x} + \frac{Y}{\sigma_y} \right)[/tex]

(3) [tex]= \frac{Var(X)}{{\sigma_x}^2} + \frac{Var(Y)}{{\sigma_y}^2} + \frac{2Cov(X,Y)}{\sigma_x \sigma_y}[/tex]

The question is, how does 2 lead to 3? Namely, how does [tex]Var(\frac{X}{\sigma_x} ) => \frac{Var(X)}{{\sigma_x}^2}[/tex]?

Also, how does one get the idea to use formula (2) to prove (1)? It doesn't seem like a natural step
 
Last edited:
Physics news on Phys.org
sorry, I edit my posts a lot - so somehow, edited posts on PF don't edit the tex code any longer once you edit the posts enough...

Namely, how does [tex]Var(\frac{X}{\sigma_x})[/tex] => [tex]\frac{Var(X)}{{\sigma_x}^2}[/tex]?
 
aVar(X)

holy crap
i never knew my attention lapses were that bad
 
Oh, I see.

[tex]a^2 Var(X)[/tex]
 
[tex]= {Var(X)} + {Var(Y)} + {2Cov(X,Y)}[/tex]

but that's from memorization - I'll try to derive it now
 
Last edited:
[tex]Var(X+Y)[/tex]

[tex]= E[(X+Y)^2] - E[X+Y]^2[/tex]

[tex]= E[X^2 + 2XY + Y^2] - E[X+Y]^2[/tex]
[tex]= E[X^2] + 2E[XY] + E[Y^2] - (E[X] + E[Y])^2[/tex]
[tex]= E[X^2] + 2E[XY] + E[Y^2] - E[X]^2 - E[Y]^2 - 2E[X]E[Y][/tex]
[tex]= (E[X^2]- E[X]^2) + (E[Y^2] - E[Y]^2) + (2E[XY]- 2E[X]E[Y])[/tex]
[tex]= Var(X) + Var(Y) + 2Cov(X,Y)[/tex] IF dependent
IF independent, 2E[XY] = 2E[X]E[Y]

==
Okay, can someone please address my second question?
Also, how does one get the idea to use formula (2) to prove (1)? It doesn't seem like a natural step
 
[tex]\frac{Var(X)}{{\sigma_x}^2} = 1[/tex] since [tex]Var(X) = \sigma_x, Var(Y) = \sigma_y[/tex]. I have the entire proof in the book - but the first step seems unnatural (how does one get the inspiration to use [tex]0 \leq Var(\left \frac{X}{\sigma_x} + \frac{Y}{\sigma_y} \right)[/tex] for proving that correlation coefficient has absolute magnitude <= 1?
 
Last edited:
You mean [tex]Var(X) = \sigma_x^2, Var(Y) = \sigma_y^2[/tex]

but the first step seems unnatural
The idea behind correlation is to standardize variables X and Y by dividing each by its standard deviation before finding their correlation.
 
Okay I see. Thanks. :)