Learn R Programming

⚠️There's a newer version (0.2.20) of this package.Take me there.

ChainLadder

ChainLadder is an R package providing methods and models which are typically used in insurance claims reserving, including:

  • Mack chain-ladder, Munich chain-ladder and Bootstrap models
  • General multivariate chain ladder-models
  • Loss development factor fitting and Cape Cod models
  • Generalized linear models
  • One year claims development result functions
  • Utility functions to:
    • convert tables into triangles and triangles into tables
    • convert cumulative into incremental and incremental into cumulative triangles
    • visualise triangles

For a Python claims reserving package visit chainladder-python.

Installation

You can install the stable version from CRAN:

install.packages('ChainLadder', dependencies = TRUE)

You can also install the package via the Github repository:

# install.package("remotes") # In case you have not installed it.
remotes::install_github("mages/ChainLadder", dependencies = TRUE)

Get started

library(ChainLadder)
?ChainLadder
demo(ChainLadder)

See the ChainLadder package vignette for more details.

Citation

To cite package 'ChainLadder' in publications see the output of:

citation(package="ChainLadder")

See also:

Markus Gesmann. Claims Reserving and IBNR. Computational Actuarial Science with R. 2014. Chapman and Hall/CRC

License

This package is free and open source software, licensed under GPL.

ChainLadder documentation is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Copy Link

Version

Install

install.packages('ChainLadder')

Monthly Downloads

4,706

Version

0.2.17

License

GPL (>= 2)

Maintainer

Markus Gesmann

Last Published

January 12th, 2023

Functions in ChainLadder (0.2.17)

BootChainLadder

Bootstrap-Chain-Ladder Model
ABC

Run off triangle of accumulated claims data
ChainLadder-package

Methods and Models for Claims Reserving
CDR

One year claims development result
BS.paid.adj

Berquist-Sherman Paid Claim Development Adjustment
ClarkCapeCod

Clark Cape Cod method
ClarkLDF

Clark LDF method
GenIns

Run off triangle of claims data.
CLFMdelta

Find "selection consistent" values of delta
AutoBI

Run off triangles of accumulated claim data
MCLpaid

Run off triangles of accumulated paid and incurred claims data.
MedMal

Run off triangles of accumulated claim data
Join2Fits

Join Two Fitted MultiChainLadder Models
JoinFitMse

Join Model Fit and Mse Estimation
LRfunction

Calculate the Link Ratio Function
Mortgage

Run off triangle of accumulated claims data
MW2014

Run-off claims triangle
MackChainLadder

Mack Chain-Ladder Model
M3IR5

Run off triangle of claims data
MW2008

Run-off claims triangle
MunichChainLadder

Munich-chain-ladder Model
NullNum-class

Class "NullNum", "NullChar" and "NullList"
Mse-methods

Methods for Generic Function Mse
QuantileIFRS17

Quantile estimation for the IFRS 17 Risk Adjustment
PaidIncurredChain

PaidIncurredChain
MultiChainLadder

Multivariate Chain-Ladder Models
MultiChainLadder-class

Class "MultiChainLadder" of Multivariate Chain-Ladder Results
MultiChainLadderMse-class

Class "MultiChainLadderMse"
MultiChainLadderFit-class

Class "MultiChainLadderFit", "MCLFit" and "GMCLFit"
RAA

Run off triangle of accumulated claims data
UKMotor

UK motor claims triangle
ata

Calculate Age-to-Age Factors
chainladder

Estimate age-to-age factors
triangle S3 Methods

Generic functions for triangles
checkTriangleInflation

Check Y-o-Y Triangle Inflation Rates
Table65

Functions to Reproduce Clark's Tables
auto

Run off triangle of accumulated claim data
as.LongTriangle

Convert Triangle from wide to long
USAA triangle

Example paid and incurred triangle data from CAS web site.
MultiChainLadderSummary-class

Class "MultiChainLadderSummary"
liab

Run off triangle of accumulated claim data
dfCorTest

Testing for Correlations between Subsequent Development Factors
coef.ChainLadder

Extract residuals of a ChainLadder model
glmReserve

GLM-based Reserving Model
inflateTriangle

Inflate a Triangle based on an Inflation Rate
print.clark

Print results of Clark methods
plot.BootChainLadder

Plot method for a BootChainLadder object
getLatestCumulative

Triangle information for most recent calendar period.
print.cyEffTest

Print function for a cyEffTest object
print.ata

Print Age-to-Age factors
cyEffTest

Testing for Calendar Year Effect
print.checkTriangleInflation

Print function for a checkTriangleInflation object
plot.cyEffTest

Plot method for a cyEffTest object
plot.clark

Plot Clark method residuals
plot.MackChainLadder

Plot method for a MackChainLadder object
print.dfCorTest

Print function for a dfCorTest object
plot-MultiChainLadder

Methods for Function plot
plot.dfCorTest

Plot method for a dfCorTest object
qpaid

Quarterly run off triangle of accumulated claims data
residuals.MackChainLadder

Extract residuals of a MackChainLadder model
summary-methods

Methods for Function summary
plot.MunichChainLadder

Plot method for a MunichChainLadder object
Cumulative and incremental triangles

Cumulative and incremental triangles
tweedieReserve

Tweedie Stochastic Reserving Model
tweedieReserve methods

Reserve Risk Capital Report
quantile.MackChainLadder

quantile function for Mack-chain-ladder
triangles-class

S4 Class "triangles"
plot.checkTriangleInflation

Plot method for a checkTriangleInflation object
residCov

Generic function for residCov and residCor
summary.checkTriangleInflation

Summary function for a checkTriangleInflation object
predict.TriangleModel

Prediction of a claims triangle
summary.clark

Summary methods for Clark objects
vcov.clark

Covariance Matrix of Parameter Estimates -- Clark's methods
summary.MackChainLadder

Summary and print function for Mack-chain-ladder
summary.BootChainLadder

Methods for BootChainLadder objects
summary.MunichChainLadder

Summary and print function for Munich-chain-ladder
summary.cyEffTest

Summary function for a cyEffTest object
summary.ata

Summary method for object of class 'ata'
summary.dfCorTest

Summary function for a dfCorTest object