Learn R Programming

ChainLadder (version 0.1.2-8)

BootChainLadder: Bootstrap-Chain-Ladder Model

Description

The BootChainLadder procedure provides a predictive distribution of reserves for a cumulative claims development triangle.

Usage

BootChainLadder(Triangle, R = 999, process.distr=c("gamma", "od.pois"))

Arguments

Triangle
cumulative claims triangle. A (mxn)-matrix $C_{ik}$ which is filled for $k \leq n+1-i; i=1,\ldots,m; m\geq n$, see qpaid for how to use (mxn)-development triangles with m
R
the number of bootstrap replicates.
process.distr
character string indicating which process distribution to be assumed. One of "gamma" (default), or "od.pois" (overdispersed Poisson), can be abbreviated

Value

  • BootChainLadder gives a list with the following elements back:
  • callmatched call
  • Triangleinput triangle
  • fchain-ladder factors
  • simClaimsarray of dimension c(m,n,R) with the simulated claims
  • IBNR.ByOriginarray of dimension c(m,1,R) with the modeled IBNRs by origin period
  • IBNR.Trianglesarray of dimension c(m,n,R) with the modeled IBNR development triangles
  • IBNR.Totalsvector of R samples of the total IBNRs
  • ChainLadder.Residualsadjusted Pearson chain-ladder residuals
  • process.distrassumed process distribution
  • Rnumber of bootstraps

Details

The BootChainLadder function uses a two-stage bootstrapping/simulation approach. In the first stage an ordinary chain-ladder methods is applied to the cumulative claims triangle. From this we calculate the scaled Pearson residuals which we bootstrap R times to forecast future incremental claims payments via the standard chain-ladder method. In the second stage we simulate the process error with the bootstrap value as the mean and using the process distribution assumed. The set of reserves obtained in this way forms the predictive distribution, from which summary statistics such as mean, prediction error or quantiles can be derived.

References

England, PD and Verrall, RJ. Stochastic Claims Reserving in General Insurance (with discussion), British Actuarial Journal 8, III. 2002 Barnett and Zehnwirth. The need for diagnostic assessment of bootstrap predictive models, Insureware technical report. 2007

See Also

See also summary.BootChainLadder, MackChainLadder

Examples

Run this code
# See as well the example in section 8 of England & Verrall's paper on page 55.

B <- BootChainLadder(RAA, R=999, process.distr="gamma")
B
plot(B)
# Compare to MackChainLadder
MackChainLadder(RAA)
quantile(B, c(0.75,0.95,0.99, 0.995))

# fit a distribution to the IBNR
library(MASS)
plot(ecdf(B$IBNR.Totals))
# fit a log-normal distribution 
fit <- fitdistr(B$IBNR.Totals[B$IBNR.Totals>0], "lognormal")
fit
curve(plnorm(x,fit$estimate["meanlog"], fit$estimate["sdlog"]), col="red", add=TRUE)

# See as well the ABC example in the Barnett and Zehnwirth paper
A <- BootChainLadder(ABC, R=999, process.distr="gamma")
A
plot(A, log=TRUE)

Run the code above in your browser using DataLab