Description Usage Arguments Value Examples
Monthly Simulation of rates using 1 factor CIR model
1 2 3 4 5 6 7 8 9 |
n |
number of simulated trials |
param_list |
a 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 |
z_rand |
optional vector standard normal random variables of length n * t |
col_rename |
optional name of output column |
seed |
optional starting seed |
shift |
optional additive shift post simulation |
data in the form of a tibble
object with columns trial, time, r (or col_rename)
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.