View source: R/simMultivariates.R
simMultivariates | R Documentation |
Generates multivariate random epsilons using absolute returns.
simMultivariates(nsims = 10, x, s0 = NULL)
nsims |
Number of simulations. Defaults to 10. |
x |
Wide data frame of prices with date as first column. |
s0 |
Vector of starting value for each variables. Defaults to NULL with zero. |
List of means, sds, covariance matrix, correlation matrix and simulated values. list
Philippe Cote
simMultivariates(nsims = 10, x = RTL::fizdiffs, s0 = NULL)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.