Generating numbers from a multivariate standard normal distribution

2 visualizaciones (últimos 30 días)
John
John el 13 de Abr. de 2012
Hello,
I have estimated the product moment correlation p between 3 normal variables YT1, YT2 and YD. I want generate 3 numbers yt1, yt2 and yd from a multivariate standard normal distribution with correlation p.
This is my correlation matrix:
YT1 YT2 D
YT1 1 0.25 -0.33
YT2 0.25 1 0.27
D -0.33 0.27 1
Could anybody advise me on how to do this in Matlab?
Thank you
John

Respuestas (1)

Oleg Komarov
Oleg Komarov el 13 de Abr. de 2012

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by