Description Usage Arguments Value Examples
View source: R/extract_stats.R
Computes the mean, standard deviation, skewness, kurtosis, Value-at-Risk (VaR) and Conditional Value-at-Risk CVaR) of a strategy.
1 | extract_stats(simulation, level = 0.01)
|
simulation |
An object of the |
level |
A number with the desired probability level. The default is
|
A tibble with 2 columns and 6 rows.
1 2 3 4 5 | utility <- simulate_strategy(strategy = "max_utility")
cppi <- simulate_strategy(strategy = "cppi")
extract_stats(utility)
extract_stats(cppi)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.