Description
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>.
Downloads
208
Last 30 days
15912th
208
Last 90 days
208
Last year
CRAN Check Status
Show all 14 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | NOTE |
| r-devel-linux-x86_64-debian-gcc | NOTE |
| r-devel-linux-x86_64-fedora-clang | NOTE |
| r-devel-linux-x86_64-fedora-gcc | NOTE |
| r-devel-macos-arm64 | NOTE |
| r-devel-windows-x86_64 | NOTE |
| r-oldrel-macos-arm64 | NOTE |
| r-oldrel-macos-x86_64 | NOTE |
| r-oldrel-windows-x86_64 | NOTE |
| r-patched-linux-x86_64 | NOTE |
| r-release-linux-x86_64 | NOTE |
| r-release-macos-arm64 | NOTE |
| r-release-macos-x86_64 | NOTE |
| r-release-windows-x86_64 | NOTE |
Check details (16 non-OK)
CRAN incoming feasibility
Maintainer: ‘Silvana M. Pesenti <swimpackage@gmail.com>’ Package CITATION file contains call(s) to old-style personList() or as.personList(). Please use c() on person objects instead. Package CITATION file contains call(s) to old-style citEntry(). Please use bibentry() instead.
package subdirectories
Problems with news in ‘NEWS.md’:
Cannot extract version info from the following section titles:
Additional functions and data sets
Amendments to functions
CRAN incoming feasibility
Maintainer: ‘Silvana M. Pesenti <swimpackage@gmail.com>’ Package CITATION file contains call(s) to old-style personList() or as.personList(). Please use c() on person objects instead. Package CITATION file contains call(s) to old-style citEntry(). Please use bibentry() instead.
package subdirectories
Problems with news in ‘NEWS.md’:
Cannot extract version info from the following section titles:
Additional functions and data sets
Amendments to functions
package subdirectories
Problems with news in ‘NEWS.md’:
Cannot extract version info from the following section titles:
Additional functions and data sets
Amendments to functions
package subdirectories
Problems with news in ‘NEWS.md’:
Cannot extract version info from the following section titles:
Additional functions and data sets
Amendments to functions
package subdirectories
Problems with news in ‘NEWS.md’:
Cannot extract version info from the following section titles:
Additional functions and data sets
Amendments to functions
package subdirectories
Problems with news in 'NEWS.md':
Cannot extract version info from the following section titles:
Additional functions and data sets
Amendments to functions
package subdirectories
Problems with news in ‘NEWS.md’:
Cannot extract version info from the following section titles:
Additional functions and data sets
Amendments to functions
package subdirectories
Problems with news in ‘NEWS.md’:
Cannot extract version info from the following section titles:
Additional functions and data sets
Amendments to functions
package subdirectories
Problems with news in 'NEWS.md':
Cannot extract version info from the following section titles:
Additional functions and data sets
Amendments to functions
package subdirectories
Problems with news in ‘NEWS.md’:
Cannot extract version info from the following section titles:
Additional functions and data sets
Amendments to functions
package subdirectories
Problems with news in ‘NEWS.md’:
Cannot extract version info from the following section titles:
Additional functions and data sets
Amendments to functions
package subdirectories
Problems with news in ‘NEWS.md’:
Cannot extract version info from the following section titles:
Additional functions and data sets
Amendments to functions
package subdirectories
Problems with news in ‘NEWS.md’:
Cannot extract version info from the following section titles:
Additional functions and data sets
Amendments to functions
package subdirectories
Problems with news in 'NEWS.md':
Cannot extract version info from the following section titles:
Additional functions and data sets
Amendments to functions
Check History
NOTE 0 OK · 14 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 9, 2026
CRAN incoming feasibility
Maintainer: ‘Silvana M. Pesenti <swimpackage@gmail.com>’ Package CITATION file contains call(s) to old-style personList() or as.personList(). Please use c() on person objects instead. Package CITATION file contains call(s) to old-style citEntry(). Please use bibentry() instead.
CRAN incoming feasibility
Maintainer: ‘Silvana M. Pesenti <swimpackage@gmail.com>’ Package CITATION file contains call(s) to old-style personList() or as.personList(). Please use c() on person objects instead. Package CITATION file contains call(s) to old-style citEntry(). Please use bibentry() instead.
package subdirectories
Problems with news in ‘NEWS.md’:
Cannot extract version info from the following section titles:
Additional functions and data sets
Amendments to functions
package subdirectories
Problems with news in ‘NEWS.md’:
Cannot extract version info from the following section titles:
Additional functions and data sets
Amendments to functions
package subdirectories
Problems with news in ‘NEWS.md’:
Cannot extract version info from the following section titles:
Additional functions and data sets
Amendments to functions
package subdirectories
Problems with news in 'NEWS.md':
Cannot extract version info from the following section titles:
Additional functions and data sets
Amendments to functions
package subdirectories
Problems with news in ‘NEWS.md’:
Cannot extract version info from the following section titles:
Additional functions and data sets
Amendments to functions
package subdirectories
Problems with news in ‘NEWS.md’:
Cannot extract version info from the following section titles:
Additional functions and data sets
Amendments to functions
package subdirectories
Problems with news in ‘NEWS.md’:
Cannot extract version info from the following section titles:
Additional functions and data sets
Amendments to functions
package subdirectories
Problems with news in ‘NEWS.md’:
Cannot extract version info from the following section titles:
Additional functions and data sets
Amendments to functions
package subdirectories
Problems with news in 'NEWS.md':
Cannot extract version info from the following section titles:
Additional functions and data sets
Amendments to functions
package subdirectories
Problems with news in ‘NEWS.md’:
Cannot extract version info from the following section titles:
Additional functions and data sets
Amendments to functions
package subdirectories
Problems with news in ‘NEWS.md’:
Cannot extract version info from the following section titles:
Additional functions and data sets
Amendments to functions
package subdirectories
Problems with news in 'NEWS.md':
Cannot extract version info from the following section titles:
Additional functions and data sets
Amendments to functions