Re: Simulating multiple correlated stochastic processes

Posted by Max-118 on
URL: http://quantlib.414.s1.nabble.com/Simulating-multiple-correlated-stochastic-processes-tp6488p6491.html

Hi,

I studied the code further. And I realized that in StochasticProcessArray class, the correlation matrix L is decomposed into a lower triangular using SalvagingAlgorithm::Spectral. Then the new triangular matrix is applied to the array of independent normal random variables.

I am not familiar with the "Spectral" analysis. However, I want to ask:
Given correlation matrix is symmetric and positive semidefinite, can I use SalvagingAlgorithm::none method (which is essentially a Cholesky decomposition) instead? And in this case, would the final results be equivelant for SalvagingAlgorithm::Spectral and SalvagingAlgorithm::none methods?


On Thu, Jun 26, 2008 at 12:08 AM, Max <[hidden email]> wrote:
Hi,

I am trying to simulate the price dynamics of 4 different assets given the correlation among them (assuming all asset returns follow geometric Brownian motion).

I have implemented the monte-carlo simulation using Quantlib classes, such as StochasticProcessArray, MultiPathGenerator, etc.

However, I am not so sure how the StochasticProcessArray implementation ensures the correlation among the 4 assets is guaranteed, given the input 4x4 correlation matrix is positive defintie. Could someone help explain this from a theoretical perspective? or point me to the related reference?

Thanks!

Best regards,
Max



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users