rGbms | R Documentation |
Simulate multivariate prices for interconnected stocks with each price series following Geometric Brownian Motion (GBM).
rGbms( name, len, start = c(1000, 1000), mu = rep(1e-04, 2), sigma = matrix(c(2e-04, 1e-04, 1e-04, 2e-04), 2, 2), digits = 2 )
name |
vector of series names |
len |
the length |
start |
vector of start positions |
mu |
vector of |
sigma |
vector of |
digits |
integer deciding the number of decimal places |
A simulated multivariate GBM series with each series interconnected
rGbms(c("bear", "tiger"), len = 36)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.