Monday, August 13, 2012

On correlated variables

* If A is correlated with B and B with C, does A need to therefore be correlated with C? 
* No. 
clear 
set obs 10000 
gen A = rnormal()  
gen C = rnormal()
gen B = A+C 
corr A B C

No comments:

Post a Comment