City Research Online

Scenario Weights for Importance Measurement (SWIM) – an R package for sensitivity analysis

Pesenti, S. M., Bettini, A., Millossovich, P. and Tsanakas, A. ORCID: 0000-0003-4552-5532 (2020). Scenario Weights for Importance Measurement (SWIM) – an R package for sensitivity analysis.

Abstract

The SWIM package implements a flexible sensitivity analysis framework, based primarily on results and tools developed by Pesenti et al. (2019). SWIM provides a stressed version of a stochastic model, subject to model components (random variables) fulfilling given probabilistic constraints (stresses). Possible stresses can be applied on moments, probabilities of given events, and risk measures such as Value-at-Risk and Expected Shortfall. SWIM operates upon a single set of simulated scenarios from a stochastic model, returning scenario weights, which encode the required stress and allow monitoring the impact of the stress on all model components. The scenario weights are calculated to minimise the relative entropy with respect to the baseline model, subject to the stress applied. As well as calculating scenario weights, the package provides tools for the analysis of stressed models, including plotting facilities and evaluation of sensitivity measures. SWIM does not require additional evaluations of the simulation model or explicit knowledge of its underlying statistical and functional relations; hence it is suitable for the analysis of black box models. The capabilities of SWIM are demonstrated through a case study of a credit portfolio mode.

Publication Type: Article
Publisher Keywords: Sensitivity analysis; risk measures; stress testing; sensitivity measures, Kullback-Leibler divergence
Subjects: H Social Sciences > HF Commerce
Departments: Cass Business School > Actuarial Science & Insurance
URI: https://openaccess.city.ac.uk/id/eprint/23473
[img]
Preview
Text - Submitted Version
Download (1MB) | Preview

Export

Downloads

Downloads per month over past year

View more statistics

Actions (login required)

Admin Login Admin Login