Munich chain ladder: paid and incurred developed together
munich_fit.RdThe Munich chain ladder of Quarg and Mack (2004), as R ChainLadder's
MunichChainLadder() and chainladder-python's MunichAdjustment
(docs/design/reserving-v02.md, decision 33). Paid P and incurred
I are two columns of one triangle, observed at the same cells. Each
has Mack's volume-weighted model, and each age its ratios q = sum P / sum I and q_inverse = sum I / sum P with their deviations
rho_incurred and rho_paid (an unestimable one extrapolated
log-linearly, as R does). The link-ratio residuals, regressed through
the origin on the ratio residuals, give the slopes lambda_paid and
lambda_incurred, and the projection corrects each step's factor by
lambda * sigma / rho times how far the origin's projected ratio sits
from its average, so the two ultimates come together. With both lambdas
0 the projections are the separate chain ladders; when the ratios carry
no information (incurred a fixed multiple of paid) the lambdas are 0.
A tail is one more step with the tail's factor and sigma.
Usage
munich_fit(ptr)
munich_chain_ladder(
triangle,
paid = "paid",
incurred = "incurred",
sigma_interpolation_paid = "log-linear",
sigma_interpolation_incurred = "log-linear",
tail_paid = 1,
tail_incurred = 1
)Arguments
- ptr
Internal: the Rust fit.
- triangle
A triangle holding both columns.
- paid, incurred
The paid and incurred column names.
- sigma_interpolation_paid, sigma_interpolation_incurred
How each column's unestimable sigma is filled in:
"log-linear"(the default) or"mack"(R'sest.sigmaPandest.sigmaI).- tail_paid, tail_incurred
Each column's tail, as
mack()'stail(R'stailPandtailI); none by default.
Details
R's MunichChainLadder() with its default est.sigmaP = "log-linear"
falls back to Mack's rule with a warning when the log-linear model of
sigma is poor, as on its MCLpaid and MCLincurred; prospicio does
not fall back, so give sigma_interpolation_paid = "mack" and
sigma_interpolation_incurred = "mack" to reproduce it there. The
default reproduces chainladder-python's MunichAdjustment on
Development().
The fit has per origin latest_paid, latest_incurred, latest_ratio,
ultimate_paid, ultimate_incurred, ultimate_ratio, reserve_paid
(paid ultimate minus latest paid), ibnr_incurred (incurred ultimate
minus latest incurred) and the separate chain ladders'
chain_ladder_paid and chain_ladder_incurred; the totals
total_ultimate_paid and total_ultimate_incurred; per age q,
q_inverse, rho_paid and rho_incurred; lambda_paid,
lambda_incurred, n_residuals_paid and n_residuals_incurred (the
pairs behind each lambda: fewer for a column whose sigma is 0 at a link,
whose residuals there are 0/0, as in R); and Mack's model of each column
alone as mack_paid and mack_incurred (mack_fit). Per-age values and
the lambdas need a single-segment fit: with several segments use
development_frame(), totals_frame() or segment().
as.data.frame() gives one row per segment and origin.
Examples
long <- data.frame(year = rep(2018:2021, 4:1),
age = c(12, 24, 36, 48, 12, 24, 36, 12, 24, 12),
paid = c(100, 150, 165, 170, 110, 170, 180, 120, 175, 130),
incurred = c(160, 175, 172, 171, 150, 190, 185, 200, 185, 210))
tri <- triangle(long, "year", "age", c("paid", "incurred"))
m <- munich_chain_ladder(tri)
m@ultimate_paid
#> 2018 2019 2020 2021
#> 170.0000 186.6150 211.2938 213.5615
m@ultimate_ratio
#> 2018 2019 2020 2021
#> 0.9941520 1.0145518 1.1699227 0.9944554
as.data.frame(m)
#> origin latest_paid latest_incurred latest_ratio ultimate_paid
#> 1 2018 170 171 0.9941520 170.0000
#> 2 2019 180 185 0.9729730 186.6150
#> 3 2020 175 185 0.9459459 211.2938
#> 4 2021 130 210 0.6190476 213.5615
#> ultimate_incurred ultimate_ratio reserve_paid ibnr_incurred chain_ladder_paid
#> 1 171.0000 0.9941520 0.000000 0.000000 170.0000
#> 2 183.9384 1.0145518 6.615024 -1.061614 185.4545
#> 3 180.6049 1.1699227 36.293772 -4.395099 194.3892
#> 4 214.7523 0.9944554 83.561536 4.752258 216.6051
#> chain_ladder_incurred
#> 1 171.0000
#> 2 183.9244
#> 3 179.8932
#> 4 220.2190