Other packages > Find by keyword >

SWIM  

Scenario Weights for Importance Measurement
View on CRAN: Click here


Download and install SWIM package within the R console
Install from CRAN:
install.packages("SWIM")

Install from Github:
library("remotes")
install_github("cran/SWIM")

Install by package version:
library("remotes")
install_version("SWIM", "1.0.0")



Attach the package and use:
library("SWIM")
Maintained by
Silvana M. Pesenti
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2019-07-19
Latest Update: 2022-01-09
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>.
How to cite:
Silvana M. Pesenti (2019). SWIM: Scenario Weights for Importance Measurement. R package version 1.0.0, https://cran.r-project.org/web/packages/SWIM. Accessed 30 Oct. 2026.
Previous versions and publish date:
(2026-07-09 08:25), 0.1.0 (2019-07-19 12:00), 0.2.0 (2020-01-10 17:50), 0.2.1 (2020-05-22 10:10), 0.2.2 (2020-09-22 12:50), 1.0.0 (2022-01-09 16:02)
Other packages that cited SWIM R package
View SWIM citation profile
Other R packages that SWIM depends, imports, suggests or enhances
Complete documentation for SWIM
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

CVrisk  
Compute Risk Scores for Cardiovascular Diseases
Calculate various cardiovascular disease risk scores from the Framingham Heart Study (FHS), the Ame ...
Download / Learn more Package Citations See dependency  
GLMsData  
Generalized Linear Model Data Sets
Data sets from the book Generalized Linear Models with Examples in R by Dunn and Smyth. ...
Download / Learn more Package Citations See dependency  
RiemBase  
Functions and C++ Header Files for Computation on Manifolds
We provide a number of algorithms to estimate fundamental statistics including Fr ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  

29,218

R Packages

247,686

Dependencies

77,281

Author Associations

29,219

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA