Econometrics By Simulation
Simulations and Analysis github.com/EconometricsBySimulation/
Home
#R#
#Julia#
*Stata*
External Resources
Web Apps
Author - Francis Smart
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.
clear
set obs 10000
gen A = rnormal()
gen C = rnormal()
gen B = A+C
corr A B C
No comments:
Post a Comment
Newer Post
Older Post
Home
View mobile version
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment