Generating correlated random variables
Afficher commentaires plus anciens
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?
Réponses (1)
Oleg Komarov
le 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 commentaires
Trambak
le 13 Mar 2012
Oleg Komarov
le 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
le 13 Mar 2012
See my edit.
Trambak
le 13 Mar 2012
Catégories
En savoir plus sur Copula Distributions and Correlated Samples dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!