CRAN/E | SWIM

SWIM

Scenario Weights for Importance Measurement

Installation

About

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" and Pesenti S.M. (2021) "Reverse Sensitivity Analysis for Risk Modelling" .

Citation SWIM citation info
github.com/spesenti/SWIM
papers.ssrn.com/sol3/papers.cfm?abstract_id=3515274
utstat.toronto.edu/pesenti/?page_id=138
Bug report File report

Key Metrics

Version 1.0.0
R ≥ 3.5.0
Published 2022-01-09 837 days ago
Needs compilation? no
License GPL-3
CRAN checks SWIM results
Language en-US

Downloads

Yesterday 6 0%
Last 7 days 41 0%
Last 30 days 153 -6%
Last 90 days 476 -29%
Last 365 days 2.172 -33%

Maintainer

Maintainer

Silvana M. Pesenti

swimpackage@gmail.com

Authors

Silvana M. Pesenti

aut / cre

Alberto Bettini

aut

Pietro Millossovich

aut

Andreas Tsanakas

aut

Zhuomin Mao

ctb

Kent Wu

ctb

Material

README
NEWS
Reference manual
Package source

Vignettes

Scenario Weights for Importance Measurement

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

SWIM archive

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