July 11th, 2005, 2:22 pm
Hi All Experts out there,I am doing a monte-carlo. I need to simulate several random variables which are correlated. I have estimated a correlation matrix.I also have means and volatilities of the individual random variables.I am looking for a piece of computer code (math algorithm, in C++ or VBA) that would generate correlated random variables.From past life in linear algebra and stats, I remember something about eigenvalues of the var-covar mx, but I am in a total hazehow to apply this (it was so long ago... I should have read my books at school).Anyway - is it a trivial problem for some of you?Can you suggest a solution?ThanksStiz