Generating correlated random variables
显示 更早的评论
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?
回答(1 个)
Oleg Komarov
2012-3-13
0 个投票
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 个评论
Trambak
2012-3-13
Oleg Komarov
2012-3-13
Yes you're right, the approach proposed is limited to multivariate normal. I am unsure how to proceed with arbitrary distributions.
Oleg Komarov
2012-3-13
See my edit.
Trambak
2012-3-13
类别
在 帮助中心 和 File Exchange 中查找有关 Copula Distributions and Correlated Samples 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!