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>.
| Version: | 1.0.0 |
| Depends: | R (≥ 3.5.0) |
| Imports: | Rdpack (≥ 0.7), Hmisc, nleqslv, reshape2, plyr, ggplot2, stats |
| Suggests: | testthat, mvtnorm, spelling, Weighted.Desc.Stat, knitr, rmarkdown, bookdown, ggpubr |
| Published: | 2022-01-09 |
| DOI: | 10.32614/CRAN.package.SWIM |
| Author: | Silvana M. Pesenti
|
| Maintainer: | Silvana M. Pesenti <swimpackage at gmail.com> |
| BugReports: | https://github.com/spesenti/SWIM/issues |
| License: | GPL-3 |
| URL: | https://github.com/spesenti/SWIM, https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3515274, https://utstat.toronto.edu/pesenti/?page_id=138 |
| NeedsCompilation: | no |
| Language: | en-US |
| Citation: | SWIM citation info |
| Materials: | README, NEWS |
| CRAN checks: | SWIM results [issues need fixing before 2026-03-21] |
| Reference manual: | SWIM.html , SWIM.pdf |
| Vignettes: |
Scenario Weights for Importance Measurement (source, R code) |
| Package source: | SWIM_1.0.0.tar.gz |
| Windows binaries: | r-devel: SWIM_1.0.0.zip, r-release: SWIM_1.0.0.zip, r-oldrel: SWIM_1.0.0.zip |
| macOS binaries: | r-release (arm64): SWIM_1.0.0.tgz, r-oldrel (arm64): SWIM_1.0.0.tgz, r-release (x86_64): SWIM_1.0.0.tgz, r-oldrel (x86_64): SWIM_1.0.0.tgz |
| Old sources: | SWIM archive |
Please use the canonical form https://CRAN.R-project.org/package=SWIM to link to this page.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.