IDEAS home Printed from https://ideas.repec.org/a/gam/jrisks/v10y2021i1p3-d710577.html
   My bibliography  Save this article

mSHAP: SHAP Values for Two-Part Models

Author

Listed:
  • Spencer Matthews

    (Department of Statistics, Donald Bren School of Information and Computer Science, University of California-Irvine, Irvine, CA 92697, USA)

  • Brian Hartman

    (Department of Statistics, College of Physical and Mathematical Sciences, Brigham Young University, Provo, UT 84602, USA)

Abstract

Two-part models are important to and used throughout insurance and actuarial science. Since insurance is required for registering a car, obtaining a mortgage, and participating in certain businesses, it is especially important that the models that price insurance policies are fair and non-discriminatory. Black box models can make it very difficult to know which covariates are influencing the results, resulting in model risk and bias. SHAP (SHapley Additive exPlanations) values enable interpretation of various black box models, but little progress has been made in two-part models. In this paper, we propose mSHAP (or multiplicative SHAP), a method for computing SHAP values of two-part models using the SHAP values of the individual models. This method will allow for the predictions of two-part models to be explained at an individual observation level. After developing mSHAP, we perform an in-depth simulation study. Although the kernelSHAP algorithm is also capable of computing approximate SHAP values for a two-part model, a comparison with our method demonstrates that mSHAP is exponentially faster. Ultimately, we apply mSHAP to a two-part ratemaking model for personal auto property damage insurance coverage. Additionally, an R package (mshap) is available to easily implement the method in a wide variety of applications.

Suggested Citation

  • Spencer Matthews & Brian Hartman, 2021. "mSHAP: SHAP Values for Two-Part Models," Risks, MDPI, vol. 10(1), pages 1-23, December.
  • Handle: RePEc:gam:jrisks:v:10:y:2021:i:1:p:3-:d:710577
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-9091/10/1/3/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-9091/10/1/3/
    Download Restriction: no
    ---><---

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Spencer Matthews & Brian Hartman, 2022. "Machine Learning in Ratemaking, an Application in Commercial Auto Insurance," Risks, MDPI, vol. 10(4), pages 1-25, April.

    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:gam:jrisks:v:10:y:2021:i:1:p:3-:d:710577. 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: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    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.