Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

simulate.marketRisk

Simulate from a MarketRisk


Description

simulate is a generic S3 method for classes inheriting from risk. It returns a vector of risk-factor simulations for the corresponding risk.

Usage

## S3 method for class 'marketRisk'
simulate(object, nsim, seed = NULL, DT = FALSE, ...)

Arguments

object

object of class marketRisk.

nsim

strictly positive integer value of length one. The number of simulations.

seed

positive integer value of length one. The seed for reproducibility.

DT

a boolean value, should we cast the simulation matrix in a data.table?

...

additional arguments.

Value

a matrix or data.table of base simulations.

See Also


sstModel

Swiss Solvency Test (SST) Standard Models

v1.0.0
GPL-3 + file LICENSE
Authors
Loris Michel [aut], Melvin Kianmanesh Rad [aut], Adrien Lamit [aut], Michael Schmutz [cre], Swiss Financial Market Supervisory Authority FINMA [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.