Saturday, August 11, 2012

A note on correlated variables

* If A is correlated with B and B with C, does A need to therefore be correlated with C?

* No.
set obs 10000

gen A = rnormal()
gen C = rnormal()

gen B = A+C

corr A B C

No comments:

Post a Comment