Package: SWIM 1.0.0
Silvana M. Pesenti
SWIM: Scenario Weights for Importance Measurement
An efficient sensitivity analysis for stochastic models based on Monte Carlo samples. Provides weights on simulated scenarios from a stochastic model, such that stressed random variables fulfil given probabilistic constraints (e.g. specified values for risk measures), under the new scenario weights. Scenario weights are selected by constrained minimisation of the relative entropy to the baseline model. The 'SWIM' package is based on Pesenti S.M., Millossovich P., Tsanakas A. (2019) "Reverse Sensitivity Testing: What does it take to break the model" <openaccess.city.ac.uk/id/eprint/18896/> and Pesenti S.M. (2021) "Reverse Sensitivity Analysis for Risk Modelling" <https://www.ssrn.com/abstract=3878879>.
Authors:
SWIM_1.0.0.tar.gz
SWIM_1.0.0.zip(r-4.5)SWIM_1.0.0.zip(r-4.4)SWIM_1.0.0.zip(r-4.3)
SWIM_1.0.0.tgz(r-4.4-any)SWIM_1.0.0.tgz(r-4.3-any)
SWIM_1.0.0.tar.gz(r-4.5-noble)SWIM_1.0.0.tar.gz(r-4.4-noble)
SWIM_1.0.0.tgz(r-4.4-emscripten)SWIM_1.0.0.tgz(r-4.3-emscripten)
SWIM.pdf |SWIM.html✨
SWIM/json (API)
NEWS
# Install 'SWIM' in R: |
install.packages('SWIM', repos = c('https://spesenti.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/spesenti/swim/issues
- credit_data - Credit data set
Last updated 3 years agofrom:4e9cd0b2b4. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 09 2024 |
R-4.5-win | OK | Nov 09 2024 |
R-4.5-linux | OK | Nov 09 2024 |
R-4.4-win | OK | Nov 09 2024 |
R-4.4-mac | OK | Nov 09 2024 |
R-4.3-win | OK | Nov 09 2024 |
R-4.3-mac | OK | Nov 09 2024 |
Exports:cdfcdf_stressedconvert_SWIMw_to_SWIMcor_stressedES_stressedget_dataget_specsget_weightsget_weightsfunimportance_rankmean_stressedplot_cdfplot_histplot_quantileplot_sensitivityplot_weightsquantile_stressedrenamesd_stressedsensitivitystressstress_HARA_RM_wstress_meanstress_mean_sdstress_mean_sd_wstress_mean_wstress_momentstress_probstress_RM_mean_sd_wstress_RM_wstress_userstress_VaRstress_VaR_ESstress_wasssummary_weightsvar_stressedVaR_stressed
Dependencies:backportsbase64encbslibcachemcheckmatecliclustercolorspacedata.tabledigestevaluatefansifarverfastmapfontawesomeforeignFormulafsggplot2gluegridExtragtablehighrHmischtmlTablehtmltoolshtmlwidgetsisobandjquerylibjsonliteknitrlabelinglatticelifecyclemagrittrMASSMatrixmemoisemgcvmimemunsellnleqslvnlmennetpillarpkgconfigplyrR6rappdirsrbibutilsRColorBrewerRcppRdpackreshape2rlangrmarkdownrpartrstudioapisassscalesstringistringrtibbletinytexutf8vctrsviridisviridisLitewithrxfunyaml