# Re: [R] statistics/correlation question NOT R question

From: Horace Tso <Horace.Tso_at_pgn.com>
Date: Tue, 08 May 2007 11:17:36 -0700

Mark, I suppose you make the usual assumptions, ie. E[x]=0, E[x*epsilon]=0, the correlation is just simply,

corr(x,y) = beta * ( var(x) / var(y) )

And you could get var(y) from var(x) and var(epsilon).

HTH. Horace

>>> "Leeds, Mark (IED)" <Mark.Leeds_at_morganstanley.com> 5/8/2007 10:25:11 AM >>>
This is not an R question but if anyone can help me, it's much appreciated.

Suppose I have a series ( stationary ) y_t and a series x_t ( stationary )and x_t has variance sigma^2_x and epsilon is normal (0, sigma^2_epsilon )

and the two series have the relation

y_t = Beta*x_t + epsilon

My question is if there are particular values that sigma^2_x and sigma^2_epsilon have to take in order for corr(x_t,y_t) to equal Beta ?

I attempted to figure this out using two different methods and in one case I end up involving sigma^2_epsilon and in the other I don't and I'm not sure if either method is correct. I think I need to use results form the conditional bivariate normal but i'm really not sure. Also, it's not a homework problem because I am too old to have homework. Thanks for any insights/solutions.

This is not an offer (or solicitation of an offer) to buy/se...{{dropped}}

R-help_at_stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

R-help_at_stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Tue 08 May 2007 - 18:23:30 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 08 May 2007 - 18:31:35 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.