sim.gbm.cor | R Documentation |
Simulate paths of correlated GBM with a constant correlation
sim.gbm.cor(x0, model, dt = model$dt)
x0 |
is the starting values (vector) |
model |
contains all the other parameters.
In particular, need |
dt |
is the step size |
Simulate correlated multivariate Geometric Brownian motion
with a given model$rho
and identical model$sigma
's.
Calls rmvnorm
from mvtnorm
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.