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

Installation

You can install the stable version from CRAN:

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

To install the current development version from github you can use the devtools package:

To install ChainLadder run:

library(devtools)
install_github("mages/ChainLadder", dependencies = TRUE)

Usage

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.12

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Markus Gesmann

Last Published

January 5th, 2021

Functions in ChainLadder (0.2.12)

ClarkLDF

Clark LDF method
GenIns

Run off triangle of claims data.
ABC

Run off triangle of accumulated claims data
CDR

One year claims development result
BS.paid.adj

Berquist-Sherman Paid Claim Development Adjustment
BootChainLadder

Bootstrap-Chain-Ladder Model
ChainLadder-package

Methods and Models for Claims Reserving
ClarkCapeCod

Clark Cape Cod method
CLFMdelta

Find "selection consistent" values of delta
AutoBI

Run off triangles of accumulated claim data
LRfunction

Calculate the Link Ratio Function
M3IR5

Run off triangle of claims data
MW2008

Run-off claims triangle
MCLpaid

Run off triangles of accumulated paid and incurred claims data.
MultiChainLadderSummary-class

Class "MultiChainLadderSummary"
MultiChainLadderMse-class

Class "MultiChainLadderMse"
Mse-methods

Methods for Generic Function Mse
MedMal

Run off triangles of accumulated claim data
MultiChainLadder-class

Class "MultiChainLadder" of Multivariate Chain-Ladder Results
Mortgage

Run off triangle of accumulated claims data
PaidIncurredChain

PaidIncurredChain
MackChainLadder

Mack Chain-Ladder Model
QuantileIFRS17

Quantile estimation for the IFRS 17 Risk Adjustment
as.LongTriangle

Convert Triangle from wide to long
USAA triangle

Example paid and incurred triangle data from CAS web site.
MW2014

Run-off claims triangle
MunichChainLadder

Munich-chain-ladder Model
NullNum-class

Class "NullNum", "NullChar" and "NullList"
triangle S3 Methods

Generic functions for triangles
UKMotor

UK motor claims triangle
Join2Fits

Join Two Fitted MultiChainLadder Models
inflateTriangle

Inflate a Triangle based on an Inflation Rate
Table65

Functions to Reproduce Clark's Tables
RAA

Run off triangle of accumulated claims data
glmReserve

GLM-based Reserving Model
liab

Run off triangle of accumulated claim data
plot-MultiChainLadder

Methods for Function plot
ata

Calculate Age-to-Age Factors
auto

Run off triangle of accumulated claim data
getLatestCumulative

Triangle information for most recent calendar period.
JoinFitMse

Join Model Fit and Mse Estimation
dfCorTest

Testing for Correlations between Subsequent Development Factors
plot.BootChainLadder

Plot method for a BootChainLadder object
plot.MunichChainLadder

Plot method for a MunichChainLadder object
plot.dfCorTest

Plot method for a dfCorTest object
predict.TriangleModel

Prediction of a claims triangle
plot.clark

Plot Clark method residuals
plot.cyEffTest

Plot method for a cyEffTest object
plot.checkTriangleInflation

Plot method for a checkTriangleInflation object
tweedieReserve

Tweedie Stochastic Reserving Model
plot.MackChainLadder

Plot method for a MackChainLadder object
Cumulative and incremental triangles

Cumulative and incremental triangles
summary.ata

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

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

Methods for BootChainLadder objects
print.checkTriangleInflation

Print function for a checkTriangleInflation object
print.ata

Print Age-to-Age factors
summary.MackChainLadder

Summary and print function for Mack-chain-ladder
print.dfCorTest

Print function for a dfCorTest object
residuals.MackChainLadder

Extract residuals of a MackChainLadder model
quantile.MackChainLadder

quantile function for Mack-chain-ladder
MultiChainLadderFit-class

Class "MultiChainLadderFit", "MCLFit" and "GMCLFit"
chainladder

Estimate age-to-age factors
residCov

Generic function for residCov and residCor
MultiChainLadder

Multivariate Chain-Ladder Models
qpaid

Quarterly run off triangle of accumulated claims data
summary-methods

Methods for Function summary
summary.cyEffTest

Summary function for a cyEffTest object
summary.checkTriangleInflation

Summary function for a checkTriangleInflation object
checkTriangleInflation

Check Y-o-Y Triangle Inflation Rates
summary.clark

Summary methods for Clark objects
coef.ChainLadder

Extract residuals of a ChainLadder model
cyEffTest

Testing for Calendar Year Effect
tweedieReserve methods

Reserve Risk Capital Report
triangles-class

S4 Class "triangles"
print.clark

Print results of Clark methods
print.cyEffTest

Print function for a cyEffTest object
vcov.clark

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

Summary function for a dfCorTest object