sim.gbm | R Documentation |
Simulate paths of Geometric Brownian Motion with constant parameters
sim.gbm(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 |
Simulate from p(X_t|X_{t-1})
.
Use log-normal transition density specified by the model
parameters
a vector of same dimensions as x0
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.