Next Article in Journal
A Generalised CIR Process with Externally-Exciting and Self-Exciting Jumps and Its Applications in Insurance and Finance
Next Article in Special Issue
Risks Special Issue on “Granular Models and Machine Learning Models”
Previous Article in Journal
A Study on Global Investors’ Criteria for Investment in the Local Currency Bond Markets Using AHP Methods: The Case of the Republic of Korea
Previous Article in Special Issue
DeepTriangle: A Deep Learning Approach to Loss Reserving
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Claim Watching and Individual Claims Reserving Using Classification and Regression Trees

by
Massimo De Felice
1 and
Franco Moriconi
2,3,*
1
Department of Statitistical Sciences, Sapienza University of Rome, 00185 Rome, Italy
2
Department of Economics, University of Perugia, 06123 Perugia, Italy
3
Alef—Advanced Laboratory Economics and Finance, 00198 Rome, Italy
*
Author to whom correspondence should be addressed.
Risks 2019, 7(4), 102; https://doi.org/10.3390/risks7040102
Submission received: 21 August 2019 / Revised: 28 September 2019 / Accepted: 2 October 2019 / Published: 12 October 2019
(This article belongs to the Special Issue Claim Models: Granular Forms and Machine Learning Forms)

Abstract

:
We present an approach to individual claims reserving and claim watching in general insurance based on classification and regression trees (CART). We propose a compound model consisting of a frequency section, for the prediction of events concerning reported claims, and a severity section, for the prediction of paid and reserved amounts. The formal structure of the model is based on a set of probabilistic assumptions which allow the provision of sound statistical meaning to the results provided by the CART algorithms. The multiperiod predictions required for claims reserving estimations are obtained by compounding one-period predictions through a simulation procedure. The resulting dynamic model allows the joint modeling of the case reserves, which usually yields useful predictive information. The model also allows predictions under a double-claim regime, i.e., when two different types of compensation can be required by the same claim. Several explicit numerical examples are provided using motor insurance data. For a large claims portfolio we derive an aggregate reserve estimate obtained as the sum of individual reserve estimates and we compare the result with the classical chain-ladder estimate. Backtesting exercises are also proposed concerning event predictions and claim-reserve estimates.

1. Introduction

In the settlement process of a general insurance claims portfolio we denote as claim watching the insurer’s activityconsisting of monitoring and controlling the cost development at single-claim level. Claim watching encompasses prediction of specific events regarding individual claims that can be relevant for cost development and could be influenced by possible appropriate management actions. Obviously, the estimation of the ultimate cost, hence the individual claims reserving, is also a typical claim watching activity. Early-warning systems at single-claim or group-of-claims level can be also included.
In this paper, we propose a machine-learning approach to claim watching, and individual claims reserving, using a prediction model based on the classification and regression trees (CART). The paper is largely based on a path-breaking article produced in 2016 by Mario Wüthrich (Wüthrich 2016) where individual claims reserving is addressed by CART techniques. The method proposed by Wüthrich was restricted “for pedagogical reasons” to the prediction of events and the estimation of the number of payments related to individual claims. We extend Wüthrich’s paper providing a so-called frequency-severity model where claim amounts paid are also considered. Moreover, we enlarge the set of the response and explanatory variables of the model to allow prediction under a double-claim regime, i.e., when two different types of compensation can be required by the same claim. This multi-regime extension enables us to provide meaningful applications to Italian motor insurance claims data. We also propose a further enhancement of the CART approach allowing the joint dynamic modeling of the case reserves, which usually yield useful predictive information.
The claim watching idea and a related frequency-severity model based on CARTs were introduced and developed in D’Agostino et al. (2018) and large part of the material presented here was already contained in that paper.
According to a point of view proposed in Hiabu et al. (2015), a possible inclusion of a granular data approach in claims reserving could be provided by extending classical aggregate methods, adding more model structure to include underlying effects which are supposed to emerge at an individual claim level. In Hiabu et al. (2015) this approach is illustrated by referring to a series of extensions of the Double Chain-Ladder (DCL) model, originated in Verral et al. (2010) and developed in successive papers, (see e.g., Martínez-Miranda et al. 2011, 2012, 2013). Approaches to claims reserving recently proposed based on embedding a classical actuarial model in a neural net (see e.g., Gabrielli et al. 2018; Wüthrich and Merz 2019) could also be interpreted as going in a similar “top-down” direction. A different path is followed in this paper. We use the large model flexibility provided by machine-learning methods for directly modeling individual claim histories. In this approach model assumptions are specified at granular level and are, in some sense, the minimal required to guarantee a sound statistical meaning to results provided by the powerful algorithms currently available. This allows implantation of claim watching activities which can be considered even more general than traditional claims reserving.
This paper, however, has several limitations. In particular, only point estimates of the ultimate claim cost are considered and the important problem of prediction uncertainty is not addressed, yet. Moreover, these cost estimates do not fully include underwriting year inflation, then an appropriate model should be added to this aim. Therefore, the present paper should be considered to be only a starting point in applying CARTs to claims reserving and claims handling. By analogy, one could say that in introducing machine learning to individual reserving data this paper is playing the same role as Verral et al. (2010) was playing in DCL: many improvements and developments should follow.
The present paper is composed of two parts. In the first part one-period prediction problems are considered. Prediction problems typical in claim watching and individual claims reserving are presented in Section 2 and notation and a basic assumption (i.e., the dependence of the prediction functions on the observation time-lag) are introduced in Section 3. In Section 4 we describe the general structure of the frequency-severity approach, providing details on the model assumptions for both the model components. The structure of the feature space, both for static and dynamic variables, is described in Section 5 and the organization of data required for the CART calibrations is illustrated in Section 6. In Section 7 the use of classification trees for the frequency prediction, and regression trees for (conditional) severity predictions is illustrated. In Section 8 a first extensive example of one-year predictions for a claims portfolio in Italian motor insurance is presented using the rpart routine implemented in R. The results of the CART calibration are discussed in detail and a possible use of event predictions for early warning is illustrated.
The second part of the paper considers multiperiod predictions and includes numerical examples and backtesting exercises. In Section 9 we consider multiperiod predictions and describe the properties required for deriving multiyear forecasts by compounding one-year forecasts. In Section 10 a simulation approach to multiperiod forecasts is also presented and additional assumptions allowing the joint dynamic modeling of the case reserves are discussed. A first numerical example of multiperiod prediction of a single-claim cost is also provided. Section 11 is devoted to numerical examples of applications to a large claims portfolio in motor insurance and to some backtesting exercises providing insights into the predictive performance of our CART approach. We first illustrate backtesting results for predictions of one-year event occurrences useful for claim watching. Finally, a typical claim reserving exercise is provided, composed of two steps. In a first step the individual reserve estimate is derived by simulation for all the claims in the portfolio and the resulting total reserve, after the addition of an IBNYR (incurred but not yet reported) reserve estimate, is compared with the classical chain-ladder reserve, estimated on aggregate payments at portfolio level (an ancillary model for IBNYR reserves is outlined in Appendix A). Since we perform these estimates on data deprived of the last calendar year observations, we analyze the predictive accuracy of the CART approach with respect to the chain-ladder approach by comparing the realized aggregate payments in the “first next diagonal” with those predicted by the two methods. Some conclusions are presented in Section 12.
Part I. One-period Predictions

2. A First Look at the Problem and the Model

Let us consider the claim portfolio of a given line of business of a non-life insurer. We are interested in the individual claim settlement processes of this portfolio. For example, for a given claim C in the portfolio, we would like to answer questions like these:
(a)
What is the probability that C is closed in the next year?
(b)
What is the probability that a lawyer will be involved in the settlement of C in two years?
(c)
What is the expectation of a payment in respect of C in the next year?
(d)
What is the expectation of the total claim payments in respect of C until finalization?
In general, we will refer to the activity of dealing with this kind of questions as claim watching. In particular, question (b) could be relevant in a possible early-warning system, while questions as (c) and (d) are more concerned with individual claims reserving. The classical claims reserving, i.e., the estimation of the outstanding loss liabilities aggregate over the entire portfolio, could be obtained by summing all the individual claim reserves with some corrections due to non-modeled effects (typically, reserve for IBNYR claims).
For a specified claim C in the portfolio, a typical claim watching question at time t can be formulated as a prediction problem with the form:
E Y t + τ ( C ) | F t = μ x t ( C ) , τ > 0 ,
where:
·
F t denotes the information available at time t,
·
the vector x t ( C ) X is the claim feature (also covariates, explanatory variables, independent variables, …), which is observed up to time t, i.e., is F t -measurable,
·
μ : X R is the prediction function,
·
Y t + τ ( C ) is the response variable (or dependent variable).
Referring to the previous examples, the response in (1) can be specified as follows:
(a)
Y t + τ ( C ) is the indicator function of the event { C is closed at time t + τ } (with τ = 1 ),
(b)
Y t + τ ( C ) is the indicator function of { C will involve a lawyer by the time t + τ } (with τ = 2 ),
(c)
Y t + τ ( C ) is the random variable denoting the amount paid in respect of C at time t + τ (with τ = 1 ),
(d)
Y t + τ ( C ) is the random variable denoting the cumulated paid amount in respect of C at time t + τ (with τ ).
The response and the feature can be both quantitative or qualitative variables and we do not assume for the moment a particular structure for the prediction function μ , which must be estimated from the data. Usually, the prediction model (1) is referred to as regression model if the response is a quantitative variable and classification model if the response is qualitative (categorical). The prediction function is named, accordingly, as regression or classifier function1.
Questions such as (a) and (b) involve prediction of events while questions such as (c) and (d) concern prediction of paid amounts. With some abuse of actuarial jargon, we will refer to a prediction model for event occurrences as a frequency model. Similarly, we will refer to a prediction model for paid amounts as a severity model. Then, altogether, we need a frequency-severity model. We will develop a frequency-severity model for claim watching with a conditional severity component that is the paid amounts are predicted conditionally on the payment is made. This is because the probability distribution of a paid amount, with a discrete mass in 0, is better modeled by separate recognition of the mass and the remainder of the distribution (assumed continuous).
Remark 1.
A model with such a structure can be also referred to as a cascaded model, see  Taylor (2019) for a discussion of this kind of models. This model structure also bears some resemblance to Double Chain-Ladder (DCL), see Martínez-Miranda et al. (2012). In DCL a micro-model of the claims generating process is first introduced to predict the reported number of claims. Future payments are then predicted through a delay function and a severity model. In DCL, however, individual information is assumed to be “(in practice often) unobservable” and the micro-model is only aimed to derive a suitable reserving model for aggregate data. In this paper, instead, extensive individual information is assumed to be always available and each individual claim is identifiable. Moreover, we are interested in both claim watching and individual claims reserving, aggregate reserving being a possible byproduct of the approach.
To deal with the prediction problems both in the frequency and the severity component we shall use the classification and regression trees (CART) techniques, namely classification trees for the frequency section and regression trees for the severity section. One of the main advantages of CART methods is the large modeling flexibility (for aggregate claims reserving methods with a good degree of model flexibility though not using machine learning, see e.g., Pešta and Okhrin 2014). Carts can deal with any sort of structured and unstructured information, an underlying structural form of the prediction function μ can be learned from the data, many explanatory variables can be used, both quantitative and qualitative and observed at different dates. Moreover, the interpretability of results is generally allowed. As methods for providing expectations, CARTs can also be referred to as prediction trees.

3. Notation and Basic Assumptions

The notation used in this paper is essentially the same as in Wüthrich (2016). For simplicity sake we model the claim settlement process using an annual time grid. If allowed by the available data, a discrete time grid with a shorter time step (semester, quarter, month, …) could be used.
Accident year. For a given line of business in non-life insurance, let us consider a claims portfolio containing observations at the current date on the claims occurred during the last I accident years (ay). The accident years are indexed as i = 1 , , I . Then we are at time (calendar year) t = I .
Reporting delay. For each accident year i, claims may have been observed with a reporting delay (rd) j = 0 , 1 , . A claim with accident year i and reporting delay j will have reporting date i + j . As usual, we assume that there exists a maximum possible delay J 0 .
Claims identification. Each claim is identified by a claim code cc. For each block ( i , j ) there are N i , j claims and we denote by ν = 1 , , N i , j the index numbering the claims in block ( i , j ) ; the ν -th claim in ( i , j ) is denoted by C i , j ( ν ) .
IBNYR claims. Because of the possible reporting delay, at a given date t we can have incurred but not yet reported (IBNYR) claims. Since there is a maximal delay J, at the current date the IBNYR claims are those with delay j > ( I i ) J . The maximum observed reporting delay is ( I 1 ) J .
Remark 2.
At time I, claims with j I i can be closed or reported but not settled (RBNS). We can estimate a reserve required for these claims. For the IBNYR reserve estimate a specific reserving model is needed (see Appendix A).
Predictions in the claim settlement process. For given i , j , ν , the claim settlement process of C i , j ( ν ) is defined on the calendar dates i + j , i + j + 1 , i + j + 2 , . Let us denote by:
·
X i , j | k ( ν ) a generic random variable, possibly multidimensional, involved in the claim settlement process of C i , j ( ν ) and observed at time t = i + j + k , for k N 0 ,
·
: = j + k = t i the time-lag of X i , j | k ( ν ) .
Using this notation, the prediction problem (1) for τ = 1 is reformulated as follows:
E [ Y i , j | t ( i + j ) + 1 d a t e t + 1 ( ν ) | F i + j + k ] = μ ( x i , j | t ( i + j ) d a t e t ( ν ) ) ,
where the claim feature x i , j | t ( i + j ) ( ν ) X is F i + j + k -measurable, μ : X R , and the response is possibly multidimensional. In the rest of the paper the prediction function μ will refer solely to one-year forecast problems. Multiyear prediction problems will be treated compounding one-year predictions.
To give some statistical structure to the prediction model, we make the following basic assumption on the prediction function:
(H0)
At any date t the one-year prediction function μ x i , j | t ( i + j ) ( ν ) depends only on the time-lag = t i . i.e.,:
μ t i : X R , x i , j | t ( i + j ) ( ν ) μ t i x i , j | t ( i + j ) ( ν ) .
Then the μ t i function is independent of ν and is applied to all the features with the same time-lag = t i , providing the expectation of Y i , j | t ( i + j ) + 1 ( ν ) (which has time-lag + 1 ).
Under assumption (H0) we can build statistical samples of observed pairs feature-response which can be used to derive an estimate of unobserved responses based on observed features.
In what follows it will be often convenient to rewrite the prediction problem using the k index. Since t = i + j + k expression (2), taking account of assumption (H0), takes the form:
E Y i , j | k + 1 ( ν ) | F i + j + k = μ j + k x i , j | k ( ν ) .

4. The General Structure of the Frequency-Severity Model

To give a formal characterization of the entire claim settlement process we have to recall that N i , j denotes the number of claims occurred in accident year i reported in calendar year i + j . Then in a general setting we let the relevant indexes vary as follows:
i = 1 , , I , j = 0 , , J , ν N 1 , k N 0 ,
and we consider also N i , j as a stochastic process.

4.1. Frequency and Severity Response Variables

The peculiarity of the frequency model is that the response variables Y i , j | k ( ν ) are defined as a multi-event, which is a vector of 0–1 random variables. Precisely, for all values of i , j , ν and k we assume that a frequency-type response at time i + j + k for the claim C i , j ( ν ) takes the form:
F i , j | k ( ν ) = h | F i , j | k ( ν ) , h = 1 , , d w i t h h | F i , j | k ( ν ) { 0 , 1 } , h = 1 , , d .
As concerning severity, we shall assume that in the claim settlement process two different kinds of claim payments are possible, say type-1 and type-2 payments. Then we shall indicate with S 1 i , j | k ( ν ) and S 2 i , j | k ( ν ) the random variable denoting a claim payment of type 1 and type 2, respectively, made at time i + j + k . For all values of i , j , ν and k, a severity-type response for C i , j ( ν ) will be denoted in general as S i , j | k ( ν ) , which will be specified as S 1 i , j | k ( ν ) or S 2 i , j | k ( ν ) according to a type-1 or type-2 cash flow is to be predicted. We shall also denote by S 1 ¯ i , j | k ( ν ) and S 2 ¯ i , j | k ( ν ) ) the binary variables:
S 1 ¯ i , j | k ( ν ) = 1 S 1 i , j | k ( ν ) 0 , S 2 ¯ i , j | k ( ν ) = 1 S 2 i , j | k ( ν ) 0 ,
i.e., the indicator of the event {A claim payment of type 1 for C i , j ( ν ) is made at time i + j + k } and {A claim payment of type 2 for C i , j ( ν ) is made at time i + j + k }, respectively.
Remark 3.
The assumption of multiple payment types will be necessary in our applications to Italian Motor Third Party Liability (MTPL) data. Essentially, in Italian MTPL incurred claims can be handled, according to their characteristics, under (at least) two different regimes: direct compensation ("CARD" regime) and indirect compensation ("NoCARD" regime). Case reserves in the two regimes are different and a claim can activate one or both, as well as can change regime. In our numerical examples we shall denote NoCARD and CARD payments/reserves as type-1 and type-2 payments/reserves, respectively.
The following model assumptions extend the set of assumptions used in Wüthrich (2016).

4.2. Model Assumptions

Let ( Ω , F , P , F ) be a filtered probability space with filtration F = ( F t ) t N 0 such that for i = 1 , , I , j = 0 , , J , ν = 1 , , N i , j , k N 0 , the process ( N i , j ) i , j is F -adapted for t = i + j and all the processes:
( F i , j | k ( ν ) ) i , j , k , ν , ( S 1 i , j | k ( ν ) ) i , j , k , ν , ( S 2 i , j | k ( ν ) ) i , j , k , ν ,
are F -adapted for t = i + j + k . We make the following assumptions:
(H1)
The processes ( N i , j ) i , j , ( F i , j | k ( ν ) ) i , j , k , ν , ( S 1 i , j | k ( ν ) ) i , j , k , ν and ( S 2 i , j | k ( ν ) ) i , j , k , ν are independent.
(H2)
The random variables in ( N i , j ) i , j , ( F i , j | k ( ν ) ) i , j , k , ν , ( S 1 i , j | k ( ν ) ) i , j , k , ν and ( S 2 i , j | k ( ν ) ) i , j , k , ν for different accident years are independent.
(H3)
The processes ( F i , j | k ( ν ) ) k , ( S 1 i , j | k ( ν ) ) i , j , k , ν and ( S 2 i , j | k ( ν ) ) i , j , k , ν for different reporting delays j and different claims ν are independent.
(H4)
The conditional distribution of F i , j | k ( ν ) is the d-dimensional Bernoulli:
F i , j | k + 1 ( ν ) | F i + j + k d - Bernoulli p j + k ( f ) x i , j | k ( ν ) ,
with f = ( f 1 , , f d ) , f 1 , , f d { 0 , 1 } and where x i , j | k ( ν ) X is the F i + j + k -measurable frequency feature of C i , j | k ( ν ) and p j + k ( f ) : X [ 0 , 1 ] 2 d is a probability function, i.e.:
f 1 , , f d { 0 , 1 } p j + k ( f ) x i , j | k ( ν ) = 1 .
(H5)
For the conditional distribution of S 1 i , j | k ( ν ) | ( S 1 ¯ i , j | k ( ν ) = 1 ) and S 2 i , j | k ( ν ) | ( S 2 ¯ i , j | k ( ν ) = 1 ) one has:
S 1 i , j | k + 1 ( ν ) | S 1 ¯ i , j | k + 1 ( ν ) = 1 N μ ˜ j + k ( 1 ) x ˜ i , j | k ( ν ) , σ 1 2 , S 2 i , j | k + 1 ( ν ) | S 2 ¯ i , j | k + 1 ( ν ) = 1 N μ ˜ j + k ( 2 ) x ˜ i , j | k ( ν ) , σ 2 2 ,
where x ˜ i , j | k ( ν ) X is the F i + j + k -measurable severity feature of C i , j | k ( ν ) .
Assumption (H4) implies that for every claims C i , j | k ( ν ) reported at time i + j + k :
P 1 | F i , j | k + 1 ( ν ) = f 1 , , d | F i , j | k + 1 ( ν ) = f d | F i + j + k = p j + k ( f ) x i , j | k ( ν ) 0 ,
and:
f 1 , , f d { 0 , 1 } p j + k ( f ) x i , j | k ( ν ) = 1 .
Therefore, there exists an F i + j + k -measurable frequency feature x i , j | k ( ν ) which determines the conditional probability of each (binary) component of the response variable. Expression (5) provides the specification of the prediction problem (3) for the frequency model.
Similarly, assumption (4) implies that for every claims C i , j | k ( ν ) reported at time i + j + k :
E S 1 i , j | k + 1 ( ν ) | F i + j + k , S 1 ¯ i , j | k + 1 ( ν ) = 1 = μ ˜ j + k ( 1 ) x ˜ i , j | k ( ν ) , E S 2 i , j | k + 1 ( ν ) | F i + j + k , S 2 ¯ i , j | k + 1 ( ν ) = 1 = μ ˜ j + k ( 2 ) x ˜ i , j | k ( ν ) .
Then there exists an F i + j + k -measurable severity feature x ˜ i , j | k ( ν ) which determines the conditional expectation of the cash flows S 1 i , j | k ( ν ) and S 2 i , j | k ( ν ) . The previous assumptions specify a compound frequency-severity model. From (6):
E S 1 i , j | k + 1 ( ν ) | F i + j + k = μ ˜ j + k ( 1 ) x ˜ i , j | k ( ν ) P S 1 ¯ i , j | k + 1 ( ν ) = 1 | F i + j + k , E S 2 i , j | k + 1 ( ν ) | F i + j + k = μ ˜ j + k ( 2 ) x ˜ i , j | k ( ν ) P S 2 ¯ i , j | k + 1 ( ν ) = 1 | F i + j + k .
If the indicators S 1 ¯ i , j | k + 1 ( ν ) and S 2 ¯ i , j | k + 1 ( ν ) have been included in the response vector for the frequency model, the corresponding probabilities are provided by (5) and the severity expectations are then obtained by this compound model. Expression (7) provides the specification of the prediction problem (3) for the (two types of) severity model in the framework of this compound model.
Remark 4.
As regards model assumptions:
  • The independence assumptions (H1), (H2) and (H3) were taken to receive a not too much complex model. In particular, assumptions in (H1) are necessary to obtain compound distributions, assumptions in (H3) allow the modeling of variables of individual claims independently for different ν.
  • However, the specified model is rather general as regarding the prediction functions p and μ ˜ in (5) and (6). These functions at the moment are fully non-parametric and can have any form. In the following sections we will show how these functions can be calibrated with machine-learning methods provided by CARTs.
  • The value of the variance parameters σ 1 2 , σ 2 2 in (4) is irrelevant since the normality assumption is used in this paper only to support the sum of squared errors (SSE) minimization for the calibration of the regression trees. The value of the variance is irrelevant in this minimization.
  • Our model assumptions concern only one-year forecasting (from time t to t + 1 ). Under proper conditions multiyear predictions can be obtained by compounding one-period predictions. This will be illustrated in Section 9.

4.3. Equivalent One-Dimensional Formulation of Frequency Responses

The frequency prediction problem can be reformulated equivalently by replacing the d-dimensional binary random variables F i , j | k + 1 ( ν ) by the one-dimensional random variable:
W i , j | k + 1 ( ν ) = h = 1 d 2 h 1 h | F i , j | k + 1 ( ν ) { 0 , , 2 d 1 } .
In this case, assumption (H4) is replaced by:
(H4’)
For the conditional distribution of W i , j | k ( ν ) one has:
W i , j | k + 1 ( ν ) | F i + j + k Categorical p j + k ( w ) x i , j | k ( ν ) ,
where p j + k ( w ) : X [ 0 , 1 ] 2 d is a probability function, i.e.:
w = 0 2 d 1 p j + k ( w ) x i , j | k ( ν ) = 1 .
Expression (5) is then rewritten accordingly:
P W i , j | k + 1 ( ν ) = w | F i + j + k = p j + k ( w ) x i , j | k ( ν ) 0 , w = 0 , , 2 d 1 .
In the numerical examples presented in this paper we shall use formulation (8) for the frequency response since the R package rpart we use in these examples, multidimensional responses are not supported.

5. Characterizing the Feature Space

Given the high modeling flexibility of CARTs, the feature space X in our applications can be very large and with rather general characteristics. In the following discussion we refer to the frequency features x i , j | k ( ν )  ; the same properties hold for the severity features x ˜ i , j | k ( ν ) . Typically, for all i , j , ν , k the feature x i , j | k ( ν ) is a vector with a large number of components. The feature components can be categorical, ordered or numerical. As pointed out by Taylor et al. (2008) the concept of static and dynamic variable is also important when considering the feature components.
Static variables. These are components of x i , j | k ( ν ) which remain unchanged during the life of the claim C i , j ( ν ) . Typical static variables are the claim code cc (categorical), the accident year i and the reporting delay j (ordered).
Dynamic variables. These feature components may randomly change over time. This implies that in general we have to understand x i , j | k ( ν ) as containing information on C i , j ( ν ) up to time i + j + k . For example, the entire payment history of the claim up to time i + j + k may be included in x i , j | k ( ν ) . Therefore, when time passes more and more information is collected and the dimension of x i , j | k ( ν ) increases.
Typical examples of dynamic feature components are the categorical variable S 1 ¯ i , j | k ( ν ) which can take different 0-1 values for k N 0 , or the numerical variable S 2 i , j | k ( ν ) which can take different values in R for k N 0 . The categorical variable:
Z i , j | k ( ν ) = 1 C i , j ( ν ) i s   c l o s e d   a t   t i m e   i + j + k ,
is better modeled as a dynamic variable, since we observe that a closed claim can be reopened.
At time i + j + k the structure of feature x i , j | k ( ν ) of C i , j ( ν ) can be expressed as:
x i , j | k ( ν ) = A i , j ( ν ) , B i , j | 0 ( ν ) , , B i , j | k ( ν ) ,
where:
·
A i , j ( ν ) is a column vector of static variables,
·
B i , j | h ( ν ) , h = 0 , , k , is a column vector of dynamic variables observed in year i + j + h .
Following Wüthrich (2016), if j > 0 for each variable in B i , j | 0 ( ν ) the observed value is preceded by a sequence of j zeros. An alternative choice could be to insert “NA” instead of zeros, provided that we are able to control how the CART routine used for calibration handles missing values in predictors.
From (10) one can say that x i , j | k ( ν ) provides the feature history of C i , j ( ν ) up to time i + j + k , while the vector B i , j | k + 1 ( ν ) provides its development in the next year i + j + k + 1 .
For example, for claim C i , 1 ( ν ) the feature at time i + 2 could be specified as:
x i , 1 | 1 ( ν ) = A i , 1 ( ν ) , B i , 1 | 0 ( ν ) , B i , 1 | 1 ( ν ) ,
where:
·
A i , 1 ( ν ) = cc , i , j ,
·
B i , 1 | 0 ( ν ) = 0 , Z i , 1 | 0 ( ν ) , 0 , S 1 ¯ i , 1 | 0 ( ν ) , 0 , S 2 ¯ i , 1 | 0 ( ν ) , ,
·
B i , 1 | 1 ( ν ) = Z i , 1 | 1 ( ν ) , S 1 ¯ i , 1 | 1 ( ν ) , S 2 ¯ i , 1 | 1 ( ν ) , S 1 i , 1 | 1 ( ν ) , S 2 i , 1 | 1 ( ν ) , .
In this example the covariates S 1 i , 1 ( ν ) , S 2 i , 1 ( ν ) are observed only on the current date i + 2 and the covariates Z i , 1 ( ν ) , S 1 ¯ i , 1 ( ν ) , S 2 ¯ i , 1 ( ν ) are observed on dates i + 1 and i + 2 . Then it is implicitly assumed a Markov property of order 1 for the processes ( S 1 i , j | k ( ν ) ) k N 0 and ( S 2 i , j | k ( ν ) ) k N 0 and of order 2 for the processes ( Z i , j | k ( ν ) ) k N 0 , ( S 1 ¯ i , j | k ( ν ) ) k N 0 and ( S 2 ¯ i , j | k ( ν ) ) k N 0 . In this respect it is useful to introduce the following definition. Let b i , j | k ( ν ) be a dynamic variable included in the feature x i , j | k ( ν ) . We denote by historical depth of b i , j | k ( ν ) the maximum θ { 1 , , k } for which b i , j | k ( θ 1 ) ( ν ) is included in x i , j | k ( ν ) . Generalizing the previous example, we can say that if b i , j | k ( ν ) has historical depth θ , then a Markov property of order θ is implicitly assumed for the process ( b i , j | k ( ν ) ) k N 0 .
As previously mentioned, in Section 9 we shall consider multiyear predictions. It is important to observe that in this case a dynamic variable can play the role of both an explanatory and a response variable. This is typical in dynamic modeling. For example, in a prediction from t to t + 2 , the variable S 1 ¯ i , j | t ( i + j ) + 1 ( ν ) could be chosen as a component of the frequency response variable F i , j | t ( i + j ) + 1 ( ν ) in the prediction from t to t + 1 and as a component of the feature x i , j | t ( i + j ) + 1 ( ν ) in the next prediction from t + 1 to t + 2 .
As is also clearly recognized in Taylor et al. (2008), an important issue in multiperiod prediction concerns the use of the case reserves. The amount of the type-1 and type-2 case reserve R 1 i , j | k ( ν ) and R 2 i , j | k ( ν ) should provide useful information for the claim settlement process. A correct use of this information will typically require a joint dynamic modeling of the claim payment and the case reserve processes. A set of additional model assumptions useful to this aim is provided in Section 10.3.

6. Organization of Data for the Estimation

Since the considerations we present in this section apply to both the frequency and the severity model, we use here the more general notation of problem (2), where ( x , Y ) is used to denote the feature-response pairs. The exposition can be specified for the frequency or the severity model by skipping to the ( x , F ) or ( x ˜ , S ) notation, respectively.
Since the regression functions in (2) depend on the lag , in order to make predictions at time I we need the I 1 estimates:
μ ^ , = 0 , 1 , , I 2 .
Each of these estimates is based on historical observations, which are given by the relevant pairs feature-response of claims reported at time t = I . Precisely, the estimate μ ^ at time t = I , for  = 0 , 1 , , I 2 , is based on the set of lag observations:
D : = D C D P ,
where:
D C : = x i , j | j ( ν ) , Y i , j | j + 1 ( ν ) ; 1 i I 1 , j ̲ i j , 1 ν N i , j : c a l i b r a t i o n   s e t , D P : = x I , j | j ( ν ) , · ; j ̲ I j , 1 ν N I , j : p r e d i c t i o n   s e t ,
with j ̲ i 0 the minimum reporting delay observed for accident year i2. Given the model assumptions the pairs x i , j | j ( ν ) , Y i , j | j + 1 ( ν ) in the calibration set can be considered independent observations of the random variables feature-response for lag and can be used for the estimation of the corresponding prediction function in the prediction set. Therefore, we calibrate using CARTs the prediction function μ on D C , where the pairs feature-response are observed, and apply the resulting calibrated function μ ^ to the features in D P in order to forecast the corresponding, not yet observed, response variables Y I , j | j + 1 ( ν ) . These are predicted as:
Y ^ I , j | j + 1 ( ν ) : = E ^ Y I , j | j + 1 ( ν ) | F I = μ ^ x I , j | j ( ν ) , j ̲ I j , 1 ν N I , j .
In Table 1 the data structure is illustrated for a very simplified portfolio with I = 4 accident years, j ̲ i 0 and only one claim for each block ( i , j ) , i.e., N i , j 1 . Columns refer to calendar years t = 1 , , 4 . Cells with “·” refer to dates where the claims are not yet occurred. Cells with “no” (not observed) refer to dates where the claims are occurred, but their feature is not yet observed because of reporting delay (these features would have k < 0 ). Observations in the last column cannot be used because at date I the responses with k > I ( i + j ) are not yet observed. Cells with observations useful for the calibration are highlighted in pink color.
A more convenient presentation of data is provided in Table 2 where the observations are organized by lag, i.e., with columns corresponding to lags = 0 , , I 1 = 3 . Intuitively, the feature x i , j | k ( ν ) can be thought of as being allocated on the row ( i , j , ν ) of the table from column j + k back to the first column. Data on the last column = 3 can be dropped, since responses have never been observed at time I for this lag. Similarly, row 4, corresponding to claims C 1 , 3 ( ν ) , can also be dropped.
We are then led to the representation in Table 3, which shows a “triangular” structure resembling the data structure typically used in classical claims reserving. In this table observations highlighted in pink color in column (where the response is observed) provide the dataset D C used for the calibration of μ ^ . For example, for = 1 data refers to claims with identification number cc = 1 , 2 , 5 , 6 . The feature of claims 1 and 2, belonging to accident year 1, is observed up to time t = i + = 4 , but only features observed up to time t = 3 can be used for the estimation. For claims 2, 3, which are reported with a one-year delay, historical data is missing for calendar year 1, 2, respectively. Cells highlighted in green color correspond to the data sets D P , = 0 , 1 , 2 , used for the estimates Y ^ I , j | j + 1 ( ν ) of the responses, which replace the missing values in Table 2.

7. Using CARTs for Calibration

7.1. Basic Concepts of CART Techniques

As we have seen, the general form of our one-year prediction problems at time I can be given by:
E Y I , j | j + 1 ( ν ) | F I = μ x I , j | j ( ν ) , = 0 , , I 2 ,
which will be specified as a frequency or a severity model according to the specific application. For each lag we calibrate the prediction function μ in (11) with CART techniques. Classical references for CART methods are the work Breiman et al. (1998) and Section 9.2 in Hastie et al. (2008). In a CART approach to the prediction problem (11) the μ ^ function is piece-wise constant on a specified partition:
P : = R ( 1 ) , , R ( R ) ,
of the feature space X , where the elements (regions) R ( r ) , r = 1 , , R , of P are (hyper)rectangles, i.e., for given there exist R constants μ ¯ ( r ) , r = 1 , , R , such that:
μ ^ x I , j | j ( ν ) = r = 1 R μ ¯ ( r ) 1 x I , j | j ( ν ) R ( r ) .
The peculiarity of CART techniques consists of the method of choice of partition P . This is determined on the calibration set D C by assigning to the same rectangle observations ( x , Y ) which are in some sense more similar. The region R ( r ) is the r-th leaf of a binary tree which is grown by successively partitioning D C through the solution of standardized binary split questions (see Section 5.1.2 in Wüthrich and Buser (2019) for definition). According to the method chosen for the recursive splitting, a loss function, or impurity measure, L is specified, and at each step, the split which reduces L most is the one chosen for the next binary split. The rule by which μ ¯ ( r ) is computed depends on the method chosen. For example, μ ¯ ( r ) can be the empirical mean of the response variables if these are quantitative or it can be the category with maximal empirical frequency (maximal class) if the responses are categorical.
In a first stage a binary tree is grown with a large size, i.e., many leaves. In a second stage the initial tree is pruned using K-fold cross-validation techniques. Using the cross-validation error a cost-complexity parameter is computed as a function of the tree size and the optimal size is that corresponding to a cost-complexity value sufficiently low, according to a given criterion (usually we use the one-standard-error rule). The leaves of this optimally pruned tree are the elements R ( r ) of the partition P in (12). The expectations in (11) are then estimated by applying the optimal partition P to the prediction set D P , i.e.,:
Y ^ I , j | j + 1 ( ν ) = E ^ Y I , j | j + 1 ( ν ) | F I = μ ^ x I , j | j ( ν ) , = 0 , , I 2 ,
where μ ^ is given by (13). In D’Agostino et al. (2018) regions R ( r ) and partition P are also referred to, respectively, as explanatory classes and explanatory structure (for lag ).
In our applications of CARTs, we shall use the rpart routine implemented in R, see e.g., Therneau et al. (2015).

7.2. Applying CARTs in the Frequency Model

In the frequency section of our frequency-severity model the responses are categorical, then we use classification trees for calibration. In rpart this is obtained with the option method=‘class’, which also implies that the Gini index is used as impurity measure. As previously pointed out, since the rpart routine supports only one-dimensional response variables, instead of using the d-dimensional variables F we formulate the classification problem using the one-dimensional variables defined in (8). From (9) we have:
P W I , j | j + 1 ( ν ) = w | F I = p ( w ) x I , j | j ( ν ) , w = 0 , , 2 d 1 .
Therefore, the calibration of the prediction function for lag is performed by determining the optimal partition P of the calibration set:
D C : = x i , j | j ( ν ) , W i , j | j + 1 ( ν ) ; 1 i I 1 , j ̲ i j , 1 ν N i , j ,
where the calibration of the prediction function reduces to the estimation of the probability distribution { p ( w ) ( · ) ; w = 0 , , 2 d 1 } on each leaf R ( r ) of the optimal partition P . Formally, for each r = 1 , , R , the rpart routine provides the probabilities:
p ^ ( w , r ) x i , j | j ( ν ) = P W i , j | j + 1 ( ν ) = w | x i , j | j ( ν ) R ( r ) , w = 0 , , 2 d 1 ,
which are estimated as the empirical frequencies on each leaf of the partition P of D C . The estimates P ^ W I , j | j + 1 ( ν ) = w | F I required in (14) are finally obtained by applying P to the prediction set D P .

7.3. Applying CARTs in the Severity Model

In the severity section the prediction problem takes the form, from (6):
E S I , j | j + 1 ( ν ) | F I , ( S ¯ I , j | j + 1 ( ν ) = 1 ) = μ ˜ x ˜ I , j | j ( ν ) ,
where we use the generic notations S for S 1 , S 2 , and S ¯ for S 1 ¯ , S 2 ¯ . Since the severity is a quantitative variable we use regression trees, which are obtained in rpart with the option method=‘anova’. In this case, the loss function used is the sum of squared errors (SSE). Given the normality assumption (H5) the SSE minimization performed by the binary splitting algorithm provides a log-likelihood minimization in this non-parametric setting.
The important point here is that since (16) is a conditional model, the set of observed feature-response pairs where the prediction function is calibrated must include only claims for which a payment was made at the response date. Therefore, the calibration set is formally specified as:
D C : = x ˜ i , j | j ( ν ) , S i , j | j + 1 ( ν ) | S ¯ i , j | j + 1 ( ν ) = 1 ; 1 i I 1 , j ̲ i j , 1 ν N i , j .
Similarly, the prediction set is given by:
D P : = x ˜ I , j | j ( ν ) , · | S ¯ I , j | j + 1 ( ν ) = 1 ; j ̲ i j , 1 ν N i , j .
This corresponds to the fact that the severity calibration, as being a conditional calibration, must be run after the corresponding frequency calibration has been made, and must be performed on the leaves of the frequency model where a claim payment was made at time i + + 1 . From the function μ ˜ ^ calibrated in this way one obtains:
E ^ S I , j | j + 1 ( ν ) | F I , S ¯ I , j | j + 1 ( ν ) = 1 = μ ˜ ¯ ( r ) x ˜ I , j | j ( ν ) , x ˜ I , j | j ( ν ) R ( r ) , r = 1 , , R .
As in (7) the estimate of the payment-unconditional expectations is then given by:
S ^ I , j | j + 1 ( ν ) = E ^ S I , j | j + 1 ( ν ) | F I = μ ˜ ^ x ˜ I , j | j ( ν ) P ^ S ¯ I , j | j + 1 ( ν ) = 1 | F I .
The final probability estimate in this expression is given by the frequency model, provided that the binary variable S ¯ I , j | j + 1 ( ν ) has been included in the response W I , j | j + 1 ( ν ) .

8. Examples of One-Year Predictions in Motor Insurance

In these first examples we consider one-year predictions based on data from the Italian MTPL line at the observation date 2015. As previously mentioned, we denote by S 1 NoCARD payments and by S 2 CARD payments (for details on CARD and NoCARD regime see D’Agostino et al. 2018). We have:
·
Observed accident years: from 2010 to 2015. Then i = 1 , , I with I = 6 .
·
Only claims reported from 2013 onwards are observed, hence for accident year i, one has j = j ̲ i , , 6 i , with j ̲ i = ( 4 i ) 0 .
·
The pairs feature-response are observed for lags = 0 , , I 2 = 4 (5 estimation steps).
The total number of reported claims in this portfolio is i , j N i , j = 468 , 108 . The “triangular” structure of the data is illustrated in Table 4, where the number N i , j of claims in each block ( i , j ) is also reported. In each column, i.e., for each lag, the cells in the calibration set D C are highlighted in pink and those in the prediction set D P in green color. A rather short claim history (“last 3 diagonals”) is observed in this portfolio. This data however is interesting because the information on lawyer involved is available, which can be useful to illustrate early-warning applications of claim watching.

8.1. Prediction of Events Using the Frequency Model

In this section, we consider the prediction problem of event occurrences in the next year I + 1 and, for illustration, we present a frequency model for the lag = 1 , thus considering for prediction only the claims of accident year I 1 = 5 , i.e., the claims C 5 , j ( ν ) , j = 0 , 1 , ν = 1 , , N 5 , j . In our data N 5 , 0 = 140 , 256 and N 5 , 1 = 10 , 112 , therefore D 1 P = 150 , 368 . The observations in the calibration set are D 1 C = N 3 , 1 + N 4 , 0 + N 4 , 1 = 166 , 365 . Let us suppose we want to make prediction of the following indicators at time I + 1 = 7 , j = 0 , 1 :
S 1 ¯ 5 , j | 2 j ( ν ) = 1 C 5 , j ( ν ) h a s   a   t y p e - 1   p a y m e n t   a t   t i m e   7 , S 2 ¯ 5 , j | 2 j ( ν ) = 1 C 5 , j ( ν ) h a s   a   t y p e - 2   p a y m e n t   a t   t i m e   7 , Z 5 , j | 2 j ( ν ) = 1 C 5 , j ( ν ) i s   c l o s e d   a t   t i m e   7 , L 5 , j | 2 j ( ν ) = 1 C 5 , j ( ν ) w i l l   i n v o l v e   a   l a w y e r   a t   t i m e   7 .
This choice produces the 4-dimensional response:
F 5 , j | 2 j ( ν ) = S 1 ¯ 5 , j | 2 j ( ν ) , S 2 ¯ 5 , j | 2 j ( ν ) , Z 5 , j | 2 j ( ν ) , L 5 , j | 2 j ( ν ) .
We work however with the variable:
W 5 , j | 2 j ( ν ) = S 1 ¯ 5 , j | 2 j ( ν ) + 2 S 2 ¯ 5 , j | 2 j ( ν ) + 4 Z 5 , j | 2 j ( ν ) + 8 L 5 , j | 2 j ( ν ) ,
which is a scalar with the 16 possible values 0 , , 15 . These values correspond to 16 “states” of the response, as illustrated in Table 5.
For the feature components of x i , j | 2 j ( ν ) , i = 1 , , 5 , j = 0 , 1 , we choose the following variables:
S 1 ¯ i , j | 1 j ( ν ) = 1 C i , j ( ν ) h a s   a   t y p e - 1   p a y m e n t   a t   t i m e   i + 1 , S 2 ¯ i , j | 1 j ( ν ) = 1 C i , j ( ν ) h a s   a   t y p e - 2   p a y m e n t   a t   t i m e   i + 1 , Z i , j | 1 j ( ν ) = 1 C i , j ( ν ) i s   c l o s e d   a t   t i m e   i + 1 , L i , j | 1 j ( ν ) = 1 C i , j ( ν ) i n v o l v e s   a   l a w y e r   a t   t i m e   i + 1 , R 1 ¯ i , j | 1 j ( ν ) = 1 C i , j ( ν ) h a s   a   t y p e - 1   c a s e   r e s e r v e   a t   t i m e   i + 1 , R 2 ¯ i , j | 1 j ( ν ) = 1 C i , j ( ν ) h a s   a   t y p e - 2   c a s e   r e s e r v e   a t   t i m e   i + 1 .
All these variables are of 0-1 type; however, frequency features need not be of this kind. For example also the case reserve amounts R 1 i , j | 1 j ( ν ) and R 2 i , j | 1 j ( ν ) could be considered.
With this choice for the response variable and the feature components the prediction problem (14) takes the form:
P W 5 , j | 2 j ( ν ) = w = p 1 ( w ) x 5 , j | 1 j ( ν ) 0 , w = 0 , , 15 ,
where the probability function p 1 ( w ) : X [ 0 , 1 ] 16 is estimated on D 1 C .
As already mentioned, we estimate the probability function p 1 ( w ) under side constraint w = 0 15 p 1 ( w ) = 1 using the routine rpart implemented in R. The input data in D 1 C is organized as a table (a data frame) where each row corresponds to a claim and in each column the value of the response and of all the feature components observed at different historical dates is reported.
The following R command is used for the calibration, see Therneau et al. (2015) for details3:
freqtree 1 < rpart ( W rd + Z _ 0 + Z _ 1 + L _ 0 + L _ 1 + P 1 _ 0 + P 1 _ 1 + P 2 _ 0 + P 2 _ 1 + T 1 _ 0 + T 1 _ 1 + T 2 _ 0 + T 2 _ 1 , data = dt _ freq 1 , method = class , control = rpart . control ( cp = 0.01 ) )
where dt_freq1 is the calibration set D 1 C , and the variables are relabeled as follows:
W i , j | 2 j ( ν ) = W , Z i , j | 1 j ( ν ) = Z _ 1 , L i , j | 1 j ( ν ) = L _ 1 , S 1 ¯ i , j | 1 j ( ν ) = P 1 _ 1 , S 2 ¯ i , j | 1 j ( ν ) = P 2 _ 1 , R 1 ¯ i , j | 1 j ( ν ) = T 1 _ 1 , R 2 ¯ i , j | 1 j ( ν ) = T 2 _ 1 , j ̲ i j 1 ,
and:
Z i , 0 | 0 ( ν ) = Z _ 0 , L i , 0 | 0 ( ν ) = L _ 0 , S 1 ¯ i , 0 | 0 ( ν ) = P 1 _ 0 , S 2 ¯ i , 0 | 0 ( ν ) = P 2 _ 0 , R 1 ¯ i , 0 | 0 ( ν ) = T 1 _ 0 , R 2 ¯ i , 0 | 0 ( ν ) = T 2 _ 0 .
The rationale of this labelling is that variables with subscript _h, h = 0 , , , are observed at time i + h i.e., have historical depth θ = h + 1 . Therefore for = 1 variables with _1 have θ = 1 and variables with _0 have θ = 2 .
With the previous command a large binary tree, freqtree1, was grown by rpart. In a second step freqtree1 has been pruned using 10-fold cross-validation and applying the one-standard-error rule. The resulting pruned tree is reported in Figure 1, which is obtained by the package rpart.plot.
The tree has R 1 = 5 leaves. In the “palette” associated with each node of the tree the corresponding frequency distribution of the response variable W observed in the calibration set D 1 C is reported. Therefore the palettes associated with the leaves provide the probability estimates p ^ 1 ( w , r ) associated with the regions R 1 ( r ) , r = 1 , , 5 , of the optimal partition P 1 , as shown by expression (15). Frequencies in the palettes are expressed in percent and are rounded to the nearest whole number. The rpart numerical output provides more precise figures.
To illustrate Figure 1 we order the leaves in sequence from left to right, so that the r-th leaf from the left corresponds to the region R 1 ( r ) of P 1 . Let us consider, for example, the claims in the fifth leaf R 1 ( 5 ) , which have Z _ 1 = 1 . These are the claims in the calibration set that were closed at time 4 and 5 (then with Z i , j | 1 j ( ν ) = 1 , i = 3 , 4 ); these claims are the 94 % of all claims in the calibration set. Since, under model assumptions, the observed frequencies provide the estimate of the corresponding probabilities at the current time I for event occurrences at time I + 1 , one can observe that for claims closed at time I there is (about) a 99 % probability that they will be closed without payments at time I + 1 , while there is (about) a 1 % probability that they will reopened with a payment. Leaf 4 in the tree contains the claims with Z _ 1 = 0 and T 1 _ 1 = 1 . These are the claims in the calibration set ( 3 % of the total) which were open with a type-1 reserve placed on at time 4 and 5, i.e., ( Z i , j | 1 j ( ν ) = 0 ) ( R 1 ¯ i , j | 1 j ( ν ) = 1 ) , i = 3 , 4 . From the frequency table reported in the palette, we conclude that for the claims open with type-1 reserve at time I the most probable state at time I + 1 ( 33 % probability) is CYN0, i.e., the state with a type-1 payment and claim closing ( W 5 , j | 2 j ( ν ) = 5 ). In leaf 3 we find the claims in the calibration set which at time 4 and 5 were open without type-1 reserve and with a lawyer involved, i.e., ( Z i , j | 1 j ( ν ) = 0 ) ( R 1 ¯ i , j | 1 j ( ν ) = 0 ) ( L i , j | 1 j ( ν ) = 1 ) , i = 3 , 4 . These claims are 0.2 % of the total. From the frequency table we conclude that for claims that at time I have the same feature the most probable state at time I + 1 ( 36 % probability) is CNY0, i.e., the state with a type-2 payment and claim closing ( W 5 , j | 2 j ( ν ) = 6 ). In the fourth binary split, which produces the first two leaves in the tree, the splitting criterion is the existence of a type-2 payment (indicator P2_1) for claims which at time 4 and 5 were open without type-1 reserve and without a lawyer. From the frequency tables in the second and the first leaf (referring to about 1 % and 2 % of the claims of the calibration set, respectively), one finds that if at time I the claim has a type-2 payment, the most probable state at time I + 1 ( 33 % ) is CNY0; otherwise the most probable state ( 40 % ) is ONN0, i.e., it remains open without payments and without involving a lawyer.
It is interesting to note that although we included in the model also explanatory variables observed with historical depth θ = 2 (i.e., feature variables with subscript _0), none of these variables has been considered useful for prediction by the algorithm (after pruning). Only explanatory variables with θ = 1 (subscript _1) has been used for the splits in the pruned tree.

8.2. Possible Use for Early Warnings

For a given claim with = 1 let us consider questions as those of type (b) presented in Section 2 (with τ = 1 ). Formally, for a given claim C 5 , j ( ν ) in D 1 P let us consider the event C 5 , j ( ν ) w i l l   i n v o l v e   a   l a w y e r   a t   t i m e   7 , with indicator L 5 , j | 2 j ( ν ) . This corresponds to the events W 5 , j | 2 j ( ν ) { 8 , , 15 } hence:
P L 5 , j | 2 j ( ν ) = 1 = w = 8 15 P W 5 , j | 2 j ( ν ) = w .
This probability is different in different leaves of the classification tree, then we write:
λ ( r ) : = P ^ L 5 , j | 2 j ( ν ) = 1 | C 5 , j ( ν ) R 1 ( r ) = w = 8 15 p ^ 1 ( w , r ) , r = 1 , R 1 .
If n ( r ) denotes the number of claims C 5 , j ( ν ) belonging to leaf r, the expected number of claims with lag 1 that will involve a lawyer in the next year is given by Λ : = r = 1 R 1 λ ( r ) n ( r ) .
The values of λ ( r ) and n ( r ) are reported in Table 6, where the leaves are ordered by decreasing value of the probability λ ( r ) . It results that the expected number is Λ = 920 . Since | D 1 P | = r = 1 5 n ( r ) = 150 , 368 , only 0.6 % of the claims in D 1 P is expected to involve a lawyer in one year. This data could also be useful for providing information to an early-warning system. For example, a list could be provided of the first 323 claims in the table, i.e., the claims in D 1 P for which λ ( r ) > 40 % .
In Section 11.2 we will present a backtesting exercise for this kind of predictions.

8.3. Prediction of Claim Payments Using the Conditional Severity Model

Once the optimal classification tree in Figure 1 has been obtained for the frequency, for each leaf in this tree two regression functions must be calibrated for the severity, one for type-1 and one for type-2 payments. For the sake of brevity, we illustrate two cases:
  • The estimate of a type-1 (i.e., NoCARD) payment for open claims with type-1 reserve placed on, for which we consider the claims in leaf 4 in the frequency tree in Figure 1.
  • The estimate of a type-2 (i.e., CARD) payment for open claims without type-1 reserve placed on and with lawyer involved, for which we consider the claims in leaf 3 in Figure 1.
Case 1. As pointed out in Section 7.3, since the severity model is a conditional model, for the calibration of the regression function μ ˜ ( 1 ) only the claims for which a type-1 payment is made at the response date are considered. Hence the calibration set for this regression estimate is the subset of claims in leaf 4 of the frequency tree for which a type-1 payment was observed in the response. It results in this calibration set consisting of 2564 claims. For the calibration of this regression tree the following R command is used:
sevtree 4 < rpart ( S 1 _ 2 rd + L _ 0 + L _ 1 + S 1 _ 0 + S 1 _ 1 + S 2 _ 0 + S 2 _ 1 + R 1 _ 0 + R 1 _ 1 + R 2 _ 0 + R 2 _ 1 , data = dt _ sev 4 , method = anova , control = rpart . control ( cp = 0.001 ) )
where dt_sev4 is the calibration set and the relabeling is used:
S 1 i , j | 2 j ( ν ) = S 1 _ 2 , L i , j | 1 j ( ν ) = L _ 1 , S 1 i , j | 1 j ( ν ) = S 1 _ 1 , S 2 i , j | 1 j ( ν ) = S 2 _ 1 , R 1 i , j | 1 j ( ν ) = R 1 _ 1 , R 2 i , j | 1 j ( ν ) = R 2 _ 1 , j ̲ i j 1 ; L i , 0 | 0 ( ν ) = L _ 0 , S 1 i , 0 | 0 ( ν ) = S 1 _ 0 , S 2 i , 0 | 0 ( ν ) = S 2 _ 0 , R 1 i , 0 | 0 ( ν ) = R 1 _ 0 , R 2 i , 0 | 0 ( ν ) = R 2 _ 0 .
As for the frequency case, after the large binary tree sevtree4 was grown by rpart, this was pruned using 10-fold cross-validation and applying the one-standard-error rule. The pruned tree thus obtained is illustrated in Figure 2, provided by rpart.plot.
The feature variable and its critical value used for the binary split are indicated on each node. On the palette attached to the node the empirical mean of payments and the percentage number of observations is reported. The partition provided by the pruned tree consists of 7 leaves. Under model assumptions, the average payment reported in the palette provides the expected value at time I = 6 of the type-1 payment at time I + 1 = 7 .
Case 2. In this case, the calibration set for the severity tree is the subset of claims in leaf 3 of the frequency tree for which a type-2 payment was observed in the response. This calibration set consists of 281 claims. The R command used for this regression tree is similar to that for Case 1. The tree pruned with the usual method is reported in Figure 3.
The partition provided by this tree consists now of 3 leaves. The average payment reported in the palette of each leaf provides the expected value at time 6 of the type-2 payment at time 7 for these claims.
Part II. Multiperiod Predictions and Backtesting

9. Multiperiod Predictions

9.1. The Shift-Forward Procedure and the Self-Sustaining Property

The basic idea underlying the extension of a one-period prediction to a multiperiod prediction in the frequency model can be illustrated as follows. At time i + j + k = I , let us consider the claims referring to two contiguous prediction sets D P , D P with = + 1 , = 0 , , I 3 , that is the claims classes:
H = C i , j ( ν ) : i = I , j ̲ I j , 1 ν N I , j , H = C i , j ( ν ) : i = I , j ̲ I j , 1 ν N I , j .
For these two classes the corresponding one-year prediction problem in the frequency model is given by:
E F I , j | j + 1 ( ν ) | F I = p ( f ) x I , j | j ( ν ) , E F I , j | j + 1 ( ν ) | F I = p ( f ) x I , j | j ( ν ) .
Assume that the prediction functions of the two problems have been calibrated on the sets D C and D C  , respectively, with the resulting estimates for time I + 1 :
F ^ I , j | j + 1 ( ν ) = p ^ ( f ) x I , j | j ( ν ) , F ^ I , j | j + 1 ( ν ) = p ^ ( f ) x I , j | j ( ν ) .
Our aim is to derive an estimate of the two-year response F I , j | j + 2 ( ν ) for the claims C i , j ( ν ) in class H , i.e., with accident year I .
Assume that the feature and the response for claims in class H are specified so that:
F ^ I , j | j + 1 ( ν ) B ^ I , j | j + 1 ( ν ) ,
i.e., the estimated response variable for claims in class H contains an estimate of the next year dynamic component of the feature x I , j | j + 1 ( ν ) of these claims, see expression (10). Following D’Agostino et al. (2018) a property such as (17) is referred to as self-sustaining property. Then we can estimate the response at time I + 2 as:
F ^ I , j | j + 2 ( ν ) = p ^ + 1 ( f ) x ^ I , j | j + 1 ( ν ) ,
where x ^ i , j | I i j + 1 ( ν ) = x i , j | I i j ( ν ) , B ^ i , j | I i j + 1 ( ν ) is the one-year updated feature of C i , j ( ν ) H . In this procedure the two-year response estimate for claims in class H (whose one-year response has been estimated using the μ ^ prediction function) is obtained by the μ ^ prediction function, which has been estimated for claims in class H but is now applied to the claim feature updated using μ ^ .
The previous shift-forward procedure applied for all lags = 0 , , I 3 provides all the two-year predictions, i.e., the entire “second new diagonal” of estimates in the “data triangle”, provided that property (17) holds for each lag.
As an example, let us consider in Table 7 the time I estimates for claims of accident year I = 6 (class H ) and of accident year I 1 = 5 (class H ), with corresponding lags = 0 and = 1 . We have the problems:
E F 6 , 0 | 1 ( ν ) | F 6 = p ^ 0 ( f ) x 6 , 0 | 0 ( ν ) , E F 5 , 0 / 1 | 1 / 0 + 1 ( ν ) | F 6 = p ^ 1 ( f ) x 5 , 0 / 1 | 1 / 0 ( ν ) ,
which, after calibration at time 6 on D 0 C and D 1 C , respectively, provide the estimates for time 7:
F ^ 6 , 0 | 1 ( ν ) = p ^ 0 ( f ) x 6 , 0 | 0 ( ν ) , F ^ 5 , 0 / 1 | 1 / 0 + 1 ( ν ) = p ^ 1 ( f ) x 5 , 0 / 1 | 1 / 0 ( ν ) .
We want to derive an estimate of the two-year response F 6 , 0 | 2 ( ν ) for the claims with accident year 6.
If F ^ 6 , 0 | 1 ( ν ) B ^ 6 , 0 | 1 ( ν ) , i.e., if the one-year response variable for claims of accident year 6 includes an estimate of the next-year updating component of the features x 6 , 0 | 0 ( ν ) , then we can estimate the response at time 8 as:
F ^ 6 , 0 | 2 ( ν ) = p ^ 1 ( f ) x ^ 6 , 0 | 1 ( ν ) ,
where x ^ 6 , 0 | 1 ( ν ) = x 6 , 0 | 0 ( ν ) , B ^ 6 , 0 | 1 ( ν ) . This shift-forward procedure allowed by the self-sustaining property is represented in Table 7 by the first red arrow on the bottom. The same procedure applied for all lags = 0 , , I 3 provides the entire “second new diagonal” of estimates i.e., the cells in light blue color in Table 7.
To derive the third new diagonal of estimates, i.e., the three-year predictions for lags = 0 , , I 3 , we can repeat the previous procedure, provided that the self-sustaining properties hold:
F ^ I , j | j + 2 ( ν ) B ^ I , j | j + 2 ( ν ) , = 0 , , I 3 .
In the example of Table 7 the second shift-forward procedure providing the lowest element of the second new diagonal (darker blue cells) is represented by a blue arrow.
In general, for the h-th new diagonal, the required properties are:
F ^ I , j | j + h ( ν ) B ^ I , j | j + h ( ν ) , h = 1 , , I 1 , = 0 , , I 1 h .
It should be noted that in all these multiyear prediction procedures only the calibrations for lags = 0 , , I 3 made at time I are used.

9.2. Illustration in Terms of Partitions

The multiperiod prediction can be also illustrated in terms of partitions of X . We refer here to the one-dimensional formulation of the frequency response. Following D’Agostino et al. (2018), in terms of the partition elements provided by the classification trees, the self-sustaining property requires that:
For i = 1 , , I , j = 0 , , J , ν = 1 , , N i , j , k N 0 , the response W i , j | k + 1 ( ν ) and the features x i , j | k , x i , j | k + 1 are such that for u = 1 , , R j + k and w = 0 , 1 , , 2 d 1 it is always possible to calculate the function ϕ j + k + 1 ( u , w ) defined as:
ϕ j + k + 1 ( u , w ) = r : x i , j | k + 1 ( ν ) R j + k + 1 ( r ) | x i , j | k ( ν ) R j + k ( u ) W i , j | k + 1 ( ν ) = w , r = 1 , R j + k + 1 .
That is for all i , j , ν , k the features x i , j | k ( ν ) , x i , j | k + 1 ( ν ) and the response W i , j | k + 1 ( ν ) are specified so that any element of the partition P j + k is mapped by ϕ j + k + 1 into a unique element of the partition P j + k + 1 . In principle, this could lead to formulate the multiyear prediction in terms of transition probabilities π ( u , w ) , i.e., the probability of transitioning from one state u of the response W I , j | j ( ν ) to one state w of the response W I , j | j + 1 ( ν ) .

9.3. Illustration in Terms of Conditional Expectations

As in Wüthrich (2016) the multiperiod prediction can also be expressed in terms of conditional expectations. For the two-year prediction we have:
E F I , j | j + 2 ( ν ) | F I = E E F I , j | j + 2 ( ν ) | F I + 1 | F I = E f 1 , , f d f p + 1 ( f ) x I , j | j + 1 ( ν ) | F I = f 1 , , f d f E p + 1 ( f ) x I , j | j + 1 ( ν ) | F I = f 1 , , f d f p ^ + 1 ( f ) x ^ I , j | j + 1 ( ν ) ,
where in the last equality we replaced the probabilities p + 1 ( f ) with their F I -measurable expectations provided by the CART calibration.

10. The Simulation Approach

The analytical calculations involved in both the transition matrix approach and the conditional expectation approach can be very burdensome from a computational point of view. The computational cost depends on the number of dynamic variables to be modeled. For example, with 4 dynamic variables and I = 10 the number of possible states of the response W for a claim of accident year I is given by is 4 2 I 1 = 4 2 9 = 68 , 719 , 476 , 736 . To avoid these difficulties, we take a simulation approach for multiperiod forecasting.

10.1. A Typical Multiperiod Prediction Problem

To illustrate this approach, we consider one of the most important multiperiod prediction problems, which is the basis for individual claims reserving. In the outstanding portfolio, let us consider a specified claim C i , j ( ν ) occurred in accident year i and reported with delay j. The claims portfolio has been observed up to the current date I and we want to predict on this date the total cost (of type 1 and type 2) in the next τ N 1 years. Let us define the cumulated costs:
K 1 i , j | I ( i + j ) + τ ( ν ) = h = 1 τ S 1 i , j | I ( i + j ) + h ( ν ) , τ N 0 , K 2 i , j | I ( i + j ) + τ ( ν ) = h = 1 τ S 2 i , j | I ( i + j ) + h ( ν ) , τ N 0 ,
where, obviously, K 1 i , j | I ( i + j ) + 0 ( ν ) = K 2 i , j | I ( i + j ) + 0 ( ν ) = 0 . We can say that ( K 1 i , j | I ( i + j ) + τ ( ν ) ) τ N 0 and ( K 2 i , j | I ( i + j ) + τ ( ν ) ) τ N 0 provide the cumulated cost development path, of type 1 and type 2 respectively, of the claim in the future, i.e., on the dates I + 1 , I + 2 , . We want to predict these paths, i.e., we want to derive, using prediction trees, the estimates:
K 1 ^ i , j | I ( i + j ) + τ ( ν ) = E ^ K 1 i , j | I ( i + j ) + τ ( ν ) | F I , τ N 1 , K 2 ^ i , j | I ( i + j ) + τ ( ν ) = E ^ K 2 i , j | I ( i + j ) + τ ( ν ) | F I , τ N 1 .
In our data we have not observations to make predictions beyond the date 2 I 1 , i.e., for τ > I 1 . If one assumes that the claims are finalized at this date, then we can take the expected cumulated cost at time 2 I 1 as an estimate of the individual reserve estimate, i.e.:
E 1 i , j ( ν ) = K 1 ^ i , j | 2 I ( i + j ) 1 ( ν ) = E ^ K 1 i , j | 2 I ( i + j ) 1 ( ν ) | F I , E 2 i , j ( ν ) = K 2 ^ i , j | 2 I ( i + j ) 1 ( ν ) = E ^ K 2 i , j | 2 I ( i + j ) 1 ( ν ) | F I ,
where E 1 i , j ( ν ) and E 2 i , j ( ν ) denote the type-1 and type-2, respectively, reserve estimate at time I of the claim C i , j ( ν ) . The total reserve is obviously obtained as E i , j ( ν ) = E 1 i , j ( ν ) + E 2 i , j ( ν ) .
It is worth noting that if the case reserves are dynamically modeled, one could also obtain the estimates:
T 1 i , j ( ν ) : = R 1 ^ i , j | 2 I ( i + j ) 1 ( ν ) = E ^ R 1 i , j | 2 I ( i + j ) 1 ( ν ) | F I , T 2 i , j ( ν ) : = R 2 ^ i , j | 2 I ( i + j ) 1 ( ν ) = E ^ R 2 i , j | 2 I ( i + j ) 1 ( ν ) | F I .
If these estimates are different from zero the assumption of claims finalization at time 2 I 1 can be relaxed and the final case reserve estimates T 1 i , j ( ν ) and T 2 i , j ( ν ) can be used as type-1 and type-2, respectively, tail reserve estimates. In this case, one obtains comprehensive reserve estimates by adding the tail reserves in (19) to the estimates in (18).

10.2. Simulation of Sample Paths and Reserve Estimates

In the simulation approach the expected cumulated costs of the claim C i , j ( ν ) , and as a byproduct the reserve estimates, are obtained by simulating a number N of possible paths of the cost development and then computing the average path, which is obtained as the sample mean of the costs on each date of the paths. We give some details of this procedure. It is convenient to skip again to the “by lag” language in this exposition.
Let us suppose, as usual, that at time I the historical observations on the claims portfolio are sufficient for calibrating the classification tree for the frequency and the regression trees for the conditional severity (of type 1 and 2) for all lags = 0 , , I 2 . Therefore, at time I all the optimal frequency partitions P of the feature space X and the optimal severity partitions Q ( 1 ) , Q ( 2 ) corresponding to each leaf of P have been derived for = 0 , , I 2 .
Let C i , j ( ν ) be a given claim in the portfolio, with at time I frequency feature x i , j | j ( ν ) and severity feature x ˜ i , j | j ( ν ) , with = I i . The simulation procedure for the development cost of this claim is based on the following steps.
0.
Initialization. Set:
0 = , K 2 i , j | 0 j ( ν ) = 0 , K 2 i , j | 0 j ( ν ) = 0 , x ^ i , j | 0 j ( ν ) = x i , j | 0 j ( ν ) , x ˜ ^ i , j | 0 j ( ν ) = x ˜ i , j | 0 j ( ν ) .
1.
Find the index r of the leaf of P 0 to which the feature x ^ i , j | 0 j ( ν ) belongs.
2.
Simulate the state w of the frequency response W ^ i , j | 0 j + 1 ( ν ) at time 0 + i + 1 using the probability distribution corresponding to the r-th leaf of P 0 .
3.
If w implies:
a.
a type-1 payment (i.e., a NoCARD payment) at time 0 + i + 1 , then assume as the expected paid amount at time 0 + i + 1 the estimate S 1 ^ i , j | 0 j + 1 ( ν ) corresponding to the leaf of Q 0 ( 1 ) to which the feature x ˜ ^ i , j | 0 j ( ν ) belongs.
b.
a type-2 payment (i.e., a CARD payment) at time 0 + i + 1 , then assume as the expected paid amount at time 0 + i + 1 the estimate S 2 ^ i , j | 0 j + 1 ( ν ) corresponding to the leaf of Q 0 ( 2 ) to which the feature x ˜ ^ i , j | 0 j ( ν ) belongs.
c.
no payments at time 0 + i + 1 , then all payments at time 0 + i + 1 are set to 0.
4.
Set:
K 1 i , j | 0 j + 1 ( ν ) = K 1 i , j | 0 j ( ν ) + S 1 ^ i , j | 0 j + 1 ( ν ) , K 2 i , j | 0 j + 1 ( ν ) = K 2 i , j | 0 j ( ν ) + S 2 ^ i , j | 0 j + 1 ( ν ) .
5.
If 0 < I 2 then:
5.1.
The features x i , j | 0 j ( ν ) and x ˜ i , j | 0 j ( ν ) are updated with the new information provided by the responses W ^ i , j | 0 j + 1 ( ν ) , S 1 ^ i , j | 0 j + 1 ( ν ) and S 2 ^ i , j | 0 j + 1 ( ν ) , and the new features x ^ i , j | 0 j + 1 ( ν ) and x ˜ ^ i , j | 0 j + 1 ( ν ) are then obtained (this requires that the self-sustaining property holds).
5.2.
Set 0 = 0 + 1 and return to step 1.
With this procedure the two sample paths:
K 1 i , j | j + τ ( ν ) τ = 0 , , I 1 , K 2 i , j | j + τ ( ν ) τ = 0 , , I 1 ,
of the type-1 and type-2 cumulated cost are simulated for the chosen claim C i , j ( ν ) with lag = I i . A simulation set of appropriate size is obtained with N independent iterations h = 1 , , N of this procedure. The cost estimates are then obtained as the costs on the average path, i.e.,:
K 1 ^ i , j | j + τ ( ν ) = 1 N h = 1 N h | K 1 i , j | j + τ ( ν ) , K 2 ^ i , j | j + τ ( ν ) = 1 N h = 1 N h | K 2 i , j | j + τ ( ν ) , τ = 0 , , I 1 .
On the terminal date, i.e., for τ = I 1 , these sample averages provide the reserve estimates E 1 i , j ( ν ) and E 2 i , j ( ν ) in (18).
Once the CART approach has been extended to multiperiod predictions via simulation, it is convenient to make a further extension of the model to allow a joint dynamic modeling of the case reserves. Indeed, as anticipated in Section 5, to make the best use of the case reserve information in multiperiod predictions also the changes in the case reserve itself must be predicted by a specific model.

10.3. Including Dynamic Modeling of the Case Reserve

To dynamically model the case reserves, we extend the model assumptions in Section 4.2. Also, for the case reserve the conditional model is preferred, for the usual reason of a discrete probability mass typically present in 0 in the reserve distributions. Our additional assumptions are described as follows.
  • The filtered probability space ( Ω , F , P , F ) must include also the two reserve processes:
    ( R 1 i , j | k ( ν ) ) i , j , k , ν , ( R 2 i , j | k ( ν ) ) i , j , k , ν ,
    which are F -adapted for t = i + j + k and for which the independency assumptions (H1), (H2), (H3) also hold.
  • For the distribution of the case reserves a property similar to assumption (H5) holds, i.e.,:
    (HR5) For the conditional distribution of R 1 i , j | k ( ν ) | ( R 1 ¯ i , j | k ( ν ) = 1 ) and R 2 i , j | k ( ν ) | ( R 2 ¯ i , j | k ( ν ) = 1 ) one has:
    R 1 i , j | k + 1 ( ν ) | R 1 ¯ i , j | k + 1 ( ν ) = 1 N μ ˙ j + k ( 1 ) x ˙ i , j | k ( ν ) , σ ˙ 1 2 , R 2 i , j | k + 1 ( ν ) | R 2 ¯ i , j | k + 1 ( ν ) = 1 N μ ˙ j + k ( 2 ) x ˙ i , j | k ( ν ) , σ ˙ 2 2 ,
    where x ˙ i , j | k ( ν ) X is a F i + j + k -measurable feature of C i , j | k ( ν ) .
    As for the payment variables, these assumptions imply:
    E R 1 i , j | k + 1 ( ν ) | F i + j + k , R 1 ¯ i , j | k + 1 ( ν ) = 1 = μ ˙ j + k ( 1 ) x ˙ i , j | k ( ν ) , E R 2 i , j | k + 1 ( ν ) | F i + j + k , R 2 ¯ i , j | k + 1 ( ν ) = 1 = μ ˙ j + k ( 2 ) x ˙ i , j | k ( ν ) ,
    where the conditional expectations can be calibrated by regression trees. Then there exists an F i + j + k -measurable severity feature x ˜ i , j | k ( ν ) which determines the conditional expectation of the cash flows S 1 i , j | k ( ν ) and S 2 i , j | k ( ν ) . The unconditional reserve expectations are then given by:
    E R 1 i , j | k + 1 ( ν ) | F i + j + k = μ ˙ j + k ( 1 ) x ˙ i , j | k ( ν ) P R 1 ¯ i , j | k + 1 ( ν ) = 1 | F i + j + k , E R 2 i , j | k + 1 ( ν ) | F i + j + k = μ ˙ j + k ( 2 ) x ˙ i , j | k ( ν ) P R 2 ¯ i , j | k + 1 ( ν ) = 1 | F i + j + k .
  • To further improve the predictive performance, an assumption similar to assumption (H4) or (H4’) can be added, which we express here in the one-dimensional form (8):
    (HR4’) For the conditional distribution of:
    W ˙ i , j | k ( ν ) = R 1 ¯ i , j | k ( ν ) + 2 R 2 ¯ i , j | k ( ν ) ,
    one has:
    W ˙ i , j | k + 1 ( ν ) = w | F i + j + k , Z i , j | k + 1 ( ν ) = 0 Categorical p ˙ j + k ( w ) x i , j | k ( ν ) ,
    where p ˙ j + k ( w ) : X [ 0 , 1 ] 4 is a probability function, i.e.:
    w = 0 3 p ˙ j + k ( w ) x i , j | k ( ν ) = 1 .
    This assumption implies:
    P W ˙ i , j | k + 1 ( ν ) = w | F i + j + k , Z i , j | k + 1 ( ν ) = 0 = p ˙ j + k ( w ) x i , j | k ( ν ) 0 , w = 0 , , 3 .
Assumption (HR4’) is not required if there is only one type of payment, since if we have, say, only type-1 payments, then R 1 ¯ i , j | k + 1 ( ν ) = 1 Z i , j | k + 1 ( ν ) .
We can consider additional conditioning in expression (20) and/or (21) in order to better modeling particular effects. For example, one could condition on the state of the indicator Z i , j | k ( ν ) at the previous date in order to distinguish predictions concerning open claims and reopened claims. All these enhancements of the model have been applied in the following examples.

10.4. Example of Simulated Cost Development Paths

Using the simulation procedure illustrated in Section 10.2 and the additional assumptions presented in the previous section we can provide examples of multiperiod predictions including the joint dynamic modeling of case reserves. We provide here an example of cost development path simulation for an individual claim, using the data on the same claims portfolio of examples in Section 8. Before considering a specific claim, we derived all the frequency and the severity partitions for all lags = 0 , , 4 by calibrating prediction trees on the entire claims portfolio. The run time of all these calibrations is roughly 3 min on a workstation with one 8-core Intel [email protected] GHz (4.30 GHz max turbo) and 32 GB RAM. We then considered an individual claim with the following characteristics:
·
accident year: i = I = 6 ;
·
reporting delay: j = 0 , hence we denote the claim as C 6 , 0 ( ν ) ;
·
the claim is open at time I: Z 6 , 0 | 0 ( ν ) = 0 ;
·
the claim does not involve a lawyer at time I: L 6 , 0 | 0 ( ν ) = 0 ;
·
no type-1 (NoCARD) payment made at time I: S 1 ¯ 6 , 0 | 0 ( ν ) = 0 ;
·
no type-2 (CARD) payment made at time I: S 2 ¯ 6 , 0 | 0 ( ν ) = 0 ;
·
type-1 reserve at time I: R 1 6 , 0 | 0 ( ν ) = 31 , 460 euros;
·
type-2 reserve at time I: R 2 6 , 0 | 0 ( ν ) = 13 , 820 euros.
Since i = I we start with 0 = 0 in the simulation procedure, which provides the maximum length sample paths K 1 6 , 0 | 0 ( ν ) , K 1 6 , 0 | 1 ( ν ) , , K 1 6 , 0 | 5 ( ν ) and K 2 6 , 0 | 0 ( ν ) , K 2 6 , 0 | 1 ( ν ) , , K 2 6 , 0 | 5 ( ν ) . In each simulation an execution of the predict.rpart function was invoked for each lag. The computation time required for simulating all sample paths (for the type-1 and type-2 cost) is roughly 4 min. In Figure 4 and Figure 5 N = 5000 simulated sample paths for the type-1 and type-2 cumulated cost, respectively, of C 6 , 0 ( ν ) are reported. Since many paths overlap, the simulated paths are shown in blue with the color depth being proportional to the number of overlaps. The average paths in the two figures are shown in red: their final point corresponds to K 1 ^ 6 , 0 | 5 ( ν ) = 17 , 069 euros and K 2 ^ 6 , 0 | 5 ( ν ) = 4314 euros. If we assume that the claims are finalized at time 11, i.e., after τ = 5 years for this claim, then these amounts can be taken as an estimate of the individual claim reserves E 1 6 , 0 ( ν ) and E 2 6 , 0 ( ν ) to be placed at the current date on C 6 , 0 ( ν ) . This suggests significant decreases in both the outstanding case reserves, namely a decrease of 14 , 391 euros for R 1 6 , 0 | 0 ( ν ) and a decrease of 7406 euros for R 2 6 , 0 | 0 ( ν ) .
It is interesting to note that with this dynamic approach we also have an estimate of the tail reserves T 1 6 , 0 ( ν ) and T 2 6 , 0 ( ν ) which are obtained as the average of the 5000 simulated values of R 1 ^ 6 , 0 | 5 ( ν ) and R 2 ^ 6 , 0 | 5 ( ν ) . These estimates result in being T 1 6 , 0 ( ν ) = 386 euros and T 2 6 , 0 ( ν ) = 248 euros, which should be added to the corresponding expected cumulated costs, thus giving E 1 6 , 0 ( ν ) = 17 , 455 euros and E 2 6 , 0 ( ν ) = 4562  euros.
The variation coefficient in the simulated sample is 63.6 % for type-1 reserve and 91.6 % for type-2 reserve. The relative standard error of the mean is 0.9 % and 1.3 % , respectively.
Whether the reserve adjustments indicated by the model are actually done could depend on a specific decision. However, these findings should suggest putting the claim under scrutiny.

11. Testing Predictive Performance of CART Approach

In this section, we propose some backtesting exercises in order to get some insight into the predictive performance of our CART approach. We first illustrate backtesting results for predictions of one-year event occurrences useful for claim watching. Multiperiod occurrence predictions could be similarly tested. Finally, we perform a typical claim reserving exercise, which is composed of two steps. In a first step the individual reserve estimate is derived by simulation for all the claims in the portfolio and the resulting total reserve (after the addition of an IBNYR reserve estimate) is compared with the classical chain-ladder reserve, which is estimated on aggregate payments at portfolio level. We perform these estimates on data deprived of the last calendar year observations. Then in a second step we can assess the predictive performance of the CART approach with respect to the chain-ladder approach by comparing the realized aggregate payments in the “first next diagonal” with those predicted by the two methods.

11.1. The Data

In these predictive efficiency tests, we need to calibrate the CART models assuming time I 1 as the current date, since observations at time I are used to measure the forecast error. For this reason, data on claims portfolio used in the previous section has not sufficient historical depth. We then use in this section a different dataset containing a smaller variety of claim features (in particular, the variables L i , j | k ( ν ) are not present) but a longer observed claims history. We have:
·
Observed accident years: from 2007 to 2016. Then i = 1 , , 10 .
·
All claims reported are observed, hence for accident year i one has j = 0 , , 10 i (i.e., j ̲ i 0 ).
Then there are 55 blocks ( i , j ) in the original dataset. The total number of reported claims is 1,337,329. However, since we use claims observed in year 2016 (i.e., responses with i + j + k = 10 ) for testing predictions, we assume I = 9 as the current date and we drop from the original dataset all claims with i + j = 10 and all observations with i + j + k = 10 . This reduces the data for the calibration to 9 observed accident years (45 ( i , j ) blocks). In this data the pairs feature-response are observed for lags = 0 , , I 3 = 7 . The total number of reported claims in this portfolio observed at time I = 9 is i , j N i , j = 1 , 211 , 392 . The number of observations in the calibration set and the prediction set of each lag is reported in Table 8.

11.2. Prediction of One-Year Event Occurrences

We test the predictive efficiency of some one-year event predictions considering the indicators of type-1 payment, type-2 payment and closure for lag = 0 , i.e., we consider the predicted responses Z ^ 9 , 0 | 1 ( ν ) , S 1 ¯ ^ 9 , 0 | 1 ( ν ) , S 2 ¯ ^ 9 , 0 | 1 ( ν ) for ν = 1 , , N 9 , 0 , i.e., for all the | D 0 P | = N 9 , 0 = 121 , 633 claims in block ( 9 , 0 ) . These response estimates were provided by the classification tree for the frequency calibrated on D 0 C ( 1 , 012 , 099 observations). Since these responses are actually observed at time 10, we can assess the predictive performance of the model by comparing predicted and realized values. To this aim, we refer to a specific forecasting exercise.
For a given indicator, let us denote as positive, or negative, a claim in the sample D 0 P for which the indicator will be 1, or 0, respectively. Our forecasting exercise consists of predicting not only how many claims in the sample will be positive, but also which of them will be positive. i.e., we want to provide the claim code cc of the Λ claims in the sample we predict as positive, where Λ is the number of claims we expect to be positive. Our prediction strategy is very intuitive. Let R 0 ( r ) , r = 1 , , R 0 , the r-th leaf of the partition P 0 provided by the calibrated frequency tree. Using notations introduced in Section 8.2, we denote by n ( r ) the number of claims belonging to R 0 ( r ) and by λ ( r ) the probability to be positive for each of these claims. We assume that the leaves are ordered by decreasing value of λ ( r ) and define r * = min { r : N ( r ) Λ } , where N ( r ) = h = 1 r n ( h ) . Our forecasting strategy consists then in predicting as positive all the N ( r * ) claims in the first r * leaves and, in addition, Λ N ( r * ) claims which are randomly chosen among those in leaf r * + 1 .
The accuracy of our prediction could be measured by introducing an appropriate gain/loss function giving a specified (positive) score to claims correctly classified and a specified (negative) score to claims incorrectly classified. The choice of such a function, however, depends on the specific use one makes of the prediction, then in order to illustrate the results we prefer to resort here to the so-called confusion matrices, which we present in Figure 6. In these matrices blue (brown) cells refer to predicted (realized) values, green (red) cells refer to claims correctly (incorrectly) classified.
Let us consider, for example, the first matrix, concerning the indicator S 1 ¯ ^ 9 , 0 | 1 ( ν ) , i.e., {A type-1 payment is made in the next year}. We observe that 6581 claims of the 121 , 633 in the prediction set, i.e., the 5.4 % , were predicted by the model to have a type-1 payment, while type-1 payments actually realized were 6966 ( 5.7 % ). Of the 6581 claims predicted as positive, 5209 resulted in being true positive (TP, green cell) and the remaining 1372 were false positive (FP, red cell). Considering the 115 , 052 claims predicted to have not a type-1 payment, i.e., to be negative, 1757 resulted in being false negative (FN, red cell) and the remaining 113 , 295 were true negative (TN, green cell). Then, globally, 118 , 504 claims were correctly predicted ( 97.4 % of all the predicted claims) and the remaining 6966 were incorrectly predicted. Ratios typically used are also reported, as:
·
True positive ratio, also known as sensitivity: TPR = TP/(TP+FN) = 74.8 % ;
·
True negative ratio, or specificity: TNR = TN/(TN+FP) = 98.8 % ;
·
False negative ratio: FNR = 1 TPR = 25.2 % ;
·
False positive ratio: FPR = 1 TNR = 1.2 % .
The other two matrices have the same structure.

11.3. Prediction of Aggregate Claims Costs

11.3.1. Aggregate RBNS Reserve as Sum of Individual Reserves

We performed the CART calibration for the frequency-severity model extended with the dynamic case reserve model for all the 8 lags in the time-9 dataset. Given the large number of claims in this portfolio these calibrations required 73 min for computations. After the model calibration, for each of the 1,211,392 claims reported at time 9 we simulated N = 50 cost development paths for the type-1 and type-2 payments using the procedure illustrated in Section 10 and we computed the corresponding average paths. In each simulation and for each lag the predict.rpart function can be invoked only one time for all claims with the same lag. With respect to the simulation of a single claim, this provides, proportionally, a substantial reduction of computation time. The run time for all the simulations was roughly 120 min.
By computing the incremental payments of each average path and summing over the entire portfolio we obtained a CART reserve estimate for the reported but not settled (RBNS) claims. If these total payments are organized by accident year (on the rows) and payment date (on the column) we obtain a “lower triangle” of estimated future payments with the same structure of the usual lower triangles in classical claims reserving.
By the simulation procedure the individual reserve estimates are provided:
K 1 ^ i , j | 8 j ( ν ) = 1 N h = 1 N h | K 1 i , j | 8 j ( ν ) , K 2 ^ i , j | 8 j ( ν ) = 1 N h = 1 N h | K 2 i , j | 8 j ( ν ) , K ^ i , j | 8 j ( ν ) = K 1 ^ i , j | 8 j ( ν ) + K 2 ^ i , j | 8 j ( ν ) , i = 2 , , 9 , j = 0 , 9 i , ν = 1 , , N i , j .
Assuming claims finalization at time 2 I 1 = 17 , one obtains from these cost estimates the corresponding RBNS reserves, at different levels of aggregation:
E 1 i R B N S : = j = 0 9 i ν = 1 N i , j K 1 ^ i , j | 8 j ( ν ) , i = 2 , , I ; E 1 R B N S = i = 2 9 E 1 i R B N S ; E 2 i R B N S : = j = 0 9 i ν = 1 N i , j K 2 ^ i , j | 8 j ( ν ) , i = 2 , , I ; E 2 R B N S = i = 2 9 E 2 i R B N S ; E R B N S = E 1 R B N S + E 1 R B N S .
The simulation procedure also provides the individual tail reserve estimates:
R 1 ^ i , j | 8 j ( ν ) = 1 N h = 1 N h | R 1 ^ i , j | 8 j ( ν ) , R 2 ^ i , j | 8 j ( ν ) = 1 N h = 1 N h | R 2 ^ i , j | 8 j ( ν ) , R ^ i , j | 8 j ( ν ) = R 1 ^ i , j | 8 j ( ν ) + R 2 ^ i , j | 8 j ( ν ) , i = 1 , , 9 , j = 0 , 9 i , ν = 1 , , N i , j ,
which can be aggregated as:
T 1 i = j = 0 9 i ν = 1 N i , j R 1 ^ i , j | 8 j ( ν ) , i = 1 , , I ; T 1 = i = 1 9 T 1 i ; T 2 i = j = 0 9 i ν = 1 N i , j R 2 ^ i , j | 8 j ( ν ) , i = 1 , , I ; T 2 = i = 1 9 T 2 i ; T = T 1 + T 2 .
These estimates can be added to the corresponding estimates in (22) in order to provide an adjustment of the reserves computed under the assumption of finalization at time 2 I 1 .
As usual, the aggregate claim cost estimates can be organized by accident year and by development year (dy), indexed as h = 0 , , I 1 , where in the CART model “development year” is a new wording for the “lag” I + τ i . With this representation we obtain the “lower triangle” for the total costs (type 1 + type 2) reported in Table 9 in green color.
Figures in the aggregate “upper triangle” (pink color) are not reported in order to point out that this kind of data were not used for the prediction. Total estimated costs summed by diagonal (highlighted by different green intensity) as well as summed by accident year (second last column) are also reported. For confidentiality reasons all paid amounts in this numerical example were rescaled so as to obtain a total reserve E R B N S = 100 , 000 , 000 euros. For each accident year reserve estimate and for the total estimate the coefficient of variation on the simulated sample was computed. These figures, reported in the last column of the table, are rather low. This should be explained by the fact that each aggregate reserve simulation is the sum of a very large number of individual claim costs and the correlation among these individual costs is very low. Obviously, this weak correlation is also a consequence of the independence assumptions in the model.

11.3.2. Inclusion of the IBNYR Reserve Estimate

We are interested in comparing the CART reserve estimates with the classical chain-ladder reserve estimates. To allow this comparison a cost estimate for IBNYR claims must be added to the aggregate RBNS reserve derived in the previous section. Therefore, we complemented the RBNS reserve model with an ancillary model for the IBNYR reserve, which is outlined in Appendix A. This model is a “severity extension” of the “frequency approach” proposed in Wüthrich (2016) for estimating the expected number of IBNYR claims. The results of the ancillary model estimates are summarized (after rescaling) in the second last row of Table 9, where the IBNYR reserves, by diagonal and overall, are reported. Figures in the last row provide the corresponding RBNS claim reserves adjusted for IBNYR claims.
Remark 5.
This separation between RBNS and IBNYR claims is in some respect similar to that obtained in Verral et al. (2010).

11.3.3. Comparison with Chain-Ladder Estimates

In the chain-ladder approach to classical claims reserving the sums of all the individual claim payments in the portfolio observed up to time I are organized by accident year and development year and an upper triangle of observed paid losses, cumulated along development in each accident year, is obtained. The reserve estimates are then derived by the cumulated paid losses in the lower triangle, which is obtained by applying to the upper triangle the well-known chain-ladder algorithm. This is shown in Table 10 where, to allow comparison with Table 9, incremental payments are reported.
As in Table 9 the upper triangle is highlighted in pink and the lower triangle in green, and the chain-ladder reserves at different aggregation levels—by diagonal, by accident year, overall—are computed. In the last two rows of the table the differences with the CART estimates in the last row of Table 9 are shown. In some diagonals, i.e., in some future calendar years, there are substantial differences between the chain-ladder and the CART claims cost predictions. However, the overall chain-ladder reserve estimate is 5.6 % higher than the corresponding CART estimate. When the results provided by the two methods are compared, one should take into account that the chain-ladder estimates do include an underwriting year inflation forecast, since an estimate of historical underwriting year inflation is implicitly projected on future dates by the algorithm. In the CART approach, instead, some degree of expected inflation might be implicitly included in the predicted costs only through the case reserves. An additional component of expected inflation must however be added to the reserve estimates. A similar problem is found in DCL model, see Martínez-Miranda et al. (2013) for an estimation method of the underwriting year inflation based on incurred data.

11.3.4. Backtesting the Two Methods on the Next Diagonal

Since we deliberately made the reserve estimates for a claims portfolio observed at time 10 (i.e., 2016) using only data observed up to time 9 (2015), we are now able to perform a backtest on the “first next diagonal” since next-year realized payments (of both type 1 and type 2) are actually known. In Table 11 the realized payments and the prediction errors (i.e., realized − predicted) of the two methods are reported for accident years 2 i 9 .
The backtest exercise shows important errors in some accident years for both the methods. The overall predictions, however, are rather good for the two methods, showing an under-estimate of 1.07 % by chain-ladder and 2.03 % by CARTs. Considering possible adjustments for the expected inflation of CART prediction, we can say that in this case the predictive accuracy of the two methods is roughly similar.
Remark 6.
In this backtesting exercise the chain-ladder method has good predictive performance on the total reserve and is not easy to improve. A better assessment of the predictive efficiency of the CART approach in providing estimates of the aggregate reserve as sum of individual reserves could be obtained in cases where the chain-ladder approach poorly performs. For example, repeating the same exercise on different claims data (which for the moment are not authorized for disclosure), we observed on the total reserve estimate a forecast error of 18.64 % with the chain-ladder and 5.10 % with the CART approach.

12. Conclusions

The CART approach illustrated in this paper seems promising for claims reserving and, more generally, for the claim watching activity. The large model flexibility of CARTs allows inclusion in the model of effects in the claims development process, which are difficult to study with classical methods. CARTs are rather efficient also in variable selection. However, the role of expert opinions in the choice of the explanatory variables to be included in the model is still important. Also, in this respect the interpretability of the results provided by CARTs can be very helpful.
Prediction and claims handling methods provided by the CART approach can also have an impact on business organization, in so far as they suggest and promote a closer connection into the insurance firm between the actuarial and the claims settlement activity.
As usual, the reliability of the results depends crucially on the quality of data available. In the proposed CART applications, it is also true, however, that enlarging the richness of data can also extend the scope and the significance of the results. For example, if information at individual policy level is included in the dataset, our CART approach could also provide indications useful for non-life-insurance pricing.
As is well known, a main disadvantage of CARTs is that they are not very robust towards changes in the data, since a small change in the observations may lead to a largely different optimal tree. Also, the sensitivity of the optimal tree to changes of the calibration parameters should be carefully analyzed. Random forests are proposed as the natural answer to the instability problem; however, the interpretability of the results is an important property which should not be lost. Backtesting exercises as those presented in this paper could help to get the instability effects under control.

Author Contributions

Both authors contributed equally to this work.

Funding

This research received no external funding.

Acknowledgments

We would like to kindly thank Gaia Montanucci and Matteo Salciarini (Alef) for their help in the preparation of data and the fine tuning of the calculation engines.

Conflicts of Interest

The authors declare no conflict of interest.

Appendix A. An Ancillary Model for the Estimation of IBNYR Reserve

For the sake of brevity, we formulate the model for the IBNYR reserve referring only to type-1 payments. By the model assumptions presented in Section 4.2 the aggregate RBNS reserve estimate is given by:
E 1 R B N S = i = 2 I j = 0 I i k > I ( i + j ) ν = 1 N i , j E S 1 i , j | k ( ν ) | F I .
If the process ( N i , j ) i , j were deterministic, the aggregate IBNYR reserve estimate could be written as:
E 1 I B N Y R = i = 2 I j = I i + 1 J ν = 1 N i , j k 0 E S 1 i , j | k ( ν ) | F I .
The process ( N i , j ) i , j , however, is F -adapted at time i + j , therefore the values of N i j in the sum by j are not known at time I. Under proper assumptions (see Wüthrich 2016; Verrall and Wüthrich 2016) the IBNYR reserve can be estimated as:
E 1 I B N Y R = i = 2 I j = I i + 1 J E N i , j | F I E k 0 S 1 i , j | k ( ν ) ,
where:
  • the conditional expectation E N i , j | F I is given by an estimate N ^ i , j C L obtained by chain-ladder techniques applied to the aggregate number of reported claims;
  • the expectation E k 0 S i , j | k ( ν ) of the total cost for claims with reporting delay j is given by an estimate c ^ j obtained with the CART approach for the RBNS claims. Assuming that claims in different accident years are identically distributed one has:
    c ^ j = 1 I j i = 1 I j 1 N i , j ν = 1 N i , j S 1 ^ i , j ( ν ) ,
    where:
    S 1 ^ i , j ( ν ) = k = 0 I ( i + j ) S 1 i , j | k ( ν ) + k > I ( i + j ) E ^ S 1 i , j | k ( ν ) | F I ,
    is the total cost estimated for claim C i , j ( ν ) .
The (type-1) IBNYR reserve estimate is then obtained as:
E 1 I B N Y R = i = 2 I j = I i + 1 J N ^ i , j C L c ^ j .

References

  1. Breiman, Leo, Jerome H. Friedman, Richard A. Olshen, and Charles J. Stone. 1998. Classification and Regression Trees. London: Chapman & Hall/CRC. [Google Scholar]
  2. D’Agostino, Luca, Massimo De Felice, Gaia Montanucci, Franco Moriconi, and Matteo Salciarini. 2018. Machine learning per la riserva sinistri individuale. Un’applicazione R.C. Auto degli alberi di classificazione e regressione. Alef Technical Reports No. 18/02. Available online: http://alef.it/doc/TechRep_18_02.pdf (accessed on 9 October 2019).
  3. Gabrielli, Andrea, Richman Ronald, and Mario V. Wüthrich. 2018. Neural network embedding of the over-dispersed Poisson reserving model. Scandinavian Actuaria Journal, 1–29. [Google Scholar] [CrossRef]
  4. Hastie, Trevor, Robert Tibshirani, and Jerome Friedman. 2008. The Elements of Statistical Learning. Data Mining, Inference, and Predictions, 2nd ed. Springer Series in Statistics; Berlin: Springer. [Google Scholar]
  5. Hiabu, Munir, Carolin Margraf, Maria Dolores Martínez-Miranda, and Jens Perch Nielsen. 2015. The link between classical reserving and granular reserving through double chain ladder and its extensions. British Actuarial Journal 21: 97–116. [Google Scholar] [CrossRef] [Green Version]
  6. Martinez-Miranda, Maria Dolores, Bent Nielsen, Jens Perch Nielsen, and Richard Verrall. 2011. Cash Flow Simulation for a Model of Outstanding Liabilities Based on Claim Amounts and Claim Numbers. Astin Bulletin 41: 107–29. [Google Scholar]
  7. Martínez-Miranda, Maria Dolores, Jens Perch Nielsen, and Richard Verrall. 2012. Double Chain Ladder. ASTIN Bulletin 42: 59–76. [Google Scholar]
  8. Martínez-Miranda, Maria Dolores, Jens Perch Nielsen, and Richard Verrall. 2013. Double Chain Ladder and Bornhuetter-Ferguson. North American Actuarial Journal 17: 101–13. [Google Scholar] [CrossRef]
  9. Pešta, Michal, and Ostap Okhrin. 2014. Conditional least squares and copulae in claims reserving for a single line of business. Insurance: Mathematics and Economics 56: 28–37. [Google Scholar] [CrossRef] [Green Version]
  10. Taylor, Greg. 2019. Claim Models: Granular and Machine Learning Forms. Sydney: School of Risk and Actuarial Studies, University of South Wales. [Google Scholar]
  11. Taylor, Greg, Gráinne McGuire, and James Sullivan. 2008. Individual claim loss reserving conditioned by case estimates. Annals of Actuarial Science 3: 215–56. [Google Scholar] [CrossRef]
  12. Therneau, Terry M., Elizabeth J. Atkinson, and Mayo Foundation. 2015. An Introduction to Recursive Partitioning Using the RPART Routines. R Vignettes, version of June 29. Rochester: Mayo Foundation. [Google Scholar]
  13. Verrall, Richard, Jens Perch Nielsen, and Anders Hedegaard Jessen. 2010. Prediction of RBNS and IBNR claims using claim amounts and claim counts. ASTIN Bulletin 40: 871–87. [Google Scholar]
  14. Verrall, Richard J., and Mario V. Wüthrich. 2016. Understanding reporting delay in general insurance. Risks 4: 25. [Google Scholar] [CrossRef]
  15. Wüthrich, Mario V. 2016. Machine Learning in Individual Claims Reserving. Research Paper No. 16-67. Zürich: Swiss Finance Institute. [Google Scholar]
  16. Wüthrich, Mario V., and Christoph Buser. 2019. Data Analytics for Non-Life Insurance Pricing. Research Paper No. 16-68. Zürich: Swiss Finance Institute, Available online: https://ssrn.com/abstract=2870308 (accessed on 9 October 2019).
  17. Wüthrich, Mario V., and Michael Merz. 2019. Editorial: Yes, we CANN! ASTIN Bulletin 49: 1–3. [Google Scholar] [CrossRef]
1
According to the logical foundations of probability theory, as stated by Bruno de Finetti in the 1930s mainly using the Italian language, the word corresponding to the English prediction is previsione (prévision in French) and not predizione. As strongly stated by de Finetti, previsione refers to providing expectation, while predizione refers to providing certainty, which obviously is possible only in a deterministic framework. A prediction problem can have a very general nature. Formulation (1) is only a particular, though important, specification. Usually prediction is also referred to as forecast or foresight.
2
It can happen, for example, that only claims reported from calendar year y onwards are observed, which implies i + j y , i.e., j ̲ i = ( y i ) 0 .
3
The value 0.01 of the complexity parameter cp used in this example is rather high. It has been used here to simplify the illustration, since the pruned tree finally obtained with this choice is not too much large. For this reason, this pruned tree is slightly suboptimal. Using a more appropriate value of cp, however, does not change substantially the results that are discussed here.
Figure 1. Frequency model: pruned classification tree for lag = 1 .
Figure 1. Frequency model: pruned classification tree for lag = 1 .
Risks 07 00102 g001
Figure 2. Severity model: pruned regression tree for claims in leaf 4 of the frequency tree.
Figure 2. Severity model: pruned regression tree for claims in leaf 4 of the frequency tree.
Risks 07 00102 g002
Figure 3. Severity model: pruned regression tree for claims in leaf 3 of the frequency tree.
Figure 3. Severity model: pruned regression tree for claims in leaf 3 of the frequency tree.
Risks 07 00102 g003
Figure 4. Representation of N = 5000 simulated paths for the type-1 cost development of the chosen claim C 6 , 0 ( ν ) . In red the average path is reported.
Figure 4. Representation of N = 5000 simulated paths for the type-1 cost development of the chosen claim C 6 , 0 ( ν ) . In red the average path is reported.
Risks 07 00102 g004
Figure 5. Representation of N = 5000 simulated paths for the type-2 cost development of the chosen claim C 6 , 0 ( ν ) . The average path is in red.
Figure 5. Representation of N = 5000 simulated paths for the type-2 cost development of the chosen claim C 6 , 0 ( ν ) . The average path is in red.
Risks 07 00102 g005
Figure 6. Confusion matrices for prediction of payment and closure indicators for claims with = 0 .
Figure 6. Confusion matrices for prediction of payment and closure indicators for claims with = 0 .
Risks 07 00102 g006
Table 1. Pairs feature-response observed at time I = 4 for a claims portfolio with N i , j 1 . In cells with “no” features are not observed because of reporting delay. Responses on the last column are not yet observed.
Table 1. Pairs feature-response observed at time I = 4 for a claims portfolio with N i , j 1 . In cells with “no” features are not observed because of reporting delay. Responses on the last column are not yet observed.
Feature-response Pairs at Calendar Years t = i + j + k , t = t + 1
ccay: ird: j ν t = 1 t = 2 t = 3 t = 4 = I
1101 x 1 , 0 | 0 ( 1 ) , Y 1 , 0 | 1 ( 1 ) x 1 , 0 | 1 ( 1 ) , Y 1 , 0 | 2 ( 1 ) x 1 , 0 | 2 ( 1 ) , Y 1 , 0 | 3 ( 1 ) x 1 , 0 | 3 ( 1 ) , ·
2111no x 1 , 1 | 0 ( 1 ) , Y 1 , 1 | 1 ( 1 ) x 1 , 1 | 1 ( 1 ) , Y 1 , 1 | 2 ( 1 ) x 1 , 1 | 2 ( 1 ) , ·
3121nono x 1 , 2 | 0 ( 1 ) , Y 1 , 2 | 1 ( 1 ) x 1 , 2 | 1 ( 1 ) , ·
4131nonono x 1 , 3 | 0 ( 1 ) , ·
5201. x 2 , 0 | 0 ( 1 ) , Y 2 , 0 | 1 ( 1 ) x 2 , 0 | 1 ( 1 ) , Y 2 , 0 | 2 ( 1 ) x 2 , 0 | 2 ( 1 ) , ·
6211.no x 2 , 1 | 0 ( 1 ) , Y 2 , 1 | 1 ( 1 ) x 2 , 1 | 1 ( 1 ) , ·
7221.nono x 2 , 2 | 0 ( 1 ) , ·
8301.. x 3 , 0 | 0 ( 1 ) , Y 3 , 0 | 1 ( 1 ) x 3 , 0 | 1 ( 1 ) , ·
9311..no x 3 , 1 | 0 ( 1 ) , ·
10401... x 4 , 0 | 0 ( 1 ) , ·
Table 2. Pairs feature-response observed at time I = 4 organized by lag. Data on last column and row 4 cannot be used for prediction.
Table 2. Pairs feature-response observed at time I = 4 organized by lag. Data on last column and row 4 cannot be used for prediction.
Feature-response Pairs Reorganized by Lag ( = j + k )
ccay: ird: j ν = 0 = 1 = 2 = 3
1101 x 1 , 0 | 0 ( 1 ) , Y 1 , 0 | 1 ( 1 ) x 1 , 0 | 1 ( 1 ) , Y 1 , 0 | 2 ( 1 ) x 1 , 0 | 2 ( 1 ) , Y 1 , 0 | 3 ( 1 ) x 1 , 0 | 3 ( 1 ) , ·
2111no x 1 , 1 | 0 ( 1 ) , Y 1 , 1 | 1 ( 1 ) x 1 , 1 | 1 ( 1 ) , Y 1 , 1 | 2 ( 1 ) x 1 , 1 | 2 ( 1 ) , ·
3121nono x 1 , 2 | 0 ( 1 ) , Y 1 , 2 | 1 ( 1 ) x 1 , 2 | 1 ( 1 ) , ·
4131nonono x 1 , 3 | 0 ( 1 ) , ·
5201 x 2 , 0 | 0 ( 1 ) , Y 2 , 0 | 1 ( 1 ) x 2 , 0 | 1 ( 1 ) , Y 2 , 0 | 2 ( 1 ) x 2 , 0 | 2 ( 1 ) , · .
6211no x 2 , 1 | 0 ( 1 ) , Y 2 , 1 | 1 ( 1 ) x 2 , 1 | 1 ( 1 ) , · .
7221nono x 2 , 2 | 0 ( 1 ) , · .
8301 x 3 , 0 | 0 ( 1 ) , Y 3 , 0 | 1 ( 1 ) x 3 , 0 | 1 ( 1 ) , · · , · .
9311no x 3 , 1 | 0 ( 1 ) , · · , · .
10401 x 4 , 0 | 0 ( 1 ) , · · , · · , · .
Table 3. Pairs feature-response organized by lag relevant for prediction at time I = 4 . Responses on the “last diagonal” (green cells) are not yet observed and require one-year forecasts, which are denoted by Y ^ . In the two remaining “diagonals” neither the responses nor the features are yet observed; two-year and three-year forecasts are required in these cases.
Table 3. Pairs feature-response organized by lag relevant for prediction at time I = 4 . Responses on the “last diagonal” (green cells) are not yet observed and require one-year forecasts, which are denoted by Y ^ . In the two remaining “diagonals” neither the responses nor the features are yet observed; two-year and three-year forecasts are required in these cases.
Calibration Set and Prediction Set, by Lag
ccay: ird: j ν = 0 = 1 = 2
1101 x 1 , 0 | 0 ( 1 ) , Y 1 , 0 | 1 ( 1 ) x 1 , 0 | 1 ( 1 ) , Y 1 , 0 | 2 ( 1 ) x 1 , 0 | 2 ( 1 ) , Y 1 , 0 | 3 ( 1 )
2111no x 1 , 1 | 0 ( 1 ) , Y 1 , 1 | 1 ( 1 ) x 1 , 1 | 1 ( 1 ) , Y 1 , 1 | 2 ( 1 )
3121nono x 1 , 2 | 0 ( 1 ) , Y 1 , 2 | 1 ( 1 )
5201 x 2 , 0 | 0 ( 1 ) , Y 2 , 0 | 1 ( 1 ) x 2 , 0 | 1 ( 1 ) , Y 2 , 0 | 2 ( 1 ) x 2 , 0 | 2 ( 1 ) , Y ^ 2 , 0 | 3 ( 1 )
6211no x 2 , 1 | 0 ( 1 ) , Y 2 , 1 | 1 ( 1 ) x 2 , 1 | 1 ( 1 ) , Y ^ 2 , 1 | 2 ( 1 )
7221nono x 2 , 2 | 0 ( 1 ) , Y ^ 2 , 2 | 1 ( 1 )
8301 x 3 , 0 | 0 ( 1 ) , Y 3 , 0 | 1 ( 1 ) x 3 , 0 | 1 ( 1 ) , Y ^ 3 , 0 | 2 ( 1 ) ·
9311no x 3 , 1 | 0 ( 1 ) , Y ^ 3 , 1 | 1 ( 1 ) ·
10401 x 4 , 0 | 0 ( 1 ) , Y ^ 4 , 0 | 1 ( 1 ) ··
Table 4. Pairs feature-response organized by lag relevant for prediction at time I = 6 in the considered claims portfolio.
Table 4. Pairs feature-response organized by lag relevant for prediction at time I = 6 in the considered claims portfolio.
Feature-response at Lag
ay: ird: j ν = 0 = 1 = 2 = 3 = 4
13 1 , , 130 nonono x 1 , 3 | 0 ( ν ) , F 1 , 3 | 1 ( ν ) x 1 , 3 | 1 ( ν ) , F 1 , 3 | 2 ( ν )
14 1 , , 68 nononono x 1 , 4 | 0 ( ν ) , F 1 , 4 | 1 ( ν )
22 1 , , 871 nono x 2 , 2 | 0 ( ν ) , F 2 , 2 | 1 ( ν ) x 2 , 2 | 1 ( ν ) , F 2 , 2 | 2 ( ν ) x 2 , 2 | 2 ( ν ) , ·
23 1 , , 119 nonono x 2 , 3 | 0 ( ν ) , F 2 , 3 | 1 ( ν ) x 2 , 3 | 1 ( ν ) , ·
24 1 , , 30 nononono x 2 , 4 | 0 ( ν ) , ·
31 1 , , 10 , 778 no x 3 , 1 | 0 ( ν ) , F 3 , 1 | 1 ( ν ) x 3 , 1 | 1 ( ν ) , F 3 , 1 | 2 ( ν ) x 3 , 1 | 2 ( ν ) , · .
32 1 , , 623 nono x 3 , 2 | 0 ( ν ) , F 3 , 2 | 1 ( ν ) x 3 , 2 | 1 ( ν ) , · .
33 1 , , 97 nonono x 3 , 3 | 0 ( ν ) , · .
40 1 , , 144 , 820 x 4 , 0 | 0 ( ν ) , F 4 , 0 | 1 ( ν ) x 4 , 0 | 1 ( ν ) , F 4 , 0 | 2 ( ν ) x 4 , 0 | 2 ( ν ) , · ..
41 1 , , 10 , 767 no x 4 , 1 | 0 ( ν ) , F 4 , 1 | 1 ( ν ) x 4 , 1 | 1 ( ν ) , · ..
42 1 , , 519 nono x 4 , 2 | 0 ( ν ) , · ..
50 1 , , 140 , 256 x 5 , 0 | 0 ( ν ) , F 5 , 0 | 1 ( ν ) x 5 , 0 | 1 ( ν ) , · ...
51 1 , , 10 , 112 no x 5 , 1 | 0 ( ν ) , · ...
60 1 , , 148 , 918 x 6 , 0 | 0 ( ν ) , · ....
Table 5. Structure of the response variables W I 1 , j | 2 j ( ν ) .
Table 5. Structure of the response variables W I 1 , j | 2 j ( ν ) .
S 1 ¯ S 2 ¯ ZLWState of the Response
00000ONN0: open without payments and without lawyer
10001OYN0: open with S 1 payment and without lawyer
01002ONY0: open with S 2 payment and without lawyer
11003OYY0: open with S 1 and S 2 payment and without lawyer
00104CNN0: closed without payments and without lawyer
10105CYN0: closed with S 1 payment and without lawyer
01106CNY0: closed with S 2 payment and without lawyer
11107CYY0: closed with S 1 and S 2 payment and without lawyer
00018ONNL: open without payments and with lawyer
10019OYNL: open with S 1 payment and with lawyer
010110ONYL: open with S 2 payment and with lawyer
110111OYYL: open with S 1 and S 2 payment and with lawyer
001112CNNL: closed without payments and with lawyer
101113CYNL: closed with S 1 payment and with lawyer
011114CNYL: closed with S 2 payment and with lawyer
111115CYYL: closed with S 1 and S 2 payment and with lawyer
Table 6. Expectations of involving a lawyer in different leaves.
Table 6. Expectations of involving a lawyer in different leaves.
r λ ( r ) n ( r )
340.50%323
416.46%3204
25.89%1495
11.63%1878
50.10%143,468
Table 7. Creating “future diagonals” by multiyear predictions.
Table 7. Creating “future diagonals” by multiyear predictions.
Risks 07 00102 i001
Table 8. Number of observations in the calibration and the prediction set of each lag in the claims portfolio observed at time I = 9 .
Table 8. Number of observations in the calibration and the prediction set of each lag in the claims portfolio observed at time I = 9 .
| D C | | D P |
01,012,099121,633
1964,302119,075
2852,271116,207
3732,116121,885
4592,538139,828
5445,686146,965
6296,880148,895
7144,310152,593
Table 9. Aggregate lower triangle of the incremental RBNS cost estimates and corresponding RBNS reserves. In the last two rows the adjustments for IBNYR claims are reported.
Table 9. Aggregate lower triangle of the incremental RBNS cost estimates and corresponding RBNS reserves. In the last two rows the adjustments for IBNYR claims are reported.
ayi dy = 1 dy = 2 dy = 3 dy = 4 dy = 5 dy = 6 dy = 7 dy = 8 reserve: E i RBNS CoVa i
1 · · · · · · · · 0 0.00 %
2 · · · · · · · 548,939548,939 5.51 %
3 · · · · · · 841,939660,1351,502,074 9.12 %
4 · · · · · 1,336,090989,338679,9613,005,388 5.50 %
5 · · · · 1,989,5681,352,1471,026,083663,0335,030,831 6.18 %
6 · · · 2,652,1751,842,7021,266,884799,521595,6237,156,905 3.63 %
7 · · 4,658,8382,609,7091,584,9641,170,623725,353569,17411,318,662 2.97 %
8 · 10,672,7314,061,3622,479,8491,849,8691,104,580693,130543,76621,405,288 1.66 %
932,184,2967,479,4263,467,0812,644,6591,819,1411,158,269685,487593,55450,031,913 1.11 %
RBNS diagonal54,884,57518,994,82010,504,8237,127,7054,244,6972,420,5731,229,253593,554100,000,000 0 . 79 %
IBNYR5,393,5831,416,003688,614518,063341,608220,980126,67795,3148,800,841
RBNS+IBNYR60,278,15820,410,82211,193,4367,645,7684,586,3052,641,5541,355,930688,868108,800,841
Table 10. Chain-ladder reserve estimates on aggregate payments (type-1+type-2, incremental figures). The differences with the CARTs estimates are also reported.
Table 10. Chain-ladder reserve estimates on aggregate payments (type-1+type-2, incremental figures). The differences with the CARTs estimates are also reported.
ayi dy = 0 dy = 1 dy = 2 dy = 3 dy = 4 dy = 5 dy = 6 dy = 7 dy = 8 Reserve E i CL
135,699,31137,879,85712,003,3456,478,3123,033,7931,895,5771,026,086922,252497,7920
241,730,80336,146,95414,363,4544,928,8583,051,3382,913,1801,237,083899,977529,656529,656
340,033,74531,396,57113,499,5355,668,6712,719,7422,314,666856,136868,753489,8391,358,592
439,027,43938,571,56812,499,5456,084,4832,903,3442,930,9861,075,959928,216523,3672,527,541
539,143,44437,227,13211,612,0334,676,4582,897,7672,477,9891,033,956891,980502,9364,906,860
633,900,30533,987,81511,872,7165,088,1862,644,2902,268,885946,706816,711460,4967,137,087
731,820,89233,590,42710,841,7034,822,6082,526,6942,167,983904,604780,390440,01611,642,296
833,667,13732,084,52811,173,3714,865,1092,548,9612,187,090912,576787,268443,89422,918,269
939,151,37437,275,14512,987,3805,654,9652,962,7882,542,1661,060,734915,081515,96163,914,221
CL diagonal · 60,867,77225,100,07812,733,9627,374,1284,695,6282,288,0181,358,976515,961114,934,523
CL—CARTs · 589,6144,689,2561,540,526−271,640109,323−353,5353,046−172,9076,133,683
% · 1.0%23.0%13.8%−3.6%2.4%−13.4%0.2%−25.1%5.6%
Table 11. Forecast errors of CARTs and chain-ladder method on the next-year claim payments.
Table 11. Forecast errors of CARTs and chain-ladder method on the next-year claim payments.
ay: iRealized Chain-ladder(%)CART(%)
PaymentsErrorError
2 (2008)586,099 56 , 443 9.63 37 , 109 6.33
3 (2009)1,145,117 276 , 364 24.13 284 , 528 24.85
4 (2010)2,272,564 1 , 196 , 605 52.65 916 , 852