IDEAS home Printed from https://ideas.repec.org/a/cup/anacsi/v15y2021i2p458-483_13.html
   My bibliography  Save this article

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

Author

Listed:
  • Pesenti, Silvana M.
  • Bettini, Alberto
  • Millossovich, Pietro
  • Tsanakas, Andreas

Abstract

The Scenario Weights for Importance Measurement (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 model.

Suggested Citation

  • Pesenti, Silvana M. & Bettini, Alberto & Millossovich, Pietro & Tsanakas, Andreas, 2021. "Scenario Weights for Importance Measurement (SWIM) – an R package for sensitivity analysis," Annals of Actuarial Science, Cambridge University Press, vol. 15(2), pages 458-483, July.
  • Handle: RePEc:cup:anacsi:v:15:y:2021:i:2:p:458-483_13
    as

    Download full text from publisher

    File URL: https://www.cambridge.org/core/product/identifier/S1748499521000130/type/journal_article
    File Function: link to article abstract page
    Download Restriction: no
    ---><---

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:cup:anacsi:v:15:y:2021:i:2:p:458-483_13. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Kirk Stebbing (email available below). General contact details of provider: https://www.cambridge.org/aas .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.