Description Usage Arguments Value
Monthly Simulation of rates using Ornstein-Uhlenbeck Model
1 2 3 4 5 6 7 8 9 10 |
n |
number of simulated trials |
param_list |
a named list with parameters r0 - initial value, a - speed of mean reversion (annual), b - mean reversion level, v - annual volatility |
rmin |
|
t |
number of future monthly timesteps |
g |
optional proportional conditional volatility exponent (0 = Vasicek, 1/2 = CIR) |
z_rand |
optional vector standard normal random variables of length n * t |
col_rename |
optional name of output column |
data in the form of a tibble
object with columns trial, time, r (or col_rename)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.