sim_CIR | R Documentation |
Simulate Cox-Ingersoll-Ross model
sim_CIR(times, mu = 1, beta = 1, sigma = 1, z0 = 1)
times |
Times of observation |
mu |
Mean (> 0) |
beta |
Reversion (> 0) |
sigma |
Diffusion (> 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.