wondering if anyone knew how to run a correlation or calculate an r-sqaured between two securities? any help much appreciated!
Announcement
Collapse
No announcement yet.
any studies on calculating correlations or r-squareds?
Collapse
X
-
Hi,
R^2 is usually used as a goodness of fit measurement for lines and such. Not sure how that would relate to two different stocks, unless you wanted to remove the real price of the securities and just measure relative movement, which should be doable.
There is more than one Algorithm for calculating R^2. If you are just interested in that I can send you some pointers, including a R^2 efs I wrote (thats all it does is corrilate goodness of fit for a line to price).
GarthGarth
Comment