sim_GBM | R Documentation |
Simulate from geometric Brownian motion
sim_GBM(times, mu = 1, sigma = 1, z0 = 1)
times |
Times of observation |
mu |
Percentage drift (> 0) |
sigma |
Percentage volatility (> 0) |
z0 |
Initial value for simulation (> 0) |
Data frame with columns z (simulated process) and time
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.