sim.ouExp | R Documentation |
Simulate from exponential Ornstein Uhlenbeck process
sim.ouExp(x0, model, dt = model$dt)
x0 |
is the starting values (matrix of size N x model$dim) |
model |
a list containing all the other parameters, including volatility |
dt |
is the step size in time. Defaults to |
Uses model$alpha
for the mean-reversion strength,
model$meanrev
for the mean-reversion level, and model$sigma
for the volatility.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.