Generating correlated random variables
Show older comments
I have two compund distributions S1 = Sum{i=1:N1} Xi, where N1 is Poisson(lambda1) and X is say LogNormal(1,2) and S2 =Sum{i=1:N2} Yi, where N2 is Poisson(lambda2) and Y is say LogNormal(2,3).I wish to generate correlated random numbers from this distribution such that the linear correlation is say rho. Any thoughts?
Answers (1)
Oleg Komarov
on 13 Mar 2012
0 votes
EDIT
Thread with links on how to generate random numbers from given distributions other than mulitvariate normal: http://www.mathworks.com/matlabcentral/newsreader/view_thread/115379
4 Comments
Trambak
on 13 Mar 2012
Oleg Komarov
on 13 Mar 2012
Yes you're right, the approach proposed is limited to multivariate normal. I am unsure how to proceed with arbitrary distributions.
Oleg Komarov
on 13 Mar 2012
See my edit.
Trambak
on 13 Mar 2012
Categories
Find more on Copula Distributions and Correlated Samples in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!