Hostname: page-component-586b7cd67f-dsjbd Total loading time: 0 Render date: 2024-11-22T18:21:05.682Z Has data issue: false hasContentIssue false

Construction of rating systems using global sensitivity analysis: A numerical investigation

Published online by Cambridge University Press:  19 October 2023

Arianna Vallarino
Affiliation:
Collegio Carlo Alberto, Turin, Italy
Giovanni Rabitti*
Affiliation:
Department of Actuarial Mathematics and Statistics, Heriot-Watt University, Edinburgh EH14 4AS, UK Maxwell Institute for Mathematical Sciences, Edinburgh EH9 3FD, UK
Amir Khorrami Chokami
Affiliation:
ESOMAS Department, University of Turin and Collegio Carlo Alberto, Turin, Italy
*
Corresponding author: Giovanni Rabitti; Email: g.rabitti@hw.ac.uk
Rights & Permissions [Opens in a new window]

Abstract

The ratemaking process is a key issue in insurance pricing. It consists in pooling together policyholders with similar risk profiles into rating classes and assigning the same premium for policyholders in the same class. In actuarial practice, rating systems are typically not based on all risk factors but rather only some of factors are selected to construct the rating classes. The objective of this study is to investigate the selection of risk factors in order to construct rating classes that exhibit maximum internal homogeneity. For this selection, we adopt the Shapley effects from global sensitivity analysis. While these sensitivity indices are used for model interpretability, we apply them to construct rating classes. We provide a new strategy to estimate them, and we connect them to the intra-class variability and heterogeneity of the rating classes. To verify the appropriateness of our procedure, we introduce a measure of heterogeneity specifically designed to compare rating systems with a different number of classes. Using a well-known car insurance dataset, we show that the rating system constructed with the Shapley effects is the one minimizing this heterogeneity measure.

Type
Research Article
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2023. Published by Cambridge University Press on behalf of The International Actuarial Association

1. Introduction

The process of determining premiums for policyholders based on their risk characteristics is known as ratemaking. Ratemaking involves the utilization of rating factors, which divide the insured population into distinct risk classes. While all available risk factors could theoretically be employed, practical considerations may lead to the exclusion of certain factors due to excessively high premiums or to the complexity of the tariff. More precisely, by aggregating risk classes, new classes emerge where some policyholders pay more than their individual premium, while others pay less. This construction ensures that policyholders with excessively high individual premiums pay a reduced tariff premium, thanks to the solidarity of policyholders who would have lower individual premiums in the original granular classes (see Olivieri and Pitacco, Reference Olivieri and Pitacco2015 for a comprehensive discussion). Concerning the choice of the rating factors, Kudryavtsev (Reference Kudryavtsev2009) writes that insurer portfolios are not homogeneous […] Actuaries try to identify risk factors (covariates) that help explaining differences between objects insured. Then, the net premium rates are estimated on the basis of conditional loss distributions […] This approach actually breaks the portfolio up into sub-portfolios […] Each sub-portfolio is usually more homogeneous than the total insurance portfolio (p. 297). Then, the challenge lies in determining the “appropriate” risk factors and establishing their connection to the “homogeneity of sub-portfolios” (rating classes). This is the primary focus of the current study. Specifically, we aim to identify the key risk factors that significantly influence insurance premiums, as this insight is valuable for enhancing the interpretability of the pricing model. Subsequently, we construct the rating system based on these identified risk factors and examine whether this selection mitigates heterogeneity within the rating classes.

The starting point of our analysis is the estimation of the individual premiums for all the policyholders in the portfolio by using a regression model with all available risk factors (the complete regression model henceforth). Providing a new methodology to construct individual premiums is not the focus of our work. For this reason, we adopt two recent approaches proposed by Baione and Biancalana (Reference Baione and Biancalana2019) and (2021). These authors consider the so-called Two-Part models that are based on a logistic regression to estimate the claim probability and a subsequent quantile regression (QR) for the claim size. After estimating the individual premiums using both approaches, the next step is to develop a rating system. As mentioned by Kudryavtsev (Reference Kudryavtsev2009) and Olivieri and Pitacco (Reference Olivieri and Pitacco2015), it is necessary to select specific risk factors in order to construct the rating system. The main question is then how to find the risk factors that cause the highest variations of the individual premiums. A traditional approach to choose such risk factors is based on the p-values relative to the logistic regression coefficients (Heras et al., Reference Heras, Moreno and Vilar-Zanón2018). Nevertheless, the significance of regression coefficients alone does not provide a comprehensive understanding of the ranking of risk factors in terms of importance, which is a critical aspect to explore. Moreover, p-values are not reliable in presence of correlations among the risk factors, as typically happens in insurance dataset. Another complication arises when using p-values in Two-Part models. As Baione and Biancalana (Reference Baione and Biancalana2021) point out, a non-statistically significant p-value of the same regression parameter in the GLM Logit does not imply a non-statistical significance in the QRs. Thus, we need to adopt a method to find the importance of risk factors in individual pricing with the Two-Part models, which is not based on p-values.

The Shapley value, originating from the economic literature (Shapley, Reference Shapley, Kuhn and Tucker1953), is an attribution method that has found various applications in the actuarial field. It is a versatile tool for allocating the quantity produced by a team among individual players. In the actuarial literature, Lemaire (Reference Lemaire1984) applies the Shapley value to provide a solution for the problem of operating cost allocation among insurance companies or among different classes of a company. Lemaire (Reference Lemaire1991) considers other insurance applications of cooperative game theory. Kaye (Reference Kaye2005) provides an overview of risk measurement and capital allocation techniques, including the Shapley value. Recently, Godin et al. (Reference Godin, Hamel, Gaillardetz and Hon-Man Ng2023)quantify the contributions of various risk sources to variable annuities contracts using the Shapley value. Mayer et al. (Reference Mayer, Meier and Wuthrich2023) provide an overview on approaches based on the Shapley value for explaining machine learning models.

In parallel, the Shapley value has gained increasing attention in the sensitivity analysis literature as a global variable importance index for complex models. Researchers have proposed using the Shapley value to allocate the variance of a model’s output among its input variables (Owen, Reference Owen2014). The underlying idea is that variables explaining the highest fraction of the variance are considered the most important, as their variations have a significant impact on the model’s output. Allocating the variance to individual risk factors provides a natural approach to defining global variable importance. Owen suggests using the Sobol’ indices as the value function for computing Shapley values (Sobol’, Reference Sobol’1993). When the Sobol’ indices are used as the value function, the resulting Shapley values are referred to as Shapley effects (Song et al., Reference Song, Nelson and Staum2016). Shapley effects offer an appealing method for attributing the model’s variance to individual risk factors, thereby providing insights into their relative importance. Shapley effects remain defined and interpretable even in the case of dependent risk factors and/or domain irregularities (Owen and Prieur, Reference Owen and Prieur2017). To the best of our knowledge, Rabitti and Borgonovo (Reference Rabitti and Borgonovo2020) are the only work in the actuarial literature in which Shapley effects are adopted to find the most important risk between mortality and interest rate in annuity models.

In this paper, we consider the Shapley effects to construct the rating system. Our rationale is that constructing the rating system based on the most important variables serves to minimize the variability within the rating classes, as it reduces the residual source of variance as much as possible. We provide an analytical example confirming the appropriateness of our approach. However, in general Shapley effects cannot be expressed in closed form, even for very simple bivariate models (see Owen and Prieur, Reference Owen and Prieur2017). Hence, numerical estimation becomes the only possible approach. For this reason, in this work we combine the algorithm of Plischke et al. (Reference Plischke, Rabitti and Borgonovo2021) (which reduces the computational cost of Song et al., Reference Song, Nelson and Staum2016) with the cohort method of Mase et al. (Reference Mase, Owen and Seiler2019). To check the validity of our approach in reducing the intra-class variability, we consider the homogeneity indices of Henckaerts et al. (Reference Henckaerts, Antonio, Clijsters and Verbelen2018). Additionally, we introduce an actuarial indicator that specifically focuses on comparing rating systems. In our case study, all the indicators confirm that the rating system constructed with variables with the highest Shapley effects shows the highest homogeneity within the rating classes. In general, our approach provides also a novel application of the Shapley effects which, beyond traditional model interpretability, might support the rating classes construction.

The rest of the paper is organized as follows: Section 2 provides an overview of the two methods for the individual insurance premium estimation. Section 3 presents a brief description of Shapley effects in the context of variance-based sensitivity measures. In Section 4, we discuss how to construct the rating systems based on Shapley effects, and we introduce the homogeneity measures. Section 5 contains the numerical application on an Australian car insurance dataset.

2. Individual premium estimation

A commonly used approach for individual ratemaking is based on the QR, which was introduced by Koenker and Bassett (Reference Koenker and Bassett1978). The QR allows for the estimation of the relationship between a specific quantile of the random loss of the i-th policyholder and a set of covariates $\mathbf{x}_{i}=(x_{i1}, \dots, x_{ik})$ .

The application of the QR in insurance ratemaking was first proposed by Kudryavtsev (Reference Kudryavtsev2009). In this approach, the estimation of the aggregate claims amount is divided into two parts: estimating the conditional aggregate claims amount given that the policyholder has made a claim and assessing the probability of having no claims. However, a limitation of this approach is that it assumes a single probability of having no claims for all risk classes, disregarding the varying levels of riskiness among different classes. Each risk class may have its own distinct probability of having no claims based on the specific characteristics of the policyholders within that class. Ignoring this heterogeneity may result in inadequate pricing decisions and inaccurate estimations of the aggregate claims amount.

To overcome this limitation, Heras et al. (Reference Heras, Moreno and Vilar-Zanón2018) extend Kudryavtsev’s model through the estimation of a different probability of having no claims for each risk class. Firstly, they adopt a logistic regression to estimate the class-specific probabilities of having no claims. In the second stage, the QR is applied to model the conditional loss distribution given that a claim occurs. Despite that the Two-Part model of Heras et al. (Reference Heras, Moreno and Vilar-Zanón2018) offers a more accurate approach, it is computationally inefficient for portfolios with a medium or large number of policyholders, since it requires to run a QR for each risk class. To solve this issue, Baione and Biancalana (Reference Baione and Biancalana2019) consider the specification of a unique probability level for the conditional aggregate claims amount. This approach allows for the calibration of a single QR model. In a subsequent work, Baione and Biancalana (Reference Baione and Biancalana2021) modify the construction of Heras et al. (Reference Heras, Moreno and Vilar-Zanón2018) and introduce the parametric quantile regression (PQR) model of Frumento and Bottai (Reference Frumento and Bottai2016) for estimating the conditional aggregate claims amount. In the PQR, regression coefficients are modeled as parametric functions of the order of the quantile, allowing for the estimation of individual insurance premiums with the computation of a single regression model.

From now on, we adopt the following notation. Moreover, let:

  • $N_{i}$ be a binary variable that indicates whether the i-th policyholder has at least one claim, where $i=1,\dots,n$ indexes the policies;

  • $Y_{i}$ be the variable describing the total amount of claims for the i-th policyholder (which can be null for those with no claims);

In the first stage of the model, the estimation of the probability of having no claims $p^\ast_{i} := \mathbb{P}\! \left( N_{i}=0|\mathbf{x}_{i} \right)$ is performed via logistic regression. In their works, Heras et al. (Reference Heras, Moreno and Vilar-Zanón2018), Baione and Biancalana (Reference Baione and Biancalana2019), and (Reference Baione and Biancalana2021) observe that some policies do not cover the entire year, but only a fraction of it. For this reason, they consider the adjusted probability of having no claims $p_{i} = p^\ast_{i}/\text{exposure}_{i}$ , where $\text{exposure}_{i}$ is the fraction of the year during which the i-th policyholder has been observed. Adjusting for exposure allows for a fair comparison of claim frequencies across different policyholders or groups with varying levels of exposure. We firstly find the probability $p^\ast_i$ using the logistic regression model

(2.1) \begin{equation} \ln \left( \dfrac{1-p^\ast_{i}}{p^\ast_{i}} \right) = \mathbf{x}_{i}^{T} \mathbf{\beta}, \end{equation}

then we compute the adjusted $p_i$ (see de Jong and Heller, Reference de Jong and Heller2008). For the second stage, we aim to compute $Q_{\theta_{i}}[Y_{i}|\mathbf{x}_{i}]$ , that is, the $\theta_{i}$ -quantile of $Y_{i}$ as in Baione and Biancalana (Reference Baione and Biancalana2019), for simplicity denoted in the following $Q_{\theta_{i}}[Y_{i}]$ . To begin with, the cumulative distribution function of $Y_{i}$ is

(2.2) \begin{equation}F_{Y_{i}}(Q_{\theta_{i}}[Y_{i}]) = p_{i} + (1- p_{i}) F_{Y_i\mid Y_i>0}(Q_{\theta_{i}}[Y_{i}]).\end{equation}

In Equation (2.2), the cumulative probability of the i-th policy not exceeding the total claim amount $Y_{i}$ is obtained by adding the two terms. The first term represents the probability that the policy has no claims ( $p_{i}$ ), while the second term represents the probability that the policy does not exceed $Y_{i}$ given that it has at least one claim, multiplied by the complementary probability of having no claims ( $1-p_{i}$ ).

It is typical to set a unique probability level $\theta$ for all policyholders (Heras et al., Reference Heras, Moreno and Vilar-Zanón2018; Baione and Biancalana, Reference Baione and Biancalana2021). This practice ensures fairness and avoids any potential discrimination among policyholders when assessing individual losses. Hence, Equation (2.2) becomes $\theta = p_{i} + (1- p_{i}) \theta^{*}_{i}$ and the probability level of the conditional distribution of ${Y}_{i}$ given that $Y_i>0$ is

(2.3) \begin{equation} \theta_{i}^{*} = \dfrac{\theta - p_{i}}{1 - p_{i}}.\end{equation}

Then,

(2.4) \begin{equation}Q_{\theta}[Y_{i}] =F^{-1}_{Y_i\mid Y_i>0} \Bigg( \dfrac{\theta - p_{i}}{1 - p_{i}} \Bigg) = Q_{\theta^{*}_{i}}[Y_i\mid Y_i>0] = \mathbf{x}_{i}^{T} \mathbf{\beta}_{\theta^{*}_{i}} .\end{equation}

The $\theta$ -quantile of the total claims amount $Y_{i}$ equates the $\theta_{i}^{*}$ -quantile of the conditional total claims amount ${Y}_{i}$ given that $Y_i>0$ . Differently to $\theta$ , the probability level $\theta_i^*$ depends on i since it is relative to an individual quantile compensation with respect to the level $\theta$ . Thus, it is possible to estimate the $\theta$ -quantile of $Y_{i}$ by simply modeling the conditional distribution of the losses given that they are positive. As done in Heras et al. (Reference Heras, Moreno and Vilar-Zanón2018) and Baione and Biancalana (Reference Baione and Biancalana2021), we select $\theta = 95\%$ as the probability level of interest (further details are provided in Baione and Biancalana, Reference Baione and Biancalana2021). We remark that the notation $\mathbf{\beta}_{\theta^{*}_{i}}$ pertains to the coefficients of the QR, whereas the notation $\beta$ is associated with those of the logistic regression in Equation (2.1).

At this point, it is necessary to estimate a QR for each $\theta^{*}_{i},\,i=1,2,\dots,n$ . Clearly, to estimate individual insurance premiums becomes rapidly unfeasible as the dimension of the portfolio increases. Next Sections 2.1 and 2.2 present two procedures solving this issue.

2.1. Parametric quantile regression ratemaking (PQRR)

Baione and Biancalana (Reference Baione and Biancalana2021) apply in the second stage the PQR to obtain a parsimonious model for the individual premium calculation. With PQR, the regression coefficients are modeled as parametric functions of the order of the quantile, depending on a set of parameters $\gamma$

(2.5) \begin{equation}\beta_{l}(\theta,\gamma_{l})=\gamma_{l0} + \gamma_{l1} b_{1}(\theta) + \dots + \gamma_{ld} b_{d}(\theta).\end{equation}

By convention, $b_{0}(\theta)=1$ and $l = 0,\dots,s$ . The quantity s represents the total count of numerical variables and all possible levels of the categorical risk factors, excluding the corresponding baseline level for each factor. On the other hand, d denotes the number of functions utilized for performing the PQR analysis. To choose the functions $b_1(\theta),\dots,b_d(\theta)$ , the only assumption to take into account is that their computation must lead to a $\theta$ -monotonically increasing quantile function. Baione and Biancalana (Reference Baione and Biancalana2021) suggest to use the shifted Legendre polynomials (SLPs). A polynomial of degree d is defined as $\widetilde{P}_{d}(x) = P_{d}(2x -1)$ with $\widetilde{P}_{d}$ orthogonal on [0,1]. The R package iqr, used to estimate the PQR, is optimized for this kind of orthogonal polynomials. The choice of the polynomial degree d shall be made in accordance with the dataset. In fact, QR can be affected by quantile crossing problems. This problem appears when quantile curves cross each other and this leads to a nonmonotonic behavior. In the context of individual premium estimation, this issue can be overcome by lowering the degree of the SLP. In fact, even if using higher degrees could appear better since leads to a more flexible model, a quantile crossing issue can arise due to the oscillations of polynomials. For a complete description of this method, we refer to Frumento and Bottai (Reference Frumento and Bottai2016) and Baione and Biancalana (Reference Baione and Biancalana2021). The advantage of this approach is that by calibrating only one regression we are able to model the conditional claims amount at the proper probability level in Equation (2.3) for each policyholder in the portfolio. To compute the insurance premium, Heras et al. (Reference Heras, Moreno and Vilar-Zanón2018) and Baione and Biancalana (Reference Baione and Biancalana2021) use a quantile premium principle that is a linear convex combination of the expected value of $Y_{i}$ and its $\theta$ -quantile

(2.6) \begin{equation} P^{PQRR}_{i} = (1-\alpha) \mathbb{E}[Y_{i}] + \alpha Q_{\theta}[Y_{i}],\end{equation}

for $\alpha\in [0,1]$ , where we recall that $Y_i$ is a function of the risk factors $\mathbf{x}_i$ . The rationale of this premium principle is to charge the fair value of a contract (the expected loss) with a safety loading component, which makes the premium more expensive than the mean. The unconditional expectation $\mathbb{E}[Y_{i}]$ can be computed using the law of total expectation:

(2.7) \begin{equation} \begin{split} \mathbb{E}[Y_{i}] & = \mathbb{E}\left[\mathbb{E}[Y_{i}|N_{i}]\right] \\ & = \mathbb{P}\! \left( N_{i}=0 \right) \mathbb{E}[Y_{i}|N_{i}=0] + \mathbb{P}\! \left( N_{i}>0 \right) \mathbb{E}[Y_{i}|N_{i}>0] \\ & = (1 - p_{i}) \mathbb{E}[Y_i\mid Y_i>0], \end{split} \end{equation}

and the individual premium $P^{PQRR}_{i}$ is then found with the PQR and the premium principle in Equation (2.6). The corresponding individual premium is denoted with PQRR. For its computation, it is necessary to calibrate the proper level for the loading factor $\alpha$ . The idea is that the sum of all premiums has to equate to the aggregate premium $\pi(Y)$ , where Y denotes the random aggregate loss. Therefore, we need to find the value of $\alpha$ that satisfies the following balance equation:

(2.8) \begin{equation}\pi(Y) = \sum_{i=1}^{n}[\alpha Q_{\theta}[Y_{i}] + (1 - \alpha) \mathbb{E}[Y_{i}]],\end{equation}

which yields

(2.9) \begin{equation}\alpha = \frac{\pi(Y) - \mathbb{E}[Y]}{Q_{\theta}[Y] - \mathbb{E}[Y]}.\end{equation}

Following Baione and Biancalana (Reference Baione and Biancalana2019, Reference Baione and Biancalana2021), the aggregate premium $\pi(Y)$ has to be computed as the sum of the expected aggregate loss plus a risk margin. The risk margin is selected using the solvency conditions:

(2.10) \begin{equation}\pi(Y) = (1 + 3\sigma )\mathbb{E}[Y].\end{equation}

The volatility factor $\sigma$ is set at the level of the 10% from Solvency II Standard Formula for Premium Risk in the Motor Third Party Liability insurance (EIOPA, 2009). In this way, we have indirectly found the coefficient $\alpha$ in a way that is compatible with the Solvency II regulation. We remark that $\alpha$ can be specified directly by the analyst in Equation (2.6). However, Baione and Biancalana (Reference Baione and Biancalana2021) consider this choice too important to be left at a discretionary judgment.

2.2. Quantile regression premium calculation (QRPC)

In the actuarial literature, Baione and Biancalana (Reference Baione and Biancalana2019) propose another method to estimate individual premiums using the QR.

In the second stage of the Two-Part model, a unique probability level is fixed for the conditional total claim amount ${Y}_i$ given that $Y_i > 0$ , in order to have $\theta^{*}_{i} \equiv \theta^{*}$ . As a consequence, the probability level for the total claim amount is no longer unique, but it is different for each policyholder, depending on $p_{i}$ and $\theta^{*}$ . So, it is possible to run a unique QR using the probability level $\theta^{*}$ for ${Y}_i$ whenever it is positive. With this intuition, they propose the following premium principle:

(2.11) \begin{equation}P^{QRPC}_{i}=(1-p_{i}) Q_{\theta^{*}}[{Y}_i\mid Y_i > 0].\end{equation}

To calibrate the unique probability level $\theta^*$ for all policyholders, Baione and Biancalana (Reference Baione and Biancalana2019) suggest finding the value of $\theta$ such that all individual premiums sum up to the aggregate premium $\pi(Y)$

(2.12) \begin{equation}\pi(Y)=\sum_{i=1}^{n}P^{QRPC}_{i}=\sum_{i=1}^n (1-p_{i}) Q_{\theta}[{Y}_i\mid Y_i > 0],\end{equation}

where $\pi(Y)$ is the aggregate premium calculated via Equation (2.10). In particular, $\theta^*$ can be found by optimizing the value of $\theta$ in Equation (2.12).

Using the QRPC and PQRR models, we find two distinct sets of individual insurance premiums since we use different premium principles and different methods to assess the probability level of interest. In our application in Section 5 we show that, despite differences in premiums at the individual level, at the global level the importance risk factors that influence premiums are the same.

3. From Sobol’ indices to Shapley effects

Sensitivity analysis denotes the set of techniques and methods aimed at finding the most influential risk factors driving the output of a scientific model (Saltelli et al., Reference Saltelli, Marco, Terry, Campolongo, Cariboni, Gatelli, Saisana and Tarantola2008; Borgonovo and Plischke, Reference Borgonovo and Plischke2016; Da Veiga et al., Reference Da Veiga, Gamboa, Iooss and Prieur2021). Since this information enables the interpretability of the model (Saltelli et al., Reference Saltelli, Marco, Terry, Campolongo, Cariboni, Gatelli, Saisana and Tarantola2008), sensitivity analysis of a decision-support model clearly provides essential insights to analysts and supports model-based policy decisions (Borgonovo et al., Reference Borgonovo, Lu and Rabitti2022). In the sensitivity analysis literature, the importance of risk factors is typically quantified partitioning the model output variance into individual risk factor contributions and their interactions. The resulting variance-based sensitivity measures are known as Sobol’ indices (Sobol’, Reference Sobol’1993). The Sobol’ indices quantify the variance explained by individual risk factors as well as their interaction effects. The risk factors explaining a higher fraction of the variance are the most important. The Sobol’ indices are constructed from the functional ANOVA decomposition of the model output. Let $W=h(\textbf{X})$ be the input–output model, with the assumptions that $h(\mathbf{X}) \in L^{2}$ and that the risk factors $\mathbf{X}=(X_{1}, X_2, \dots, X_{k})$ are independent. The ANOVA decomposition consists in writing $h(\mathbf{X})$ as sum of functions of increasing dimensions:

(3.1) \begin{equation}h(\mathbf{X}) = \sum_{u \subseteq K}h_{u}(\mathbf{X}_u),\end{equation}

where $\mathbf{X}_u$ contains the coordinates of $\mathbf{X}$ indexed by $u\subseteq K=\{1, \dots, k\}$ . The functions $h_{u}(\mathbf{X}_u)$ are recursively defined as:

(3.2) \begin{equation}h_{u}(\mathbf{X}_u) = \int \left(h(\mathbf{X}) - \sum_{v \subset u}h_{v}(\mathbf{X}_v)\right) \textrm{d}B(\mathbf{X}_{- u})\end{equation}

where $B(\mathbf{X}_{- u})$ denotes the distribution of the complementary risk factors $- u=\{1,2,\dots,k\}\setminus u$ not indexed by u. These functions $h_{u}$ are orthogonal since $\int h_{u}(\mathbf{X}_u) h_{v}(\mathbf{X}_v)\textrm{d}B(\mathbf{X}) = 0$ for $u \ne v$ .

The intuition for quantifying the importance of the group $ \mathbf{X}_u$ is evaluating how much variance of W it explains. Denoting with $\sigma^{2}_{u}$ the variance $\sigma^{2}_{u}=\text{Var}(h_{u}(\mathbf{X}_u))$ , by orthogonality it holds

(3.3) \begin{equation}\text{Var}(W)\equiv \sigma^{2}=\sum_{u \subseteq K}\sigma^{2}_{u}.\end{equation}

In the framework of global sensitivity analysis, Sobol’ (Reference Sobol’1993) introduces the importance index

(3.4) \begin{equation}\underline{\tau}^{2}_{u} = \sum_{v\subseteq u}\sigma^{2}_{v}.\end{equation}

Since $\underline{\tau}^{2}_{u}=\text{Var}(\mathbb{E}[W|\mathbf{X}_{u}])=\text{Var}(W)-\mathbb{E}[\text{Var}(W|\mathbf{X}_{u})]$ , this index can be interpreted as the expected reduction of the variance of the output W that is achieved when the set of u risk factors is fixed. In the computer experiment literature, the Sobol’ indices are computed using the pick-and-freeze sampling strategy (see Saltelli et al., Reference Saltelli, Marco, Terry, Campolongo, Cariboni, Gatelli, Saisana and Tarantola2008). Sobol’ indices are interpretable in case of independent risk factors, but it is no longer true when the independence assumption is violated. To overcome the problems with dependent variables and domain irregularities, a promising solution is the adoption of Shapley value for the variance allocation instead of Sobol’ indices (Owen and Prieur, Reference Owen and Prieur2017).

3.1. Shapley value

The Shapley value (Shapley, Reference Shapley, Kuhn and Tucker1953) is an attribution method originated from game theory. It is used to allocate the total value generated by a coalition of players into the contribution of each individual player in a coalition.

Denote with $\phi_j$ the Shapley value of the j-th player. Consider a set of players $K = \{1,2, \dots,k\}$ that participate in a game. We denote with $u\subseteq K$ any possible subcoalition of players and with $\text{val}\,:\,2^{K} \to \mathbb{R}$ the value function of the game, with $\text{val}(\emptyset) = 0$ . The value generated by the players in the subset u is $\text{val}(u)$ and the total value of the game to be allocated is $\text{val}(K)$ .

Consider the following desirable properties for an attribution method (Winter, Reference Winter, Aumann and Hart2002):

  • Efficiency: The sum of Shapley values of all players equates to the total value of the game $\sum_{j=1}^{k}\phi_{j} = \text{val}(K)$ . This means that the total payoff of the game is allocated among all players.

  • Symmetry: If players $j_1$ and $j_2$ make the same marginal contribution to any coalition, $\text{val}(u \cup \{j_1\}) = \text{val}(u \cup \{j_2\})$ for all $u \subseteq K$ with $j_1,j_2 \notin K$ , then $\phi_{j_1}=\phi_{j_2}$ . Thanks to this axiom, the order in which players are considered does not influence the value of the coalition; players with the same marginal contribution receive the same payoff.

  • Dummy: If j is a dummy player, $\text{val}(u \cup \{j\}) = \text{val}(u)$ for all $u \subseteq K$ , then $\phi_{j}=0$ . In other words, if the player’s contribution to the coalition is zero, the payoff of the player is zero (axiom of the null-player).

  • Additivity: If val and $\text{val}'$ have Shapley values $\phi$ and $\phi'$ , respectively, then the game with value $\text{val}(u) + \text{val}'(u)$ has Shapley value $\phi_{j}+ \phi'_{j}$ for all $j \in K$ . This means that if two games are combined, the payoff assigned to the j-th player is equal to the sum of the two payoffs he would get playing the two games separately.

For the generic player j, Shapley (Reference Shapley, Kuhn and Tucker1953) proves that the unique value satisfying these four properties can be expressed as:

(3.5) \begin{equation}\phi_{j} = \sum_{u \subseteq K\setminus\{j\}}\dfrac{(k - |u| -1)!|u|!}{k!}(\text{val}(u \cup \{j\}) - \text{val}(u))\end{equation}

This index is based on the marginal increase $\text{val}(u \cup \{j\}) - \text{val}(u)$ generated when the j-th player joins the coalition u. The marginal contribution is then averaged over all possible coalitions.

The Shapley value is attracting increasing attention in the sensitivity analysis literature as a measure of variable importance (Owen, Reference Owen2014; Song et al., Reference Song, Nelson and Staum2016). Owen (Reference Owen2014) suggests to use as value function the Sobol’ index

(3.6) \begin{equation}\text{val}(u)=\underline{\tau}^{2}_{u}.\end{equation}

The Shapley values obtained with this value function are called the Shapley effects (Song et al., Reference Song, Nelson and Staum2016). Shapley effects enjoy appealing properties:

  1. 1. $\phi_j\geq 0$ for all $j=1,2,\dots,k$ . This holds by Equation (3.5) and because $\underline{\tau}^{2}_{u\cup \{j\}}-\underline{\tau}^{2}_{u}$ is positive as the variance explained increases when a new risk factor is considered for all $u\subseteq K$ .

  2. 2. $\sum_{j=1}^k \phi_j=\textrm{Var}(W)$ . This follows from the efficiency property, meaning that we allocate the variance of the model output.

Remarkably, Properties 1 and 2 hold regardless the dependence structure and marginal distributions of the risk factors. This feature contributes significantly to the widespread adoption of Shapley effects as sensitivity measures in the interpretation of complex models.Footnote 1

The computation of the Shapley effects is not a trivial issue. Song et al. (Reference Song, Nelson and Staum2016) propose a double loop Monte Carlo for the estimation of the value function to be inserted in the Shapley representation in Equation (3.5). Plischke et al. (Reference Plischke, Rabitti and Borgonovo2021) propose an algorithm based on the concept of Möbius inverses, which reduce the number of value functions to be evaluated with respect to the approach of Song et al. (Reference Song, Nelson and Staum2016). With this algorithm, the number of value functions to be evaluated is remarkably reduced from $k!\cdot k$ to $2^k-1$ . Furthermore, it should be noted that the Plischke algorithm offers a way to estimate Shapley values for interactions. However, since it goes beyond the scope of this work, a thorough exploration of this topic is not included here. For more detailed insights, interested readers can refer to the works of Plischke et al. (Reference Plischke, Rabitti and Borgonovo2021) and Lundberg et al. (Reference Lundberg, Erion, Chen, DeGrave, Prutkin, Nair, Katz, Himmelfarb, Bansal and Lee2020).

Denote with $\text{mob}(u)$ the Möbius inverses of the value function $\text{val}(u)$ with:

(3.7) \begin{equation} \text{val}(u) = \sum_{v \subseteq u}\text{mob}(v) \quad \text{and} \quad \text{mob}(u) = \sum_{v \subseteq u}({-}1)^{|u|+|v|} \text{val}(v).\end{equation}

Note that, in the case of independent risk factors, we find $\textrm{mob}(u)=\sigma_u^2$ . Equivalently to the representation in Equation (3.5), Shapley values can be written as

(3.8) \begin{equation}\phi_{j}=\sum_{u:j \in u}\dfrac{\text{mob}(u)}{|u|} .\end{equation}

Following Plischke et al. (Reference Plischke, Rabitti and Borgonovo2021), let all $2^{k}-1$ non-vanishing subsets be indexed by $u_{m}$ with $m=1,\dots,2^{k}-1$ . The value functions are included in a vector H with coordinates $H_{m}=\text{val}(u_{m})$ . To obtain subset inclusion, a matrix Z is proposed:

(3.9) \begin{equation}Z_{mf}=\begin{cases} 1 & \text{if $u_{m} \subseteq u_{f}$} \\[5pt] 0 & \text{otherwise} .\end{cases}\end{equation}

Then, Möbius inverses are obtained with $M=HZ^{-1}$ and Shapley effects are given by

(3.10) \begin{equation}\phi_{j}=\sum_{m:j\in u_{m}}\frac{M_{m}}{|u_{m}|} .\end{equation}

Now, the Shapley effects computation requires an estimate of the value function in Equation (3.6) to compute the Möbius inverses. Differently from the computer experiment literature, we need a method to estimate the Sobol’ indices from given data. A solution to this issue comes from the recent work of Mase et al. (Reference Mase, Owen and Seiler2019), who propose the estimation of $\text{Var}(\mathbb{E}[W|\mathbf{X}_{u}])$ using a cohort approach, as presented in the next section.

3.2. The cohort approach

Assume we have available at hand a dataset of observations ${\{(w_i,\mathbf{x}_i)\}}_{i=1}^n$ , where $w_i$ denotes the quantity of interest. The cohorts are subsets of observations sharing the values of risk factors similar to the ones of a target observation denoted by t. Let $x_{ij}$ be the value of the j-th risk factor for the i-th observation (with $j=1, \dots,k$ and $i=1, \dots, n$ ) and let $x_{tj}$ be the target value for the selected risk factor j. It is necessary to construct a similarity function $z_{tj}$ for each risk factor j. In particular, $z_{tj}:X_{j} \to \{0,1\}$ . The similarity function is equal to 1 when the subject i is considered similar to the target subject t for the risk factor j. In the case of real-valued covariates, it can be appropriate to define similarity using a measure of relative distance. A possible similarity function is

(3.11) \begin{equation} z_{tj}(x_{ij})= \begin{cases} 1 & |x_{ij} - x_{tj}| \le \delta_{j}, \\[5pt] 0 & \text{otherwise}, \end{cases}\end{equation}

where $\delta_{j}$ is the specified distance. If the variables are continuous, Mase et al. (Reference Mase, Owen and Seiler2019) consider $\delta_j=0.1\cdot\text{range}(x)$ , while $\delta_{j}=0$ if they are discrete. Now it is possible to define the cohort of t with respect to risk factors in u as

(3.12) \begin{equation}C_{t,u}=\{i \in 1\,:\,n \quad | \quad z_{tj}(x_{ij})=1, \forall j \in u\}.\end{equation}

By definition, $C_{t,u}$ is the set of subjects that are similar to the target subject t for all risk factors $j \in u$ . By construction, $C_{t,u}$ is never empty since it contains at least the target observation $x_t$ . Using the cohorts, Mase et al. (Reference Mase, Owen and Seiler2019) found estimates of the Sobol’ indices as follows. Consider the cohort means

(3.13) \begin{equation} \frac{1}{|C_{t,u}|} \sum_{i \in C_{t,u}}w_i = \bar{w}_{t,u},\end{equation}

where $|C_{t,u}|$ is the cardinality. It holds that the cohort average $\bar{w}_{t,u}$ is an estimate of the conditional mean for the target $\mathbb{E}[W| X_{t,u}]$ . Since each observation has probability $n^{-1}$ , we obtain an estimate of the value function:

(3.14) \begin{equation}\text{val}(u)= \frac{1}{n} \sum_{t=1}^{n}{\left( \bar{w}_{t,u} - \bar{w}\right)}^{2},\end{equation}

where $\bar{w}$ is an estimate of the model output mean $\mathbb{E}[W]$ . Hence, to compute the Shapley effects, we use the value function in Equation (3.14), estimated via cohort approach, to calculate the Möbius inverses in Equation (3.7). Finally, Shapley effects are obtained via Equation (3.8), adopting the algorithm proposed by Plischke et al. (Reference Plischke, Rabitti and Borgonovo2021). A MATLAB implementation can be found at https://github.com/giovanni-rabitti/ratingsystemshapley.

4. Constructing and comparing rating systems

After the implementation of the methods presented in Sections 2 and 3, we have at hand the individual quantile premiums (found with QRPC and PQRR) for the $i=1, 2,\dots, n$ policyholders in the portfolio. Additionally, we estimate the most important risk factors determining these premiums. This information is crucial for the construction of a rating system in which the policyholders are divided into risk classes as homogeneous as possible.

Suppose that an actuarial analyst has evaluated the Shapley effects for the k risk factors and that this analyst wants to construct a system based on two of them. The two risk factors with highest Shapley effects explain together the highest fraction of the variance of the individual premiums among all possible combinations of two risk factors out of k. Denote them with $\phi_{k_1}$ and $\phi_{k_2}$ . Then, $\left(\phi_{k_1}+\phi_{k_2}\right)/\sigma^{2}$ is the maximum possible. By the efficiency property, we have that $\left(\sum_{j=1}^k \phi_{j}\right)/\sigma^2=1$ , implying that

(4.1) \begin{equation}\frac{\sum_{k_1\neq j \neq k_2} \phi_{j}}{\sigma^2}=1- \frac{\phi_{k_1}+\phi_{k_2} }{\sigma^2}\end{equation}

is the minimum possible. In other words, the fraction of variance explained by the remaining $k-2$ factors is the smallest possible. As a consequence, the variability of the individual premiums within the risk classes based on the risk factors $k_1$ and $k_2$ is driven only by the other $k-2$ factors, and it is the minimum. This implies that in the selected rating system the insurance premium for each policyholder is closer to the average risk class premium than in any other systems.

4.1. Analytical example

We illustrate our procedure with an analytical example. Assume that the generic premium $P^*$ can be written as

(4.2) \begin{equation} P^*=\sum_{j=1}^{k} \lambda_{j} X_{j}\end{equation}

where each variable $X_{j}$ is considered to be discrete (continuous variables are typically discretized for rating systems construction – see Henckaerts et al., for $j=1, \ldots, k$ . Every realization of $\mathbf{X}$ is $\mathbf{x,}$ which is the vector of the characteristics of a policyholder (for the sake of simplicity, we drop the index i in this analytical example).

Assume that the rating system is constructed using the selected variables $u\subseteq K$ . In this system, a generic class is indexed by r with $r=1, \dots, R$ and is uniquely identified by fixing the levels of the vector $\mathbf{X}_u=\mathbf{x}_u$ . In this class, a generic premium is given by

(4.3) \begin{equation} P_r = \sum_{j\in u} \lambda_{j} x_j + \sum_{j \notin u} \lambda_{j} X_{j}.\end{equation}

In other words, since the other variables $\mathbf{X}_{-u}$ can vary, $P_r $ is a random variable representing the individual policyholders’ premiums in the class r. In particular, when $u=\{1,\dots,k\}$ , then r is the cohort of policyholders sharing the same levels for all variables and $P_r$ becomes deterministic. In the present framework, the following result holds.

Proposition 4.1. Assume that the class r is identified by $\mathbf{x}_u$ . For the any policyholder in r, consider the difference between their individual premium and the mean class premium, $ P_r-\mathbb{E}[P_r]$ . Then, for any fixed threshold $\xi>0$ , the probability $\mathbb{P}\! \left( \left|P_r-\mathbb{E}[P_r]\right|\geq \xi \right)$ is minimized when the rating system is constructed by using the rating factors with the highest Shapley effects.

Proof. First of all, by the additivity and efficiency axioms of the Shapley values and the independence of the $X_{i}$ s, the variance of $P^*$ is

(4.4) \begin{equation} \text{Var}(P^*)=\sum_{j=1}^{k}\phi_j,\end{equation}

where $\phi_j=\lambda_{j}^2 \text{Var}(X_{j})$ for all $j=1,\dots,k$ . Analogously, the variance of the individual premiums of policyholders in the class r is

(4.5) \begin{equation} \text{Var}\left(P_r\right)=\sum_{j\not\in u}\phi_{j}\end{equation}

because of Equation (4.3). Moreover, the average class premium in r is

(4.6) \begin{equation} \mathbb{E}\left[P_r\right]=\sum_{j\in u} \lambda_{j} x_j + \sum_{j \notin u} \lambda_{j} \mathbb{E}\left[X_{j}\right].\end{equation}

This mean value represents the premium that all policyholders in class r are required to pay. Then, it holds

(4.7) \begin{equation} \begin{split} \mathbb{P}\! \left( \left|P_r-\mathbb{E}\left[P_r\right]\right| \geq \xi \right) &= \mathbb{P}\! \left( \left|\sum_{j \notin u} \lambda_{j} X_j - \sum_{j \notin u} \lambda_{j}\mathbb{E}\left[X_{j}\right]\right|\geq \xi \right)\\ & \leq\frac 1{\xi^2}{\text{Var}\left(\sum_{j \notin u} \lambda_{j} X_j\right)}=\frac 1{\xi^2}\sum_{j \notin u}\phi_j \end{split}\end{equation}

by Chebyshev’s inequality applied to the random variable $\sum_{j \notin u} \lambda_{j} X_j$ , which represents the residual variability within the system constructed by fixing $\mathbf{X}_u$ . If $\mathbf{X}_u$ are the rating factors with the highest Shapley effects, then the upper bound of $\mathbb{P}\! \left( \left|P_r-\mathbb{E}\left[P_r\right]\right| \geq \xi \right)$ is the lowest possible, because for any fixed $\xi$ the value $\sum_{j \notin u}\phi_j$ is minimized. Hence, for any class in this rating system, the probability that individual premiums deviate from the class mean is minimized.

It is worth commenting Proposition 4.1. First of all, Equation (4.5) is a within sum of squares index for the individual premiums in the class r (since we are summing up the residual variances of the individual premiums in the class r). However, differently from clustering methods, our aim is to minimize this index by changing the selected rating factors and not by aggregating factor levels. Secondly, we assumed a linear pricing model with independent and discrete inputs. This choice was necessary to obtain a closed form expression of the Shapley effects (as a matter of fact, Owen and Prieur, Reference Owen and Prieur2017 managed to provide analytical expressions of Shapley effects only for some specific bivariate cases).

4.2. Homogeneity indices for system comparison

In general, numerical methods represent the only possible approach to estimate these sensitivity indices. Consequently, it becomes necessary to include statistical indicators to assess the reliability of the our procedure. Consider the premium $P^*_{i}$ , which is the loading premium computed at the individual level for each policyholder with QRPC or PQRR presented in Equations (2.6) and (2.11). To measure the difference of the individual premiums when computed with all risk factors and with the selected risk factors with the Shapley effects, we propose the mean-squared difference (MSD) defined as

(4.8) \begin{equation} \text{MSD} = \frac{1}{n}\sum_{i=1}^n {\left( P_i^* - P_i^{\rm{red}} \right)}^2,\end{equation}

where $P_i^{\rm{red}}$ represents the class premium of the i-th policyholder computed with the reduced model. The lower the MSD, the closer the individual premium is to the class premium in the rating system. We observe that $P_i^{\rm{red}}$ coincides with the class premium to which the i-th policyholder belongs to (in every risk class all policyholders pay the same average price), so it is the empirical counterpart of Equation (4.6). To emphasize the dependency on the class r rather than on the policyholder i, we can denote the same average premium as $P_r^{\rm{red}}$ . Hence, we can equivalently rewrite the MSD as

(4.9) \begin{equation} \text{MSD} = \frac 1n \sum_{r=1}^R \sum_{{i_r}=1}^{n_r} {\left(P^*_{i_r} - P_r^{\rm{red}}\right)}^2,\end{equation}

where $n_r$ is the number of insured in the risk class r, with $\sum_{r=1}^R n_r=n$ . Equation (4.9) tells us that the MSD is the sum of the deviations of the individual premiums with respect to their class means, averaged for all policyholders in all classes. Hence, the numerator of the MSD is a sum of squared distances, which can be interpreted as a sum of within-classes variations.

We can also finally consider two measures of deviation used in the actuarial literature (Henckaerts et al., Reference Henckaerts, Antonio, Clijsters and Verbelen2018), namely the goodness of variance fit (GVF)

(4.10) \begin{equation} \text{GVF} = 1- \frac{\sum_{r=1}^R \sum_{i_r=1}^{n_r} {\left(P^*_{i_r} - P_r^{\rm{red}}\right)}^2}{\sum_{i=1}^n {\left( P_i^* - \overline{P} \right)}^2},\end{equation}

where $\overline{P} = 1/n\sum_{i=1}^{n}P_i^*$ and the tabular accuracy index (TAI)

(4.11) \begin{equation} \text{TAI} = 1- \frac{\sum_{r=1}^R \sum_{i_r=1}^{n_r} |P^*_{i_r} - P_r^{\rm{red}}|}{\sum_{i=1}^n | P_i^* - \overline{P} |}.\end{equation}

The denominator in the previous formulas measures the deviation of each individual premium from the global mean. The numerator measures the deviation of each individual premium from its class mean. The closer the GVF and TAI values are to 1, the more uniform the classes become in terms of their homogeneity. Lastly, note it holds

(4.12) \begin{equation} \text{GVF} = 1- \frac{n}{n-1}\frac{\text{MSD}}{\sum_{j=1}^k\phi_j},\end{equation}

formally connecting the GVF with the MSD and the Shapley effects. We remark that the GVF provides insights on how close the rating system is with respect to the lowest heterogeneity case.

In practice, the rating classes have different means and heterogeneous variances and they are unbalanced. Thus, the problem of their comparison in terms of internal variability intensifies. In general, when the means of classes differ significantly, comparing the absolute differences in variability (i.e. TAI) or the variances (i.e. MSD) can be misleading. For example, in Equation (4.9) the MSD does not explicitly consider the relative variations within each class. When comparing rating systems, it is important to account for this effect in order to ensure an accurate and effective comparison. This is because the absolute differences may be influenced more by the class means rather than the inherent variability within each class. However, this is not the case when considering measures of relative variability, which account for these differences in means. One of such measures is the coefficient of variation (Olivieri and Pitacco, Reference Olivieri and Pitacco2015)

(4.13) \begin{equation}\text{CV}=\dfrac{\sqrt{\sigma^{2}_{P}}}{\overline{P}}\end{equation}

where $\sigma_{P}^{2}$ is the variance of the premiums. Olivieri and Pitacco (Reference Olivieri and Pitacco2015) state that the CV is suitable to compare the riskiness of classes composed of a different number of policyholders. Mahmoudvand and Oliveira (Reference Mahmoudvand and Oliveira2018) use the CV to measure concentration risk in a loan portfolio, while in the actuarial literature Donnelly (Reference Donnelly2014) adopts it to quantify the mortality risk in a defined-benefit pension scheme.

When comparing rating systems in terms of overall homogeneity of their risk classes, we can adopt the coefficients of variation for every risk class and then average. However, a simple arithmetic average of all coefficients of variations of the risk classes of a rating system might not be a good indicator of the general homogeneity of that system. Namely, a risk class with fewer insured that might be more homogeneous will receive the same weight as a risk class with more insured, producing a distortion. Since different rating systems are based on different combinations of the selected risk factors, they are based on different risk classes. We want to aggregate the coefficient of variations of the risk classes of a rating system in order to make comparisons between rating systems. We consider a linear combination of the coefficients of variation. Precisely, an arithmetic mean would be a misleading indicator of homogeneity since classes with different sizes would receive the same weight. Conversely, adopting weighted means can give the right weight to the homogeneity of risk classes composed of a large number of insured. Hence, we propose to compare rating systems using the weighted mean of coefficient of variations (WMCV)

(4.14) \begin{equation} \text{WMCV}=\dfrac{\sum_{r=1}^{R} n_{r}\cdot \text{CV}_{r}}{\sum_{r=1}^{R}n_{r}}.\end{equation}

With this approach, we are able to firstly compute the homogeneity of each risk class (with the coefficient of variation) and, secondly, we take the weighted mean to have a measure for the entire rating system. We consider the WMCV the most appropriate index to compare rating systems in terms of overall homogeneity.

5. Numerical application

We perform the steps previously described using a well-known Australian car insurance dataset, available in the R package InsuranceData. The dataset represents an insurance portfolio composed of 67,856 policies, of which 4624 have at least one claim. The description of the variables contained in the dataset is provided in Table 1. For a detailed description of the dataset, see de Jong and Heller (Reference de Jong and Heller2008).

The first five risk factors listed in Table 1 are factor variables (whose corresponding levels are mentioned), while $\textit{vehicle value}$ is a continuous variable. As done in de Jong and Heller (Reference de Jong and Heller2008), we discretize the variable $\textit{vehicle value}$ . This is a necessary step to avoid the number of risk classes exploding in the construction of the rating systems. For this reason, we follow de Jong and Heller (Reference de Jong and Heller2008) and discretize the risk factor into six different intervals with the same values. We assign to each observation the mean value of the interval where the observation falls. The intervals are the following: $(0,25,000\$]$ with 54,971 policies, $(25,000\$,50,000\$]$ with 11,439 policies, $(50,000\$,75,000\$]$ with 1265 policies, $(75,000\$,100,000\$]$ with 104 policies, $(100,000\$,125,000\$]$ with 44 policies, and finally $(125,000\$, \infty)$ with 33 policies.

Table 1. Variables description.

$^{\dagger}$ Discretized following de Jong and Heller (Reference de Jong and Heller2008).

The presented variables in Table 1 are the six risk factors that we use in our Two-Part models to estimate the individual premiums. In the dataset, there are four other variables: $\textit{Exposure}$ , $\textit{Claim occurrence}$ , $\textit{Claim amount}$ , and $\textit{Number of claims}$ . $\textit{Exposure}$ is a continuous variable bounded between 0 and 1: the value of one indicates that the policy covers the entire year, while a value less than one means that it covers only the corresponding part of the year. $\textit{Claim occurrence}$ is a binary variable in which 0 is assigned to policies with no claims occurrence and 1 to the ones that suffered at least one claim. These policies also have a positive value of the variable $\textit{Claim amount}$ , which indicates the insurance company’s loss. Of course, the policies with zero claims correspond to a claim amount value of zero dollars. The variable $\textit{Numbers of claims}$ counts how many accidents the policyholder has suffered during the year.

All computations have been performed on a standard laptop with 8GB RAM. The PQRR and QRPC have been implemented in the R-software and took around 14 and 2 min, respectively. The estimation of the Shapley effects took around 94 min using the MATLAB software. All codes are available at https://github.com/giovanni-rabitti/ratingsystemshapley.

5.1. Individual premium estimation

The first step of the Two-Part model consists of the estimation of the probability of having no claims. In this case, we use a GLM regression of the binomial family with a logit link function adjusted for the exposure in Equation (2.1). The R code for the logit exposure adjusted is provided by de Jong and Heller (Reference de Jong and Heller2008). In Table A.1, we report the parameters of the logit GLM regression obtained via the maximum likelihood estimation.

In the second step, we estimate the severity component. We first perform the PQR to find the premiums with the PQRR approach (see Section 2.1). The selected function $b(\theta)$ to implement the procedure is a SLP of degree 1. In particular, the regression coefficient has the following formulation: $\beta_{l}(\theta, \gamma_{l})= \gamma_{l0} + \gamma_{l1} (2\theta - 1)$ , $l =0, \dots, 27$ .Footnote 2

Baione and Biancalana (Reference Baione and Biancalana2021) use in the same dataset a SLP of degree 3, since in their numerical application the purpose is the estimation of insurance premiums for the eight risk classes that compose the rating system they construct. In our case, we need to use a SLP of degree 1 since a degree equal to 3 produces numerical instability. In particular, using a polynomial of the second or third degree, we obtain some exceptional small/large values (outliers) for the severity component. Figure A.2 in the Appendix A shows that the goodness-of-fit of this model is satisfactory despite the low degree. Estimated parameters of the PQR are reported in Table A.4 in the Appendix A. In Table 2, the Wald test for the significance of rating factors is shown. From Table 2, we can see that the most statistically significant risk factors are $\textit{vehicle body}$ , $\textit{agecat}$ , and $\textit{area}$ . However, as previously explained, a selection based on the p-values might be misleading due to the lack of interpretability of the ranking in terms of importance of the risk factors. To solve this critical issue, we use the Shapley effects approach to be able to obtain factor prioritization. The Wald test for the $b(\theta)$ components is also provided in Table A.5 in the Appendix. Using Equation (2.6), we estimate the quantile premium principle. As previously done in Heras et al. (Reference Heras, Moreno and Vilar-Zanón2018) and Baione and Biancalana (Reference Baione and Biancalana2021) on this dataset, we use a Gamma GLM with log link function to estimate the conditional expectation of the loss distribution (regression coefficients are provided in Table A.3 in the Appendix).

Table 2. Wald test for rating factors.

Finally, we need to calibrate the loading factor $\alpha$ using Equation (2.9). The value obtained through the calibration procedure is $\alpha = 6.84\%$ . The severity component can also be estimated using QR and the individual premiums can be found by applying the QRPC approach (explained in Section 2.2): this method requires to find the probability level $\theta^{*}$ such that the balance Equation (2.12) holds. In our application, the resulting value is $\theta^{*} = 78.60\%$ . We recall that we are able to run a unique QR with this probability level. The obtained parameters estimates are shown in Table A.2 (see the Appendix). At this point, we can compute the individual insurance premium using the quantile premium principle in Equation (2.11).

5.2. Application of Shapley effects to the rating system construction

Once individual premiums are estimated, we apply the Shapley effects algorithm to the datasets $\left\{\left(P^{QRPC}_i,\mathbf{x}_i\right)\right\}_{i=1}^n $ and $\left\{(P^{PQRR}_i,\mathbf{x}_i)\right\} _{i=1}^n $ to identify the two risk factors that, in combination, explain a greater amount of variance compared to any other pair of variables. The utilization of Shapley effects is further justified by the dependence analysis depicted in Figure A.1 in the Appendix. This analysis reveals that the risk factors are not independent, strengthening the rationale for employing the Shapley effects algorithm. Given the presence of six discrete risk factors, it is important to define the notion of similarity between two observations within a subset u. Specifically, two observations are considered similar with respect to subset u if they share the same values for the coordinates indexed by u. In the case of discrete risk factors, the similarity function in Equation (3.11) is set to $\delta_{\text{j}}=0$ (as done in Mase et al., Reference Mase, Owen and Seiler2019). By applying the algorithm to the premiums obtained with QRPC and PQRR, we display the results in Figure 1. Risk factors $\textit{agecat}$ and $\textit{vehicle body}$ explain together $82.45\%$ of individual premium total variance in case of the QRPC approach and $77.77\%$ in case of the PQRR approach. These two risk factors are the greatest drivers of the individual premiums. Conversely, vehicle value is negligible and could be “frozen” to a constant value, reducing the model complexity (see, for instance, Saltelli et al., Reference Saltelli, Marco, Terry, Campolongo, Cariboni, Gatelli, Saisana and Tarantola2008 for a discussion on freezing irrelevant factors). Also, gender and vehicle age have a low impact on the variability of the individual premiums. These insights enable model interpretability since the analyst knows the main drivers of the pricing models. We note that, despite some differences in premiums at the individual level between the two pricing methods, at the global level the importance of risk factors is the same for both QRPC and PQRR premiums, as shown in Figure 1. Only the fourth and fifth most important risk factors are switched between QRPC and PQRR: vehicle age and gender are, respectively, the fourth and fifth most important risk factors for QRPC, while their roles are inverted for the PQRR. However, the magnitude of the fourth highest Shapley effect is relatively small (around 3–4% for the two pricing methods). We lastly note that discretizing the variable veh_value does not change its irrelevant importance. If it is left continuous, its Shapley effects are $0.0014$ for the QRPC and $0.0047$ for the PQRR, while as a discrete variable they are $0.0036$ and $0.0150$ , respectively.

Figure 1. Shapley effects for the individual premiums computed with QRPC and PQRR. The y-axis shows the Shapley effects for each risk factor (displayed on the x-axis). By the efficiency property, the Shapley effect normalized by the variance can be interpreted as the proportion of explained variance by a single risk factor.

5.3. Rating systems comparison

The estimation of Shapley effects provides us insights about the most important risk factors from a statistical point of view. On the other hand, we need an actuarial valuation to demonstrate that the rating system we have constructed is the one with less variability in the insurance premium. We adopt the indices presented in Subsection 4.2 as a measure to assess the variability within each risk class in a rating system and to evaluate the riskiness of the overall rating system.

With our dataset, composed of 6 risk factors, we can construct 15 different systems made up of 2 risk factors each (remember that we refer to the discretized variable $\textit{vehicle value}$ ). In the literature, two examples of rating systems constructed with this dataset are provided. Heras et al. (Reference Heras, Moreno and Vilar-Zanón2018) build a system using the risk factors $\textit{vehicle age}$ and $\textit{agecat}$ selected with the p-values resulting from the logistic regression model. However, $\textit{vehicle age}$ is not an important risk factor as Figure 1 shows. The second application is offered in Baione and Biancalana (Reference Baione and Biancalana2019) and (2021): the rating system is constructed by using $\textit{gender}$ and $\textit{vehicle age}$ to simplify the representation of their models.

For every rating system based on two risk factors, we estimate the weighted mean of the variation coefficient via Equation (4.14) and the number of non-empty risk classes. Furthermore, we compute the MSD between the individual premiums using the quantile models with all risk factors included and quantile models based on two risk factors only. Note that, for the latter case of two factors, the PQRR and the QRPC for each rating system were recalibrated.Footnote 3

The results, as presented in Table 3, demonstrate that the rating system built on the factors of $\textit{vehicle body}$ and $\textit{agecat}$ exhibits the lowest overall variability in average premiums within each risk class. Additionally, from Table 3 we note the following remarkable aspects. To begin with, all rating systems constructed using the risk factor $\textit{agecat}$ exhibit low values of WMCV. This was expected since $\textit{agecat}$ explains the largest fraction of the variance of the premiums. The MSD is also minimized for both models, when the risk factors are selected using Shapley effects. Consequently, the GVF is maximized as per Equation (4.12) note that it takes values around 0.8, which are close to 1 (recall that a GVF close 1 indicates a high degree of homogeneity). Furthermore, it is important to point out that the low WMCV and the high GVF are not a consequence of the high number of classes. In fact, the selected rating system with $\textit{vehicle body}$ and $\textit{agecat}$ has 78 risk classes, but also the rating system composed of $\textit{vehicle body}$ and $\textit{area}$ , for instance, has a high number of risk classes (76). The difference between the two is that the latter has classes that are overall not homogeneous. We highlight that by using the ranking provided by the Shapley effects, it is possible to select the two risk factors explaining together the highest fraction of the variance subject to a desirably reduced number of classes.

Table 3. Weighted mean coefficient of variation, mean-squared difference, and goodness of variance fit.

Figure 2. Boxplots showing the differences between the premiums estimated using the complete model and two different reduced models. One of the reduced models is suggested by Heras et al. (Reference Heras, Moreno and Vilar-Zanón2018), and the other is constructed using Shapley values.

Finally, we computed the TAI in Equation (4.11). However, this index is not informative for both the PQRR and the QRPC, since all values are close to 1. For instance, the minimum and the maximum values of the index for the QRPC are 0.9999854 and 0.9999936, respectively (confirming the rating system with vehicle body and agecat as the best one in any case). From now on, we consider as the best reduced model the one including the two risk factors with the highest Shapley effects. By using the indicators in Table 3, there is evidence that the premium that a policyholder is charged in the rating class in this system is “closer” to what this policyholder would have been priced at the individual level. We provide a graphical analysis to investigate this point. In Figure 2, we compare the differences of the individual premiums found with the complete regression model (including all risk factors), with the best reduced model and the model with the two risk factors selected by Heras et al. (Reference Heras, Moreno and Vilar-Zanón2018) (denoted with HMVZ).

Figure 2 illustrates that the model constructed with the two primary risk factors explaining the majority of the variance produces premiums that closely align with the individual premiums estimated using the complete model. This observation holds true irrespective of whether the PQRR or QRPC approach is employed for computing the individual premium. In contrast, the HMVZ model demonstrates a greater disparity from the estimated individual premiums. This is coherent with the findings from Table 3 and suggests that constructing a rating system using variables selected based on global sensitivity indices is more appropriate than relying only on p-values. We perform further analyses to delve deeper into the tail behavior. In Figure 3, we compute the empirical probability that the absolute value of the difference between the premiums exceeds a fixed threshold. Figure 3 shows that the tail of the best model converges to zero with a higher pace with respect to the HMVZ model. This fact confirms empirically our findings in Proposition 4.1 for a non-linear pricing model for which Chebyshev bounds cannot be obtained in a closed form. Finally, we want to demonstrate the validity of our Shapley effects approach even for the case in which the actuarial analyst wants to construct the rating system using more than two risk factors. To show this, we compute the WMCV for all possible rating systems composed of 1–6 rating factors. In Figure 4, we plot the WMCV for each rating system versus the number of selected risk factors in the system, for the insurance prices found via the PQRR approach (left panel) and QRPC approach (right panel), respectively. Let a be the total number of risk factors, $a=6$ in our case, and let b be the number of selected risk factors, $b= 1, \dots, 6$ in our case. The number of possible rating system we can construct for a selected number of risk factor b is given by $\binom{a}{b}=\frac{a!}{b!(a-b)!}$ . For this reason, the number of gray bullets in the plot increases up to $b=3$ and then decreases. The linked black bullets represent the rating system constructed with the risk factors found through the Shapley effects algorithm. As expected, these rating systems are the ones with lower WMCV for every number of selected risk factors. The WMCV shows a decreasing trend as the number of selected risk factors that compose the rating systems increases, since the premium computed within each risk class is clearly more accurate by using more risk factors. This is clearly intuitive. However, our approach shows that the reduction in heterogeneity varies depending on the considered risk factors. Specifically, the downward trend is more pronounced when considering up to three selected risk factors, after which the decrease becomes less significant, particularly in the case of PQRR. This is in accordance with the results obtained via the Shapley effects algorithm, since the three risk factors $\textit{agecat}$ , $\textit{vehicle body}$ , and $\textit{area}$ explain approximately $94 \%$ of the variance in both the PQRR model and QRPC model. Hence, considering also the fourth most important risk factors does not lead to a drastic decrease of the WMCV especially for the PQRR case. Note that if we select four risk factors, the rating system with smaller WMCV is for the PQRR case the one composed by $\textit{agecat}$ , $\textit{vehicle body}$ , $\textit{area}$ , and $\textit{gender}$ , while for the QRPC case the one composed by $\textit{agecat}$ , $\textit{vehicle body}$ , $\textit{area}$ , and $\textit{vehicle age}$ , in accordance with the ranking obtained with the Shapley effects algorithm. Finally, we remark that there is a trade-off between the number of risk classes and the overall homogeneity of the system. One could for instance directly estimate the WMCV without computing the Shapley effects. However, we suggest to estimate the Shapley effects at first and then compute the WMCV of the desired combination of the risk factors. Indeed, the WMVC needs to be estimated for all possible systems and this step has to be repeated every time the analyst wants to include more risk factors in the construction, as it happens in Figure 4.

Figure 3. Empirical probability that the individual premiums, computed with the complete model, differ from their class premiums by more than a threshold $\xi$ , computed with the Shapley model and the HMVZ model. In both panels (PQRR on the left and QRPC on the right), given the same threshold, this probability is higher for the HMVZ model. This implies that ceteris paribus in the latter system more policyholders pay a class premium differing from the individual ones the fixed difference $\xi$ .

Figure 4. WMCV for rating systems composed by a different number of risk factors. Black dots represent the WMCV of each rating system based on PQRR (left panel) and QRPC (right panel). On the x-axis, we display the number of risk factors that compose the rating systems. The dotted line links rating systems constructed using risk factors found via the Shapley effects algorithm applied to insurance prices obtained via PQRR and QRPC.

6. Conclusions

This work presents an original procedure for the data-driven construction of rating systems using Shapley effects, with the remarkable advantage of selecting the most influential risk factors for a rating system construction.

We started with the computation of the individual quantile premium using two different methods: the QRPC approach and the PQRR approach. Nonetheless, we remark that our research does not focus on estimating individual premiums. We aim to construct rating systems based on individual premiums. As a result, our methodology is flexible and compatible with any method used to determine individual premiums. We computed the Shapley effects for these two sets of premiums. In particular, we estimated the Shapley effects by merging the cohort approach of Mase et al. (Reference Mase, Owen and Seiler2019) with the Möbius inverses representation of Plischke et al. (Reference Plischke, Rabitti and Borgonovo2021). We consider this approach more appropriate to rank and choose the risk factors with respect to the selection based on p-values, since the latter does not provide information on how to rank risk factors on the basis of their importance. Moreover, p-values are not reliable in the case of dependent risk factors, which is typically the case in insurance datasets. Finally, in order to provide an actuarial evaluation of the quality of our approach, we introduced a new indicator, the WMCV, to compare the homogeneity of the rating systems. Results on a well-known dataset confirm the validity of our approach, since this indicator is minimized for the rating systems constructed using risk factors with the highest Shapley effects, along with other measures of homogeneity.

We believe there is broad margin for future research based on our work. To our best knowledge, the present work is the first one where a global sensitivity measure is adopted to construct a rating system. More precisely, we used Shapley effects as global importance measures. A reviewer interestingly suggested to adopt kernel methods to construct the similarity cohorts: we believe this intuition deserves a full investigation in the future. A possible drawback of the use of Shapley effects lies in their computational cost ( $2^k-1$ ), which is expensive for insurance datasets characterized by a large number of risk factors. Horiguchi and Pratola (Reference Horiguchi and Pratola2023) propose a method for estimating Shapley effects by fitting Bayesian additive regression trees. This metamodel allows the authors to obtain posterior concentration rates, which reduce the dimensionality of the risk factors, enhancing the computational feasibility of the method. Moreover, other global importance measures might be considered to construct suitable rating systems, such as those of Merz et al. (Reference Merz, Richman, Tsanakas and Wüthrich2021) and Makam et al. (Reference Makam, Millossovich and Tsanakas2021). Another research line consists in investigating the global importance of interactions for the two pricing models, which is possible due to adoption of the Möbius inverse algorithm we have proposed. This analysis of interactions requires a dedicated future research project.

Acknowledgments

The authors would like to thank the participants of the conferences MAF2022 and Insurance Data Science 2022 for their feedback on this work. The authors are grateful to the editor and the three referees for their constructive comments.

Supplementary materials

To view supplementary material for this article, please visit https://doi.org/10.1017/asb.2023.34

Competing interests

The authors declare none.

Footnotes

1 The quantile pricing models presented in Section 2 can be considered complex models since they are based on the product of two GLMs (one for the claim sized and one for the claim frequency). Multiplying together two linear models generates non-linear effects among the risk factors.

2 Recall that $l=0$ is the intercept of the regression, while $l=1, \dots 27$ are the parameters in the regression for risk factors.

3 To avoid numerical instability in the calibration of the PQRR, a different degree of the SLP among 1, 2, and 3 is used.

References

Baione, F. and Biancalana, D. (2019) An individual risk model for premium calculation based on quantile: A comparison between generalized linear models and quantile regression. The North American Actuarial Journal, 23 (4), 573590.Google Scholar
Baione, F. and Biancalana, D. (2021) An application of parametric quantile regression to extend the two-stage quantile regression for ratemaking. Scandinavian Actuarial Journal, 2021 (2), 156170.Google Scholar
Borgonovo, E., Lu, X. and Rabitti, G. (2022) Sensitivity analysis of pandemic models can support effective policy decisions. Journal of Computational and Graphical Statistics, 14. doi: 10.1080/10618600.2022.2126483. URL https://doi.org/10.1080/10618600.2022.2126483.Google Scholar
Borgonovo, E. and Plischke, E. (2016) Sensitivity analysis: A review of recent advances. European Journal of Operational Research, 248 (3), 869887.CrossRefGoogle Scholar
Da Veiga, S., Gamboa, F., Iooss, B. and Prieur, C. (2021) Basics and Trends in Sensitivity Analysis. Philadelphia, PA: Society for Industrial and Applied Mathematics.Google Scholar
de Jong, P. and Heller, G. (2008) Generalized Linear Models for Insurance Data . International Series on Actuarial Science. Cambridge: Cambridge University Press.Google Scholar
Donnelly, C. (2014) Quantifying mortality risk in small defined-benefit pension schemes. Scandinavian Actuarial Journal, 2014 (1), 4157.Google Scholar
EIOPA. (2009) Directive 2009/138/ec of the European parliament and of the council 25 November 2009 on the taking-up and pursuit of the business of Insurance and Reinsurance - Solvency II.Google Scholar
Frumento, P. and Bottai, M. (2016) Parametric modeling of quantile regression coefficient functions. Biometrics, 72 (1), 7484.Google Scholar
Godin, F., Hamel, E., Gaillardetz, P. and Hon-Man Ng, E. (2023) Risk allocation through Shapley decompositions, with applications to variable annuities. ASTIN Bulletin: The Journal of the IAA. doi: 10.1017/asb.2023.7.Google Scholar
Henckaerts, R., Antonio, K., Clijsters, M. and Verbelen, R. (2018) A data driven binning strategy for the construction of insurance tariff classes. Scandinavian Actuarial Journal, 2018 (8), 681705.Google Scholar
Heras, A., Moreno, I. and Vilar-Zanón, J.L. (2018) An application of two-stage quantile regression to insurance ratemaking. Scandinavian Actuarial Journal, 2018 (9), 753769.Google Scholar
Horiguchi, A. and Pratola, M.T. (2023) Estimating Shapley effects for moderate-to-large input dimensions. arXiv: Learning. doi: arXiv:2304.03809v1.Google Scholar
Kaye, P. (2005) Risk measurement in insurance: A guide to risk measurement, capital allocation, and related decision support issues. Casualty Actuarial Society Discussion Paper. URL https://www.casact.org/sites/default/files/database/dpp_dpp05_05dpp1.pdf.Google Scholar
Koenker, R. and Bassett, G. (1978) Regression quantiles. Econometrica, 46 (1), 3350.CrossRefGoogle Scholar
Kudryavtsev, A.A. (2009) Using quantile regression for rate-making. Insurance Mathematics & Economics, 45 (2), 296304.Google Scholar
Lemaire, J. (1984) An application of game theory: Cost allocation. ASTIN Bulletin: The Journal of the IAA, 14 (1), 6181.Google Scholar
Lemaire, J. (1991) Cooperative game theory and its insurance applications. ASTIN Bulletin: The Journal of the IAA, 21 (1), 1740.Google Scholar
Lundberg, S.M., Erion, G., Chen, H., DeGrave, A., Prutkin, J.M., Nair, B., Katz, R., Himmelfarb, J., Bansal, N. and Lee, S.-I. (2020) From local explanations to global understanding with explainable AI for trees. Nature Machine Intelligence, 2 (1), 5667.CrossRefGoogle ScholarPubMed
Mahmoudvand, R. and Oliveira, T. (2018) On the application of sample coefficient of variation for managing loan portfolio risks. In Recent Studies on Risk Analysis and Statistical Modeling, pp. 87–97. Springer.Google Scholar
Makam, V.D., Millossovich, P. and Tsanakas, A. (2021) Sensitivity analysis with $\chi^2$ -divergences. Insurance: Mathematics and Economics, 100, 372383.Google Scholar
Mase, M., Owen, A. B. and Seiler, B. B. (2019) Explaining black box decisions by Shapley cohort refinement. arXiv: Learning. doi: arXiv:1911.00467v2.Google Scholar
Mayer, M., Meier, D. and Wuthrich, M.V. (2023) Shap for actuaries: Explain any model. SSRN. doi: 10.2139/ssrn.4389797.Google Scholar
Merz, M., Richman, R., Tsanakas, A. and Wüthrich, M.V. (2021) Interpreting deep learning models with marginal attribution by conditioning on quantiles. SSRN. doi: 10.2139/ssrn.3809674.Google Scholar
Olivieri, A. and Pitacco, E. (2015) Introduction to Insurance Mathematics: Technical and Financial Features of Risk Transfers. Cham: Springer.Google Scholar
Owen, A.B. (2014) Sobol’ indices and Shapley value. SIAM/ASA Journal on Uncertainty Quantification, 2 (1), 245251.Google Scholar
Owen, A.B. and Prieur, C. (2017) On Shapley value for measuring importance of dependent inputs. SIAM/ASA Journal on Uncertainty Quantification, 51 (1), 9861002.Google Scholar
Plischke, E., Rabitti, G. and Borgonovo, E. (2021) Computing Shapley effects for sensitivity analysis. SIAM/ASA Journal on Uncertainty Quantification, 9 (4), 14111437.Google Scholar
Rabitti, G. and Borgonovo, E. (2020) Is mortality or interest rate the most important risk in annuity models? A comparison of sensitivity analysis methods. Insurance Mathematics & Economics, 95, 4858.Google Scholar
Saltelli, A., Marco, R., Terry, A., Campolongo, F., Cariboni, J., Gatelli, D., Saisana, M. and Tarantola, S. (2008) Global Sensitivity Analysis: The Primer. Chichester: Wiley.Google Scholar
Shapley, L.S. (1953) A value for n-person games. In Contributions to the Theory of Games II (eds. Kuhn, H. and Tucker, A.), pp. 307–318. Princeton University Press.Google Scholar
Sobol’, I. (1993) Sensitivity estimates for nonlinear mathematical models. Mathematical Modelling and Computational Experiments, 4, 407414.Google Scholar
Song, E., Nelson, B.L. and Staum, J. (2016) Shapley effects for global sensitivity analysis: Theory and computation. SIAM/ASA Journal on Uncertainty Quantification, 4 (1), 10601083.Google Scholar
Winter, E. (2002) The Shapley value. In Handbook of Game Theory with Economic Applications (eds. Aumann, R. and Hart, S.), 1 edition, vol. 3, chapter 53, pp. 2025–2054. Elsevier.Google Scholar
Figure 0

Table 1. Variables description.

Figure 1

Table 2. Wald test for rating factors.

Figure 2

Figure 1. Shapley effects for the individual premiums computed with QRPC and PQRR. The y-axis shows the Shapley effects for each risk factor (displayed on the x-axis). By the efficiency property, the Shapley effect normalized by the variance can be interpreted as the proportion of explained variance by a single risk factor.

Figure 3

Table 3. Weighted mean coefficient of variation, mean-squared difference, and goodness of variance fit.

Figure 4

Figure 2. Boxplots showing the differences between the premiums estimated using the complete model and two different reduced models. One of the reduced models is suggested by Heras et al. (2018), and the other is constructed using Shapley values.

Figure 5

Figure 3. Empirical probability that the individual premiums, computed with the complete model, differ from their class premiums by more than a threshold $\xi$, computed with the Shapley model and the HMVZ model. In both panels (PQRR on the left and QRPC on the right), given the same threshold, this probability is higher for the HMVZ model. This implies that ceteris paribus in the latter system more policyholders pay a class premium differing from the individual ones the fixed difference $\xi$.

Figure 6

Figure 4. WMCV for rating systems composed by a different number of risk factors. Black dots represent the WMCV of each rating system based on PQRR (left panel) and QRPC (right panel). On the x-axis, we display the number of risk factors that compose the rating systems. The dotted line links rating systems constructed using risk factors found via the Shapley effects algorithm applied to insurance prices obtained via PQRR and QRPC.

Supplementary material: PDF

Vallarino et al. supplementary material

Vallarino et al. supplementary material

Download Vallarino et al. supplementary material(PDF)
PDF 653.9 KB