Hi!
Can anyone please help me in generating exponentially correlated random variables?
I'm currently using this function that works well to generate linearly correlated random variables:
If Z1 and Z2 are each independent standard normal random variables,
i.e., each is NORMINV(RAND(),0,1), then to get X and Y with correlation
rho, use
X = MeanX + StDevX*Z1
Y = MeanY + StDevY*(Z1*rho + Z2*(1-rho^2)^0.5)
Rho is any value from -1 to +1 (-ve to +ve correlation).
This is what the above looks like on a scatter plot:
image1.png
What I need to simulate is something that has this kind of exponential component to it:
image2.png
Thanks
-Lisa
Bookmarks