Friedland's basic reserving techniques, reproduced
reserving-friedland.RmdRendered from docs/guides/reserving-friedland.qmd.
The code runs each time the site is built, so the output below is
current.
Jacqueline Friedland’s Estimating Unpaid Claims Using Basic Techniques (Casualty Actuarial Society, version 3, 2010) applies each technique to the same data sets, so each chapter feeds the next: the chapter 7 factors become the reporting pattern of chapters 9 and 10, and the chapter 8 expected claims become the prior of chapter 9. The tables put the book’s figures next to prospicio’s.
This is the R twin of the Python guide reserving-friedland.md,
with the same sections, data and numbers. The R package calls the same
Rust code as the Python package, so every figure equals the figure in
the Python guide.
Exhibit numbers restart in every chapter. Money is in thousands of
dollars. To choose a method for your own data, read reserving-methods.md.
R/prospicio/tests/test-guides.R runs the chunks in
sequence and requires each chunk to print exactly the text that follows
it. To render the page, install the R package
(remotes::install_github, see
R/prospicio/bootstrap.R) and run
quarto render docs/guides/reserving-friedland.qmd.
1. The two data sets
- U.S. Industry Auto: reported and paid claims and earned premium of the whole U.S. private passenger auto industry, accident years 1998 to 2007, valued at December 31, 2007. The data is large and stable, so the methods should agree.
- XYZ Insurer, Auto BI: the bodily injury book of a small insurer, accident years 1998 to 2008, valued at December 31, 2008. Its case reserving, settlement speed and a tort reform all changed, so the methods disagree. The data has only calendar years 2000 to 2008, so the two oldest rows start at 36 and 24 months.
The triangles are from chapter 7, Exhibits I and II (sheets 1 and 2), the premiums from chapter 8, Exhibits II and III:
library(prospicio)
# Thousands separators, as Python's {:,.0f}.
comma <- function(x, width = 1) {
formatC(round(x), format = "f", digits = 0, big.mark = ",", width = width)
}
f3 <- function(x) paste(sprintf("%.3f", x), collapse = " ")
US_YEARS <- 1998:2007
US_REPORTED <- list(
c(37017487, 43169009, 45568919, 46784558, 47337318, 47533264, 47634419, 47689655, 47724678, 47742304),
c(38954484, 46045718, 48882924, 50219672, 50729292, 50926779, 51069285, 51163540, 51185767),
c(41155776, 49371478, 52358476, 53780322, 54303086, 54582950, 54742188, 54837929),
c(42394069, 50584112, 53704296, 55150118, 55895583, 56156727, 56299562),
c(44755243, 52971643, 56102312, 57703851, 58363564, 58592712),
c(45163102, 52497731, 55468551, 57015411, 57565344),
c(45417309, 52640322, 55553673, 56976657),
c(46360869, 53790061, 56786410),
c(46582684, 54641339),
c(48853563)
)
US_PAID <- list(
c(18539254, 33231039, 40062008, 43892039, 45896535, 46765422, 47221322, 47446877, 47555456, 47644187),
c(20410193, 36090684, 43259402, 47159241, 49208532, 50162043, 50625757, 50878808, 51000534),
c(22120843, 38976014, 46389282, 50562385, 52735280, 53740101, 54284334, 54533225),
c(22992259, 40096198, 47767835, 52093916, 54363436, 55378801, 55878421),
c(24092782, 41795313, 49903803, 54352884, 56754376, 57807215),
c(24084451, 41399612, 49070332, 53584201, 55930654),
c(24369770, 41489863, 49236678, 53774672),
c(25100697, 42702229, 50644994),
c(25608776, 43606497),
c(27229969)
)
US_PREMIUM <- c(68574209, 68544981, 68907977, 72544955, 79228887,
86643542, 91763523, 94115312, 95272279, 95176240)
XYZ_YEARS <- 1998:2008
XYZ_FIRST_AGE <- c(36, 24, rep(12, 9)) # months at the first observed cell of each row
XYZ_REPORTED <- list(
c(11171, 12380, 13216, 14067, 14688, 16366, 16163, 15835, 15822),
c(13255, 16405, 19639, 22473, 23764, 25094, 24795, 25071, 25107),
c(15676, 18749, 21900, 27144, 29488, 34458, 36949, 37505, 37246),
c(11827, 16004, 21022, 26578, 34205, 37136, 38541, 38798),
c(12811, 20370, 26656, 37667, 44414, 48701, 48169),
c(9651, 16995, 30354, 40594, 44231, 44373),
c(16995, 40180, 58866, 71707, 70288),
c(28674, 47432, 70340, 70655),
c(27066, 46783, 48804),
c(19477, 31732),
c(18632)
)
XYZ_PAID <- list(
c(6309, 8521, 10082, 11620, 13242, 14419, 15311, 15764, 15822),
c(4666, 9861, 13971, 18127, 22032, 23511, 24146, 24592, 24817),
c(1302, 6513, 12139, 17828, 24030, 28853, 33222, 35902, 36782),
c(1539, 5952, 12319, 18609, 24387, 31090, 37070, 38519),
c(2318, 7932, 13822, 22095, 31945, 40629, 44437),
c(1743, 6240, 12683, 22892, 34505, 39320),
c(2221, 9898, 25950, 43439, 52811),
c(3043, 12219, 27073, 40026),
c(3531, 11778, 22819),
c(3529, 11865),
c(3409)
)
XYZ_PREMIUM <- c(20000, 31500, 45000, 50000, 61183, 69175, 99322, 138151, 107578, 62438, 47797)
# A triangle from rows of cumulative values; exposures are repeated on every
# cell.
make_triangle <- function(years, columns, exposures = list(),
first_age = rep(12, length(years))) {
rows <- columns[[1]]
long <- NULL
for (i in seq_along(years)) {
for (k in seq_along(rows[[i]])) {
months <- first_age[i] + 12 * (k - 1)
cell <- data.frame(origin = years[i], age = months)
for (name in names(columns)) cell[[name]] <- columns[[name]][[i]][k]
for (name in names(exposures)) cell[[name]] <- exposures[[name]][i]
long <- rbind(long, cell)
}
}
triangle(long, "origin", "age", c(names(columns), names(exposures)))
}
us <- make_triangle(US_YEARS, list(reported = US_REPORTED, paid = US_PAID),
list(premium = US_PREMIUM))
xyz <- make_triangle(XYZ_YEARS, list(reported = XYZ_REPORTED, paid = XYZ_PAID),
list(premium = XYZ_PREMIUM), first_age = XYZ_FIRST_AGE)
latest <- function(tri, column) latest_diagonal(tri)[1, column, ]
cat("U.S. latest: reported", comma(sum(latest(us, "reported"))), "paid", comma(sum(latest(us, "paid"))),
"premium", comma(sum(latest(us, "premium"))), "\n")## U.S. latest: reported 543,481,587 paid 498,050,368 premium 820,771,905
print(xyz@values[1, "reported", 1:3, 1:5])## development
## origin 12 24 36 48 60
## 1998 NA NA 11171 12380 13216
## 1999 NA 13255 16405 19639 22473
## 2000 15676 18749 21900 27144 29488
The XYZ rows for 1998 and 1999 start with unobserved cells
(NA). They stay missing, not zero, so no factor uses
them.
2. The development technique (chapter 7)
Age-to-age factors and their averages
A link ratio is a cell divided by the cell before it in the same row. Friedland averages the latest few accident years of each column and selects one factor for each age: simple averages of the latest 5 and 3, a medial average of the latest 5 (without the highest and lowest), volume-weighted averages of the latest 5 and 3, and a geometric average of the latest 4.
chain_ladder() takes each as an argument:
-
averageselects the mean ("volume","simple","regression"or"geometric"). -
n_periods = nkeeps only the link ratios that start in the latest n calendar diagonals (the latest n accident years at each age). -
drop_highanddrop_lowremove the highest and lowest of those. A medial average is a simple average with one of each removed.
n_links counts the link ratios in each factor’s
average:
library(gt)
fits <- list(
"simple, latest 5" = chain_ladder(us, "reported", average = "simple", n_periods = 5),
"simple, latest 3" = chain_ladder(us, "reported", average = "simple", n_periods = 3),
"medial, latest 5x1" = chain_ladder(us, "reported", average = "simple", n_periods = 5,
drop_high = 1, drop_low = 1),
"volume, latest 5" = chain_ladder(us, "reported", n_periods = 5),
"volume, latest 3" = chain_ladder(us, "reported", n_periods = 3),
"geometric, latest 4" = chain_ladder(us, "reported", average = "geometric", n_periods = 4)
)
# A data frame with one row per named vector in `rows` and one column per age.
age_table <- function(rows, columns, first = "average") {
frame <- data.frame(names(rows), do.call(rbind, unname(rows)), check.names = FALSE)
names(frame) <- c(first, columns)
frame
}
LINKS <- paste0(head(us@development, -1), "-", head(us@development, -1) + 12)
factors <- age_table(c(lapply(fits, function(f) f@ldf),
list("links in the medial average" = fits[["medial, latest 5x1"]]@n_links)), LINKS)
gt(factors, rowname_col = "average") |>
tab_header("U.S. Industry Auto, reported: age-to-age factors",
"Months; the last row counts the link ratios in the medial average") |>
fmt_number(columns = all_of(LINKS), rows = 1:6, decimals = 3) |>
fmt_integer(columns = all_of(LINKS), rows = 7)| U.S. Industry Auto, reported: age-to-age factors | |||||||||
| Months; the last row counts the link ratios in the medial average | |||||||||
| 12-24 | 24-36 | 36-48 | 48-60 | 60-72 | 72-84 | 84-96 | 96-108 | 108-120 | |
|---|---|---|---|---|---|---|---|---|---|
| simple, latest 5 | 1.168 | 1.058 | 1.027 | 1.011 | 1.004 | 1.003 | 1.002 | 1.001 | 1.000 |
| simple, latest 3 | 1.164 | 1.056 | 1.027 | 1.012 | 1.005 | 1.003 | 1.002 | 1.001 | 1.000 |
| medial, latest 5x1 | 1.165 | 1.057 | 1.027 | 1.010 | 1.004 | 1.003 | 1.002 | 1.001 | 1.000 |
| volume, latest 5 | 1.168 | 1.058 | 1.027 | 1.011 | 1.004 | 1.003 | 1.002 | 1.001 | 1.000 |
| volume, latest 3 | 1.164 | 1.056 | 1.027 | 1.012 | 1.005 | 1.003 | 1.002 | 1.001 | 1.000 |
| geometric, latest 4 | 1.164 | 1.057 | 1.027 | 1.011 | 1.004 | 1.003 | 1.002 | 1.001 | 1.000 |
| links in the medial average | 3 | 3 | 3 | 3 | 3 | 2 | 1 | 2 | 1 |
Each factor row equals the book’s chapter 7, Exhibit I, sheet 1, part 3, to three decimals. The paid averages on sheet 2 agree.
library(ggplot2, exclude = "layer") # keeps prospicio's layer()
link <- do.call(rbind, lapply(seq_along(US_REPORTED), function(i) {
row <- US_REPORTED[[i]]
n <- length(row) - 1
if (n < 1) return(NULL)
data.frame(year = US_YEARS[i], age = 12 * seq_len(n),
pct = 100 * (row[-1] / row[-length(row)] - 1))
}))
selected <- data.frame(age = 12 * seq_along(fits[["volume, latest 3"]]@ldf),
pct = 100 * (fits[["volume, latest 3"]]@ldf - 1),
what = "volume, latest 3")
ggplot() +
geom_line(aes(age, pct, group = year, linetype = "one accident year"), data = link,
colour = "grey75") +
geom_line(aes(age, pct, colour = what), data = selected) +
geom_point(aes(age, pct, colour = what), data = selected, size = 2) +
scale_y_log10() +
scale_x_continuous(breaks = selected$age) +
labs(x = "age at the start of the link, months", y = "link ratio minus 1, % (log scale)",
colour = NULL, linetype = NULL,
title = "U.S. Industry Auto, reported: link ratios and the latest-3 average") +
theme(legend.position = "top")prospicio follows the book’s two conventions:
- When fewer years exist, “latest 5” uses all of them.
- The medial average of two values is their simple average, and of one value the value itself. prospicio skips a drop that leaves no link ratio.
In the last row of the first table, 3 of the five link ratios at 12-24 remain, 2 of the four at 72-84 and 1 of the three at 84-96. The two at 96-108 and the one at 108-120 all remain.
The book does not use all-year averages. This table compares them with the latest-3 average:
recent <- age_table(list(
"volume, latest 3" = chain_ladder(us, "reported", n_periods = 3)@ldf,
"volume, all years" = chain_ladder(us, "reported")@ldf,
"simple, all years" = chain_ladder(us, "reported", average = "simple")@ldf
), LINKS)
gt(recent, rowname_col = "average") |>
tab_header("U.S. Industry Auto, reported: latest 3 against all years", "Age-to-age factors, months") |>
fmt_number(columns = all_of(LINKS), decimals = 3)| U.S. Industry Auto, reported: latest 3 against all years | |||||||||
| Age-to-age factors, months | |||||||||
| 12-24 | 24-36 | 36-48 | 48-60 | 60-72 | 72-84 | 84-96 | 96-108 | 108-120 | |
|---|---|---|---|---|---|---|---|---|---|
| volume, latest 3 | 1.164 | 1.056 | 1.027 | 1.012 | 1.005 | 1.003 | 1.002 | 1.001 | 1.000 |
| volume, all years | 1.175 | 1.058 | 1.027 | 1.011 | 1.004 | 1.003 | 1.002 | 1.001 | 1.000 |
| simple, all years | 1.175 | 1.058 | 1.027 | 1.011 | 1.004 | 1.003 | 1.002 | 1.001 | 1.000 |
The all-year factor at 12-24 (1.175) is higher than the book’s 1.164 because the early accident years developed more in their first year.
Selected factors, factors to ultimate, and rounding
Friedland selects the latest-3 averages rounded to three decimals,
with no reported tail and a paid tail of 1.002. Their product is the
factor to ultimate (CDF), which she rounds to three decimals before she
applies it to the latest diagonal. Pass the factors as ldf
(a vector named by age) with ldf_kind = "ldf", and the tail
as tail:
AGES <- us@development
SEL_REPORTED <- c(1.164, 1.056, 1.027, 1.012, 1.005, 1.003, 1.002, 1.001, 1.000)
SEL_PAID <- c(1.702, 1.186, 1.091, 1.044, 1.019, 1.009, 1.005, 1.002, 1.002)
named <- function(values, ages = AGES) stats::setNames(values, ages[seq_along(values)])
dev_r <- chain_ladder(us, "reported", ldf = named(SEL_REPORTED), ldf_kind = "ldf")
dev_p <- chain_ladder(us, "paid", ldf = named(SEL_PAID), ldf_kind = "ldf", tail = 1.002)
cdfs <- age_table(list(reported = dev_r@cdf, paid = dev_p@cdf), as.character(AGES), "claims")
gt(cdfs, rowname_col = "claims") |>
tab_header("U.S. Industry Auto: factors to ultimate from the selected factors", "CDF by age in months") |>
fmt_number(columns = all_of(as.character(AGES)), decimals = 5)| U.S. Industry Auto: factors to ultimate from the selected factors | ||||||||||
| CDF by age in months | ||||||||||
| 12 | 24 | 36 | 48 | 60 | 72 | 84 | 96 | 108 | 120 | |
|---|---|---|---|---|---|---|---|---|---|---|
| reported | 1.29163 | 1.10964 | 1.05080 | 1.02317 | 1.01104 | 1.00601 | 1.00300 | 1.00100 | 1.00000 | 1.00000 |
| paid | 2.39003 | 1.40425 | 1.18402 | 1.08526 | 1.03952 | 1.02014 | 1.01104 | 1.00601 | 1.00400 | 1.00200 |
The totals differ from the book’s:
# prospicio against the book, one row per measure, each at its own decimals.
vs_book <- function(measure, mine, book, decimals, title, subtitle = NULL) {
frame <- data.frame(measure = measure, prospicio = mine, book = book, difference = mine - book)
table <- gt(frame, rowname_col = "measure") |> tab_header(title, subtitle)
for (k in seq_along(measure)) {
table <- fmt_number(table, columns = c(prospicio, book, difference), rows = k,
decimals = rep_len(decimals, length(measure))[k])
}
sub_missing(table, missing_text = "")
}
vs_book(c("reported", "paid"), c(sum(dev_r@ultimate), sum(dev_p@ultimate)),
c(569172456, 572041099), 0,
"U.S. Industry Auto: total ultimate from the unrounded CDFs", "Thousands of dollars")| U.S. Industry Auto: total ultimate from the unrounded CDFs | |||
| Thousands of dollars | |||
| prospicio | book | difference | |
|---|---|---|---|
| reported | 569,136,323 | 569,172,456 | −36,133 |
| paid | 572,052,982 | 572,041,099 | 11,883 |
The cause is the rounding of the CDF: the reported factors multiply
to 1.29163 from 12 months, but the book uses 1.292. Pass the book’s
rounded CDFs with ldf_kind = "cdf". A pattern that reaches
the oldest age with no tail keeps its last value as the
tail, so the paid CDF of 1.002 at 120 months is the tail:
CDF_REPORTED <- c(1.292, 1.110, 1.051, 1.023, 1.011, 1.006, 1.003, 1.001, 1.000, 1.000)
CDF_PAID <- c(2.390, 1.404, 1.184, 1.085, 1.040, 1.020, 1.011, 1.006, 1.004, 1.002)
US_CDF <- list(reported = named(CDF_REPORTED), paid = named(CDF_PAID))
dev_r <- chain_ladder(us, "reported", ldf = US_CDF$reported, ldf_kind = "cdf")
dev_p <- chain_ladder(us, "paid", ldf = US_CDF$paid, ldf_kind = "cdf")
cat("paid tail", dev_p@pattern_tail, "\n")## paid tail 1.002
BOOK_DEV <- list( # chapter 7, Exhibit I, sheet 3, columns (7) and (8)
reported = c(47742304, 51185767, 54892767, 56468461, 58944268,
58198563, 58287120, 59682517, 60651886, 63118803),
paid = c(47739475, 51204536, 54860424, 56493084, 58963359,
58167880, 58345519, 59963673, 61223522, 65079626)
)
# prospicio's ultimates beside the book's; columns: name -> list(ultimates, book, book total).
compare <- function(years, columns, title, subtitle = NULL, ratio = NULL) {
frame <- data.frame(year = c(as.character(years), "all"))
if (!is.null(ratio)) frame$ratio <- c(ratio, NA)
labels <- list()
for (name in names(columns)) {
column <- columns[[name]]
mine <- paste0(name, "_ours")
book <- paste0(name, "_book")
frame[[mine]] <- c(column[[1]], sum(column[[1]]))
frame[[book]] <- c(column[[2]], column[[3]])
labels[[mine]] <- "prospicio"
labels[[book]] <- "book"
}
table <- gt(frame, rowname_col = "year") |>
tab_header(title, subtitle) |>
fmt_integer(columns = all_of(names(labels)))
if (!is.null(ratio)) {
table <- table |> fmt_number(columns = ratio, decimals = 3) |>
cols_label(ratio = "expected claim ratio")
}
for (name in names(columns)) {
table <- tab_spanner(table, name, columns = all_of(paste0(name, c("_ours", "_book"))))
}
table |> cols_label(.list = labels) |> sub_missing(missing_text = "")
}
compare(US_YEARS, list(reported = list(dev_r@ultimate, BOOK_DEV$reported, 569172456),
paid = list(dev_p@ultimate, BOOK_DEV$paid, 572041099)),
"U.S. Industry Auto: ultimate by accident year", "Development technique, thousands of dollars")| U.S. Industry Auto: ultimate by accident year | ||||
| Development technique, thousands of dollars | ||||
|
reported
|
paid
|
|||
|---|---|---|---|---|
| prospicio | book | prospicio | book | |
| 1998 | 47,742,304 | 47,742,304 | 47,739,475 | 47,739,475 |
| 1999 | 51,185,767 | 51,185,767 | 51,204,536 | 51,204,536 |
| 2000 | 54,892,767 | 54,892,767 | 54,860,424 | 54,860,424 |
| 2001 | 56,468,461 | 56,468,461 | 56,493,084 | 56,493,084 |
| 2002 | 58,944,268 | 58,944,268 | 58,963,359 | 58,963,359 |
| 2003 | 58,198,563 | 58,198,563 | 58,167,880 | 58,167,880 |
| 2004 | 58,287,120 | 58,287,120 | 58,345,519 | 58,345,519 |
| 2005 | 59,682,517 | 59,682,517 | 59,963,673 | 59,963,673 |
| 2006 | 60,651,886 | 60,651,886 | 61,223,522 | 61,223,522 |
| 2007 | 63,118,803 | 63,118,803 | 65,079,626 | 65,079,626 |
| all | 569,172,456 | 569,172,456 | 572,041,099 | 572,041,099 |
Each ultimate now equals sheet 3. On sheet 4, IBNR is ultimate less
reported claims and total unpaid is ultimate less paid claims.
prospicio’s reserve is ultimate less the latest value of
the fitted column: IBNR on the reported triangle, total unpaid on the
paid one:
unpaid <- function(ultimate, tri = us) {
c(sum(ultimate) - sum(latest(tri, "reported")), sum(ultimate) - sum(latest(tri, "paid")))
}
vs_book(c("reported: IBNR", "reported: total unpaid", "paid: IBNR", "paid: total unpaid", "paid: reserve"),
c(unpaid(dev_r@ultimate), unpaid(dev_p@ultimate), dev_p@total_reserve),
c(25690869, 71122088, 28559512, 73990731, 73990731), 0,
"U.S. Industry Auto: unpaid claims, development technique", "Thousands of dollars")| U.S. Industry Auto: unpaid claims, development technique | |||
| Thousands of dollars | |||
| prospicio | book | difference | |
|---|---|---|---|
| reported: IBNR | 25,690,869 | 25,690,869 | 0 |
| reported: total unpaid | 71,122,088 | 71,122,088 | 0 |
| paid: IBNR | 28,559,512 | 28,559,512 | 0 |
| paid: total unpaid | 73,990,731 | 73,990,731 | 0 |
| paid: reserve | 73,990,731 | 73,990,731 | 0 |
The tail factor
Friedland’s paid tail of 1.002 is a judgment: it sets the paid development after 120 months equal to the claims still open in the reported pattern (at 1.000). A fitted exponential curve gives a factor near hers:
curve <- chain_ladder(us, "paid", tail = tail_curve())
cat(sprintf("fitted tail %.4f, book's selection 1.002\n", curve@tail))## fitted tail 1.0011, book's selection 1.002
The early factors pull a curve fitted to all ages. Use it as a second opinion beside a benchmark, as the book does, not as the answer.
XYZ Insurer: unstable factors and a pattern below 1
For XYZ, Friedland selects the volume-weighted average of the latest
2 years at every age, with no reported tail and a paid tail of 1.010.
n_periods = 2 gives her selected factors (chapter 7,
Exhibit II, sheets 1 and 2, part 4):
XYZ_LINKS <- paste0(head(xyz@development, -1), "-", head(xyz@development, -1) + 12)
xfactors <- age_table(list(reported = chain_ladder(xyz, "reported", n_periods = 2)@ldf,
paid = chain_ladder(xyz, "paid", n_periods = 2)@ldf), XYZ_LINKS, "claims")
gt(xfactors, rowname_col = "claims") |>
tab_header("XYZ Insurer: volume-weighted factors, latest 2 years", "Age-to-age factors, months") |>
fmt_number(columns = all_of(XYZ_LINKS), decimals = 3)| XYZ Insurer: volume-weighted factors, latest 2 years | ||||||||||
| Age-to-age factors, months | ||||||||||
| 12-24 | 24-36 | 36-48 | 48-60 | 60-72 | 72-84 | 84-96 | 96-108 | 108-120 | 120-132 | |
|---|---|---|---|---|---|---|---|---|---|---|
| reported | 1.687 | 1.265 | 1.102 | 1.020 | 1.050 | 1.010 | 1.011 | 1.000 | 0.993 | 0.999 |
| paid | 3.349 | 2.079 | 1.574 | 1.316 | 1.203 | 1.136 | 1.059 | 1.022 | 1.017 | 1.004 |
The book prints the same factors. Reported claims fall after 96
months because the insurer set case reserves too high and then released
them, so the reported CDFs at 96 and 108 months are 0.992, below 1. A
pattern with ldf_kind = "cdf" accepts any positive CDFs, so
the book’s rounded CDFs go in directly:
XYZ_AGES <- xyz@development
CDF_XYZ_REPORTED <- c(2.551, 1.512, 1.196, 1.085, 1.064, 1.013, 1.003, 0.992, 0.992, 0.999, 1.000)
CDF_XYZ_PAID <- c(21.999, 6.569, 3.160, 2.007, 1.525, 1.268, 1.116, 1.054, 1.031, 1.014, 1.010)
xdev_r <- chain_ladder(xyz, "reported", ldf = named(CDF_XYZ_REPORTED, XYZ_AGES), ldf_kind = "cdf")
xdev_p <- chain_ladder(xyz, "paid", ldf = named(CDF_XYZ_PAID, XYZ_AGES), ldf_kind = "cdf")
BOOK_XDEV <- list( # chapter 7, Exhibit II, sheet 3, columns (7) and (8)
reported = c(15822, 25082, 36948, 38487, 48313, 44950, 74787, 76661, 58370, 47979, 47530),
paid = c(15980, 25164, 37922, 40600, 49592, 49858, 80537, 80333, 72108, 77941, 74995)
)
compare(XYZ_YEARS, list(reported = list(xdev_r@ultimate, BOOK_XDEV$reported, 514929),
paid = list(xdev_p@ultimate, BOOK_XDEV$paid, 605030)),
"XYZ Insurer: ultimate by accident year", "Development technique, thousands of dollars")| XYZ Insurer: ultimate by accident year | ||||
| Development technique, thousands of dollars | ||||
|
reported
|
paid
|
|||
|---|---|---|---|---|
| prospicio | book | prospicio | book | |
| 1998 | 15,822 | 15,822 | 15,980 | 15,980 |
| 1999 | 25,082 | 25,082 | 25,164 | 25,164 |
| 2000 | 36,948 | 36,948 | 37,922 | 37,922 |
| 2001 | 38,488 | 38,487 | 40,599 | 40,600 |
| 2002 | 48,314 | 48,313 | 49,592 | 49,592 |
| 2003 | 44,950 | 44,950 | 49,858 | 49,858 |
| 2004 | 74,786 | 74,787 | 80,537 | 80,537 |
| 2005 | 76,661 | 76,661 | 80,332 | 80,333 |
| 2006 | 58,370 | 58,370 | 72,108 | 72,108 |
| 2007 | 47,979 | 47,979 | 77,941 | 77,941 |
| 2008 | 47,530 | 47,530 | 74,995 | 74,995 |
| all | 514,929 | 514,929 | 605,028 | 605,030 |
The reported total equals the book’s. The paid total is 2 less, and some single years differ by 1 either way (reported 2001, 2002 and 2004, paid 2001 and 2005). The cause is the book’s data, not the method: its spreadsheet holds claims with decimals and prints whole thousands. For example, 38,798 times 0.992 is 38,487.6, which rounds to 38,488, but 38,797.5 (printed as 38,798) gives the book’s 38,487. Section 3 shows the same effect in a column total.
For the latest years the projections differ: faster settlement raises the paid factors, and stronger case reserves raise the reported ones. The book returns to this in chapter 13.
3. The expected claims technique (chapter 8)
The ultimate is an expected claim ratio times earned premium; the
claims to date are ignored. For U.S. Industry Auto, Friedland selects
75% for 1998 to 2002 and 65% for 2003 to 2007 (chapter 8, Exhibit II,
sheet 1). A ratio that changes by year is apriori as a
vector named by year; the premium stays in the exposure column (see
section 4 of reserving-methods.md):
US_RATIO <- c(rep(0.75, 5), rep(0.65, 5))
us <- make_triangle(US_YEARS, list(reported = US_REPORTED, paid = US_PAID),
list(premium = US_PREMIUM))
US_APRIORI <- setNames(US_RATIO, US_YEARS)
ec <- expected_loss(us, "reported", "premium", apriori = US_APRIORI)
u <- unpaid(ec@ultimate)
vs_book(c("expected claims", "IBNR", "total unpaid", "IBNR 2000"),
c(sum(ec@ultimate), u, ec@reserve[3]),
c(569281839, 25800252, 71231471, -3156946), 0,
"U.S. Industry Auto: expected claims technique", "Thousands of dollars")| U.S. Industry Auto: expected claims technique | |||
| Thousands of dollars | |||
| prospicio | book | difference | |
|---|---|---|---|
| expected claims | 569,281,839 | 569,281,839 | 0 |
| IBNR | 25,800,252 | 25,800,252 | 0 |
| total unpaid | 71,231,471 | 71,231,471 | 0 |
| IBNR 2000 | −3,156,946 | −3,156,946 | 0 |
All figures equal sheet 2. IBNR is negative for 2000, where the 75% ratio is below the reported claims. The book keeps such values to show the method’s weakness on mature years.
For XYZ, the ratios come from a long adjustment for trend, rate changes and tort reform (chapter 8, Exhibit III, sheet 2). This guide takes them from sheet 1, column (11):
XYZ_RATIO <- c(rep(0.783, 6), 0.871, 0.783, 0.658, 0.638, 0.825)
xyz <- make_triangle(XYZ_YEARS, list(reported = XYZ_REPORTED, paid = XYZ_PAID),
list(premium = XYZ_PREMIUM), first_age = XYZ_FIRST_AGE)
XYZ_APRIORI <- setNames(XYZ_RATIO, XYZ_YEARS)
xec <- expected_loss(xyz, "reported", "premium", apriori = XYZ_APRIORI)
u <- unpaid(xec@ultimate, xyz)
vs_book(c("expected claims", "IBNR", "total unpaid"),
c(sum(xec@ultimate), u),
c(561516, 111890, 230887), 0,
"XYZ Insurer: expected claims technique", "Thousands of dollars")| XYZ Insurer: expected claims technique | |||
| Thousands of dollars | |||
| prospicio | book | difference | |
|---|---|---|---|
| expected claims | 561,516 | 561,516 | 0 |
| IBNR | 111,890 | 111,890 | 0 |
| total unpaid | 230,889 | 230,887 | 2 |
The total unpaid is 2 more than the book’s. The book’s paid total at December 31, 2008 is 330,629, but its eleven printed paid values add to 330,627 (the exhibits hold claims with decimals). The other rows agree.
4. The Bornhuetter-Ferguson technique (chapter 9)
Bornhuetter-Ferguson (BF) keeps the claims to date and adds expected
claims times the unreported (or unpaid) share, 1 - 1 / CDF.
With chapter 8’s expected claims and chapter 7’s rounded CDFs, prospicio
reproduces chapter 9, Exhibit I:
BOOK_BF_US <- list( # chapter 9, Exhibit I, sheet 1, columns (11) and (12)
reported = c(47742304, 51185767, 54889558, 56462300, 58947116,
58178105, 58317678, 59754938, 60778247, 62835336),
paid = c(47746843, 51205350, 54841461, 56470405, 58972346,
58096743, 58447423, 60151912, 61425942, 63209774)
)
bf <- lapply(c(reported = "reported", paid = "paid"), function(col) {
bornhuetter_ferguson(us, col, "premium", apriori = US_APRIORI, ldf = US_CDF[[col]], ldf_kind = "cdf")
})
compare(US_YEARS, list(reported = list(bf$reported@ultimate, BOOK_BF_US$reported, 569091348),
paid = list(bf$paid@ultimate, BOOK_BF_US$paid, 570568198)),
"U.S. Industry Auto: Bornhuetter-Ferguson ultimate by accident year", "Thousands of dollars")| U.S. Industry Auto: Bornhuetter-Ferguson ultimate by accident year | ||||
| Thousands of dollars | ||||
|
reported
|
paid
|
|||
|---|---|---|---|---|
| prospicio | book | prospicio | book | |
| 1998 | 47,742,304 | 47,742,304 | 47,746,843 | 47,746,843 |
| 1999 | 51,185,767 | 51,185,767 | 51,205,350 | 51,205,350 |
| 2000 | 54,889,558 | 54,889,558 | 54,841,461 | 54,841,461 |
| 2001 | 56,462,300 | 56,462,300 | 56,470,405 | 56,470,405 |
| 2002 | 58,947,116 | 58,947,116 | 58,972,346 | 58,972,346 |
| 2003 | 58,178,105 | 58,178,105 | 58,096,743 | 58,096,743 |
| 2004 | 58,317,678 | 58,317,678 | 58,447,423 | 58,447,423 |
| 2005 | 59,754,938 | 59,754,938 | 60,151,912 | 60,151,912 |
| 2006 | 60,778,247 | 60,778,247 | 61,425,942 | 61,425,942 |
| 2007 | 62,835,336 | 62,835,336 | 63,209,774 | 63,209,774 |
| all | 569,091,348 | 569,091,348 | 570,568,198 | 570,568,198 |
vs_book(c("reported: IBNR", "reported: total unpaid", "paid: IBNR", "paid: total unpaid"),
c(unpaid(bf$reported@ultimate), unpaid(bf$paid@ultimate)),
c(25609761, 71040980, 27086611, 72517830), 0,
"U.S. Industry Auto: unpaid claims, Bornhuetter-Ferguson", "Thousands of dollars")| U.S. Industry Auto: unpaid claims, Bornhuetter-Ferguson | |||
| Thousands of dollars | |||
| prospicio | book | difference | |
|---|---|---|---|
| reported: IBNR | 25,609,761 | 25,609,761 | 0 |
| reported: total unpaid | 71,040,980 | 71,040,980 | 0 |
| paid: IBNR | 27,086,611 | 27,086,611 | 0 |
| paid: total unpaid | 72,517,830 | 72,517,830 | 0 |
All figures agree. For XYZ, the book adds one convention: chapter 9, Exhibit II caps the CDFs at a minimum of 1.00, so a year with a CDF below 1 gets no negative unreported claims:
XYZ_CDF <- list(reported = named(pmax(CDF_XYZ_REPORTED, 1), XYZ_AGES),
paid = named(CDF_XYZ_PAID, XYZ_AGES))
BOOK_BF_XYZ <- list( # chapter 9, Exhibit II, sheet 1, columns (11) and (12)
reported = c(15822, 25107, 37246, 38798, 48312, 45068, 75492, 79129, 60404, 45221, 42607),
paid = c(15977, 25158, 37841, 40525, 49417, 50768, 82593, 94301, 71205, 45636, 41049)
)
xbf <- lapply(c(reported = "reported", paid = "paid"), function(col) {
bornhuetter_ferguson(xyz, col, "premium", apriori = XYZ_APRIORI, ldf = XYZ_CDF[[col]], ldf_kind = "cdf")
})
compare(XYZ_YEARS, list(reported = list(xbf$reported@ultimate, BOOK_BF_XYZ$reported, 513207),
paid = list(xbf$paid@ultimate, BOOK_BF_XYZ$paid, 554471)),
"XYZ Insurer: Bornhuetter-Ferguson ultimate by accident year", "Thousands of dollars")| XYZ Insurer: Bornhuetter-Ferguson ultimate by accident year | ||||
| Thousands of dollars | ||||
|
reported
|
paid
|
|||
|---|---|---|---|---|
| prospicio | book | prospicio | book | |
| 1998 | 15,822 | 15,822 | 15,977 | 15,977 |
| 1999 | 25,107 | 25,107 | 25,158 | 25,158 |
| 2000 | 37,246 | 37,246 | 37,841 | 37,841 |
| 2001 | 38,798 | 38,798 | 40,525 | 40,525 |
| 2002 | 48,312 | 48,312 | 49,417 | 49,417 |
| 2003 | 45,068 | 45,068 | 50,768 | 50,768 |
| 2004 | 75,492 | 75,492 | 82,593 | 82,593 |
| 2005 | 79,129 | 79,129 | 94,301 | 94,301 |
| 2006 | 60,404 | 60,404 | 71,205 | 71,205 |
| 2007 | 45,221 | 45,221 | 45,636 | 45,636 |
| 2008 | 42,607 | 42,607 | 41,049 | 41,049 |
| all | 513,207 | 513,207 | 554,469 | 554,471 |
Every year agrees. The paid total is 2 less than the book’s 554,471, which is itself 2 more than the sum of the book’s eleven paid rows (unrounded values, as in section 2).
5. The Benktander technique (chapter 9)
Benktander’s method applies BF twice: the first BF ultimate becomes
the expected claims of the second. The book shows it only on synthetic
“changing conditions” scenarios (chapter 9, Exhibits V and VI), so this
guide checks the formula of Exhibit V, column (11), reported claims plus
the BF ultimate times the percentage unreported, on the book’s U.S.
Industry BF ultimates. benktander(n_iters = 2) matches
it:
gb <- benktander(us, "reported", "premium", apriori = US_APRIORI, n_iters = 2,
ldf = US_CDF$reported, ldf_kind = "cdf")
cdf_by_year <- rev(CDF_REPORTED) # the oldest year has the oldest age
by_hand <- latest(us, "reported") + (1 - 1 / cdf_by_year) * BOOK_BF_US$reported
cat("largest difference under 0.5:", max(abs(gb@ultimate - by_hand)) < 0.5, "\n")## largest difference under 0.5: TRUE
benktander_table <- data.frame(year = as.character(US_YEARS), prospicio = gb@ultimate,
formula = as.numeric(by_hand), dev = BOOK_DEV$reported,
BF = BOOK_BF_US$reported)
gt(benktander_table, rowname_col = "year") |>
tab_header("U.S. Industry Auto: Benktander ultimate, reported",
"Thousands of dollars; dev and BF are the book's ultimates") |>
fmt_integer(columns = c(prospicio, formula, dev, BF))| U.S. Industry Auto: Benktander ultimate, reported | ||||
| Thousands of dollars; dev and BF are the book's ultimates | ||||
| prospicio | formula | dev | BF | |
|---|---|---|---|---|
| 1998 | 47,742,304 | 47,742,304 | 47,742,304 | 47,742,304 |
| 1999 | 51,185,767 | 51,185,767 | 51,185,767 | 51,185,767 |
| 2000 | 54,892,764 | 54,892,764 | 54,892,767 | 54,889,558 |
| 2001 | 56,468,442 | 56,468,442 | 56,468,461 | 56,462,300 |
| 2002 | 58,944,285 | 58,944,285 | 58,944,268 | 58,947,116 |
| 2003 | 58,198,340 | 58,198,340 | 58,198,563 | 58,178,105 |
| 2004 | 58,287,807 | 58,287,807 | 58,287,120 | 58,317,678 |
| 2005 | 59,686,031 | 59,686,031 | 59,682,517 | 59,754,938 |
| 2006 | 60,664,409 | 60,664,409 | 60,651,886 | 60,778,247 |
| 2007 | 63,054,738 | 63,054,738 | 63,118,803 | 62,835,336 |
The columns agree in every year, within the rounding of the printed BF ultimates. Each Benktander ultimate lies between the BF and the development ultimate, nearer development for mature years: the book calls the method a credibility weighting that always weights development more than BF does.
6. The Cape Cod technique (chapter 10)
Cape Cod is BF with an expected claim ratio from the data: reported claims divided by “used-up” premium (premium times the percentage reported). For U.S. Industry Auto (chapter 10, Exhibit I):
cc <- cape_cod(us, "reported", "premium", ldf = US_CDF$reported, ldf_kind = "cdf")
u <- unpaid(cc@ultimate)
flat <- bornhuetter_ferguson(us, "reported", "premium", apriori = 0.695,
ldf = US_CDF$reported, ldf_kind = "cdf")
vs_book(c("expected claim ratio", "ultimate", "IBNR", "total unpaid", "ultimate, BF at exactly 69.5%"),
c(cc@apriori[1], sum(cc@ultimate), u, sum(flat@ultimate)),
c(0.695, 570800677, 27319090, 72750309, NA), c(5, 0, 0, 0, 0),
"U.S. Industry Auto: Cape Cod", "Thousands of dollars; the book prints the ratio as 69.5%")| U.S. Industry Auto: Cape Cod | |||
| Thousands of dollars; the book prints the ratio as 69.5% | |||
| prospicio | book | difference | |
|---|---|---|---|
| expected claim ratio | 0.69544 | 0.69500 | 0.00044 |
| ultimate | 570,800,677 | 570,800,677 | 0 |
| IBNR | 27,319,090 | 27,319,090 | 0 |
| total unpaid | 72,750,309 | 72,750,309 | 0 |
| ultimate, BF at exactly 69.5% | 570,783,246 | ||
The totals agree to the unit. The book’s spreadsheet holds a ratio of 69.544%, not the printed 69.5%; at exactly 69.5% the ultimate is 17,431 lower.
For XYZ (chapter 10, Exhibit II), Friedland first puts every year on the 2008 basis: premium at current rate levels (column (4), typed below), and claims trended at 3.425% a year to 2008 and adjusted for the tort reform (column (8)).
The ratio of adjusted reported claims to used-up on-level premium is
70.8%. Each year’s ratio is that ratio taken back to the year’s cost
level, tort environment and rate level.
cape_cod(trend = 0.03425) applies such a trend, with the
latest origin as reference. The code applies the tort factor and rate
level by hand, estimates the ratio on the adjusted claims, then gives
each year’s ratio on the actual premium to a BF fit on the actual
claims:
ON_LEVEL_PREMIUM <- c(19783, 30548, 42784, 46606, 55911, 60204, 80411, 97258, 68850, 49950, 47797)
TORT <- c(rep(0.670, 8), 0.750, 1.000, 1.000)
adjusted <- Map(function(row, t) row * t, XYZ_REPORTED, TORT)
xyz_cc <- make_triangle(XYZ_YEARS, list(adjusted = adjusted, reported = XYZ_REPORTED),
list(on_level = ON_LEVEL_PREMIUM), first_age = XYZ_FIRST_AGE)
ratio <- cape_cod(xyz_cc, "adjusted", "on_level", trend = 0.03425,
ldf = XYZ_CDF$reported, ldf_kind = "cdf")
cat(sprintf("adjusted expected claim ratio %.4f (book 70.8%%)\n", ratio@apriori[length(XYZ_YEARS)]))## adjusted expected claim ratio 0.7078 (book 70.8%)
cc_expected <- ratio@apriori * ON_LEVEL_PREMIUM / TORT
cc_ratio <- setNames(cc_expected / XYZ_PREMIUM, XYZ_YEARS)
xcc <- bornhuetter_ferguson(xyz, "reported", "premium", apriori = cc_ratio,
ldf = XYZ_CDF$reported, ldf_kind = "cdf")
BOOK_CC_XYZ <- c(15822, 25107, 37246, 38798, 48313, 45062, 74754, 77931, 58759, 43307, 39201)
compare(XYZ_YEARS, list("Cape Cod" = list(xcc@ultimate, BOOK_CC_XYZ, 504300)),
"XYZ Insurer: Cape Cod ultimate by accident year",
"Thousands of dollars; the ratio is on the actual premium", ratio = unname(cc_ratio))| XYZ Insurer: Cape Cod ultimate by accident year | |||
| Thousands of dollars; the ratio is on the actual premium | |||
| expected claim ratio |
Cape Cod
|
||
|---|---|---|---|
| prospicio | book | ||
| 1998 | 0.746 | 15,822 | 15,822 |
| 1999 | 0.757 | 25,107 | 25,107 |
| 2000 | 0.767 | 37,246 | 37,246 |
| 2001 | 0.778 | 38,798 | 38,798 |
| 2002 | 0.789 | 48,313 | 48,313 |
| 2003 | 0.777 | 45,063 | 45,062 |
| 2004 | 0.747 | 74,754 | 74,754 |
| 2005 | 0.672 | 77,931 | 77,931 |
| 2006 | 0.565 | 58,759 | 58,759 |
| 2007 | 0.547 | 43,307 | 43,307 |
| 2008 | 0.708 | 39,201 | 39,201 |
| all | 504,300 | 504,300 | |
The adjusted ratio, the ratios by year (column (15): 74.6%, 75.7%, … 70.8%) and the total of 504,300 all agree. The 2003 ultimate is 1 more than the book’s, from the rounding of the printed data. The tort factor must multiply the claims, not divide the premium: the ratio is a ratio of sums, so the two differ when the factors differ by year.
7. Reasonableness checks (chapters 8 and 15)
The book’s last step checks the results against claim ratios, severities and agreement between methods. Chapter 15 gives the unpaid claims of each method for U.S. Industry Auto in billions of dollars. The fits above reproduce them:
book_billions <- list( # chapter 15, IBNR and total unpaid, $ billions
"Development, reported" = c(26, 71), "Development, paid" = c(29, 74),
"Expected claims" = c(26, 71), "B-F, reported" = c(26, 71),
"B-F, paid" = c(27, 73), "Cape Cod" = c(27, 73)
)
fits <- list(dev_r, dev_p, ec, bf$reported, bf$paid, cc)
summary_table <- data.frame(
method = names(book_billions),
ibnr_book = vapply(book_billions, `[`, 0, 1),
ibnr_ours = vapply(fits, function(f) unpaid(f@ultimate)[1] / 1e6, 0),
total_book = vapply(book_billions, `[`, 0, 2),
total_ours = vapply(fits, function(f) unpaid(f@ultimate)[2] / 1e6, 0)
)
gt(summary_table, rowname_col = "method") |>
tab_header("U.S. Industry Auto: unpaid claims by method", "$ billions") |>
tab_spanner("IBNR", columns = c(ibnr_book, ibnr_ours)) |>
tab_spanner("total unpaid", columns = c(total_book, total_ours)) |>
cols_label(ibnr_book = "book", ibnr_ours = "prospicio",
total_book = "book", total_ours = "prospicio") |>
fmt_integer(columns = c(ibnr_book, total_book)) |>
fmt_number(columns = c(ibnr_ours, total_ours), decimals = 1)| U.S. Industry Auto: unpaid claims by method | ||||
| $ billions | ||||
|
IBNR
|
total unpaid
|
|||
|---|---|---|---|---|
| book | prospicio | book | prospicio | |
| Development, reported | 26 | 25.7 | 71 | 71.1 |
| Development, paid | 29 | 28.6 | 74 | 74.0 |
| Expected claims | 26 | 25.8 | 71 | 71.2 |
| B-F, reported | 26 | 25.6 | 71 | 71.0 |
| B-F, paid | 27 | 27.1 | 73 | 72.5 |
| Cape Cod | 27 | 27.3 | 73 | 72.8 |
All twelve figures agree. The spread across methods is about 4% of the unpaid estimate.
For XYZ the methods disagree, and the claim ratios show why. Chapter 8, Exhibit III, sheet 1, column (10) prints the claim ratio of the average of the reported and paid development ultimates, shown here beside each method’s:
BOOK_AVG_RATIO <- c(79.5, 79.8, 83.2, 79.1, 80.0, 68.5, 78.2, 56.8, 60.6, 100.8, 128.2)
methods <- list("dev rep" = xdev_r, "dev paid" = xdev_p, "EC" = xec,
"BF rep" = xbf$reported, "BF paid" = xbf$paid, "CC" = xcc)
ratios <- data.frame(year = as.character(XYZ_YEARS),
avg_dev = (xdev_r@ultimate + xdev_p@ultimate) / 2 / XYZ_PREMIUM,
book = BOOK_AVG_RATIO / 100)
for (name in names(methods)) ratios[[name]] <- methods[[name]]@ultimate / XYZ_PREMIUM
gt(ratios, rowname_col = "year") |>
tab_header("XYZ Insurer: ultimate claim ratio by method", "Percent of premium") |>
tab_spanner("average of the two development ultimates", columns = c(avg_dev, book)) |>
tab_spanner("each method", columns = all_of(names(methods))) |>
cols_label(avg_dev = "prospicio") |>
fmt_percent(columns = all_of(names(ratios)[-1]), decimals = 1)| XYZ Insurer: ultimate claim ratio by method | ||||||||
| Percent of premium | ||||||||
|
average of the two development ultimates
|
each method
|
|||||||
|---|---|---|---|---|---|---|---|---|
| prospicio | book | dev rep | dev paid | EC | BF rep | BF paid | CC | |
| 1998 | 79.5% | 79.5% | 79.1% | 79.9% | 78.3% | 79.1% | 79.9% | 79.1% |
| 1999 | 79.8% | 79.8% | 79.6% | 79.9% | 78.3% | 79.7% | 79.9% | 79.7% |
| 2000 | 83.2% | 83.2% | 82.1% | 84.3% | 78.3% | 82.8% | 84.1% | 82.8% |
| 2001 | 79.1% | 79.1% | 77.0% | 81.2% | 78.3% | 77.6% | 81.0% | 77.6% |
| 2002 | 80.0% | 80.0% | 79.0% | 81.1% | 78.3% | 79.0% | 80.8% | 79.0% |
| 2003 | 68.5% | 68.5% | 65.0% | 72.1% | 78.3% | 65.2% | 73.4% | 65.1% |
| 2004 | 78.2% | 78.2% | 75.3% | 81.1% | 87.1% | 76.0% | 83.2% | 75.3% |
| 2005 | 56.8% | 56.8% | 55.5% | 58.1% | 78.3% | 57.3% | 68.3% | 56.4% |
| 2006 | 60.6% | 60.6% | 54.3% | 67.0% | 65.8% | 56.1% | 66.2% | 54.6% |
| 2007 | 100.8% | 100.8% | 76.8% | 124.8% | 63.8% | 72.4% | 73.1% | 69.4% |
| 2008 | 128.2% | 128.2% | 99.4% | 156.9% | 82.5% | 89.1% | 85.9% | 82.0% |
ratio <- do.call(rbind, lapply(names(methods), function(name) {
data.frame(year = XYZ_YEARS, method = name,
pct = 100 * methods[[name]]@ultimate / XYZ_PREMIUM)
}))
background <- c("EC", "BF rep", "BF paid")
ggplot() +
geom_line(aes(year, pct, group = method, linetype = "EC, BF rep, BF paid"),
data = ratio[ratio$method %in% background, ], colour = "grey75") +
geom_line(aes(year, pct, colour = method), data = ratio[!ratio$method %in% background, ]) +
geom_point(aes(year, pct, colour = method), data = ratio[!ratio$method %in% background, ],
size = 2) +
scale_x_continuous(breaks = XYZ_YEARS) +
labs(x = "accident year", y = "ultimate claim ratio, % of premium",
colour = NULL, linetype = NULL,
title = "XYZ Insurer: claim ratio by accident year and method") +
theme(legend.position = "top")The development average equals the book’s to the tenth of a percent. For 2007 and 2008 the development ratios are far above earlier years; expected claims, BF and Cape Cod keep them near the history.
Chapter 15 also divides ultimates by claim counts (severity), and
IBNR plus case by open and unreported counts: with a counts triangle
these are one-line divisions of fit@ultimate and
fit@reserve. The book’s conclusion for XYZ uses chapter
13’s Berquist-Sherman projections.
See also
-
reserving-methods.md: which reserving method to use when, with Mack, the bootstraps, Clark, the Bayesian models and the one-year view. -
reserving-friedland.md: the Python version of this guide.