Applications and the choice of a distortion: CAS Monograph 15, chapters 5 and 6
capital-modeling-monograph-15-applications.RmdRendered from docs/guides/capital-modeling-monograph-15-applications.qmd.
The code runs each time the site is built, so the output below is
current.
CAS Monograph 15 is Introduction to Capital Modeling and Portfolio Management (John Major and Stephen Mildenhall, 2026). Chapters 5 and 6 apply the natural allocation to the InsCo example. This guide recomputes their tables with prospicio and shows the monograph’s value beside prospicio’s. Table numbers are the monograph’s.
Capital adequacy and the natural allocation builds the method in chapters 3 and 4. Capital modeling and portfolio pricing reproduces chapter 9.
This is the R twin of the Python guide capital-modeling-monograph-15-applications.md,
with the same sections, examples and numbers. The text block after each
R chunk is the output of that chunk.
R/prospicio/tests/test-guides.R checks that each chunk
prints exactly that text.
1. The book and its target
InsCo has three units over ten equally likely years, plan premiums of 13.9, 18.7 and 19.6, and assets of 100. Investors want a return of 15% on capital. That needs a premium of 53.565, against a plan of 52.2. Chapter 5 allocates the required premium with a Wang distortion calibrated to it. Chapter 6 uses all five representative families:
library(prospicio)
UNITS <- c("A", "B", "C")
ROWS <- rbind(
c(5, 20, 11), c(7, 33, 0), c(15, 13, 0), c(15, 7, 0), c(13, 20, 7),
c(5, 27, 8), c(15, 16, 9), c(26, 19, 10), c(17, 8, 40), c(16, 20, 64)
)
colnames(ROWS) <- UNITS
PLAN <- c(13.9, 18.7, 19.6)
insco <- capital_portfolio(ROWS)
totals <- rowSums(ROWS)
FAMILIES <- c("ccoc", "ph", "wang", "dual", "tvar")
distortions <- lapply(stats::setNames(FAMILIES, FAMILIES), function(f) {
calibrate_portfolio(insco, f, assets = 100, return_on_capital = 0.15)
})
wang <- distortions$wang
units_only <- function(priced) priced[priced$unit != "total", ]
total_row <- function(priced) priced[priced$unit == "total", ]
required <- natural_price(insco, wang, assets = 100)
req_units <- units_only(required)
req_total <- total_row(required)
cat(sprintf("required premium %.3f, plan %.1f\n", req_total$premium, sum(PLAN)))## required premium 53.565, plan 52.2
2. Performance assessment
Section 5.1 asks which units meet the target. The portfolio’s shortfall of 1.365 is the same under every calibrated distortion. The split over the units is not. With Wang (Tables 5.1 and 5.2), the excess loss ratio is the loss ratio at the required premium less the plan’s:
library(gt)
# The rows of a table: each label's row, then the book's row under it.
interleave <- function(first, labels, mine, book) {
rows <- do.call(rbind, lapply(seq_along(labels), function(i) rbind(mine[i, ], book[i, ])))
frame <- data.frame(c(rbind(labels, paste0(labels, ", book"))), rows, check.names = FALSE,
row.names = NULL)
names(frame)[1] <- first
frame
}
# Rows labelled ", book" are the monograph's, shown as printed; the others at fixed decimals.
pair_table <- function(frame, places, percent = character()) {
book <- which(endsWith(frame[[1]], ", book"))
mine <- setdiff(seq_len(nrow(frame)), book)
table <- gt(frame, rowname_col = names(frame)[1])
for (column in names(places)) {
fmt_fn <- if (column %in% percent) fmt_percent else fmt_number
table <- table |>
fmt_fn(columns = all_of(column), rows = mine, decimals = places[[column]], use_seps = FALSE) |>
fmt_fn(columns = all_of(column), rows = book, decimals = places[[column]],
drop_trailing_zeros = TRUE, use_seps = FALSE)
}
sub_missing(table, missing_text = "")
}
excess <- PLAN - req_units$premium
gross_excess <- sum(PLAN) - req_total$premium
mine <- rbind(
cbind(plan = PLAN, wang = req_units$premium, excess = excess,
of_plan = excess / (PLAN - req_units$loss),
lr = req_units$loss / req_units$premium - req_units$loss / PLAN),
c(plan = sum(PLAN), wang = req_total$premium, excess = gross_excess,
of_plan = gross_excess / (sum(PLAN) - 46.6), lr = NA)
)
BOOK_52 <- rbind( # Tables 5.1 and 5.2: Wang premium, excess, excess as share of plan margin, excess loss ratio
cbind(plan = NA_real_, wang = c(14.109, 18.637, 20.819), excess = c(-0.209, 0.063, -1.219),
of_plan = c(-0.418, 0.156, -0.259), lr = c(-0.0143, 0.0033, -0.0445)),
c(plan = NA, wang = NA, excess = -1.365, of_plan = -0.244, lr = NA)
)
perf <- interleave("unit", c(UNITS, "total"), mine, BOOK_52)
pair_table(perf, c(plan = 1, wang = 3, excess = 3, of_plan = 1, lr = 2),
percent = c("of_plan", "lr")) |>
tab_header("Table 5.2: plan premium against the required premium under Wang",
"Premium in currency units; excess = plan less Wang") |>
cols_label(plan = "plan", wang = "Wang", excess = "excess", of_plan = "% of plan margin",
lr = "excess loss ratio")| Table 5.2: plan premium against the required premium under Wang | |||||
| Premium in currency units; excess = plan less Wang | |||||
| plan | Wang | excess | % of plan margin | excess loss ratio | |
|---|---|---|---|---|---|
| A | 13.9 | 14.109 | −0.209 | −41.8% | −1.43% |
| A, book | 14.109 | −0.209 | −41.8% | −1.43% | |
| B | 18.7 | 18.637 | 0.063 | 15.6% | 0.33% |
| B, book | 18.637 | 0.063 | 15.6% | 0.33% | |
| C | 19.6 | 20.819 | −1.219 | −25.9% | −4.45% |
| C, book | 20.819 | −1.219 | −25.9% | −4.45% | |
| total | 52.2 | 53.565 | −1.365 | −24.4% | |
| total, book | −1.365 | −24.4% | |||
Only unit B’s plan meets its target. Unit C has most of the deficit in money. Unit A is furthest off relative to its own margin: its plan margin of 0.5 must rise by 42%. This holds for Wang only. Section 8 shows other distortions.
3. Reinsurance decision-making
Section 5.2 considers an aggregate stop loss of 35 excess of 65 at a premium of 6.5. It pays 35 in the worst year only (expected loss 3.5). Two ways of judging it give opposite answers.
The first prices the net portfolio alone with the pentagon. The cover cuts the assets needed from 100 to 65, so the net premium at 15% is 7.609 less than gross. That saves more than the cost of 6.5, so buy it:
gross <- pentagon(loss = 46.6, assets = 100, return_on_capital = 0.15)
net <- pentagon(loss = 43.1, assets = 65, return_on_capital = 0.15)
saving <- gross[["premium"]] - net[["premium"]]
cat(sprintf("net premium %.4f (book 45.956), saving %.3f (book 7.609), cover costs 6.5\n",
net[["premium"]], saving))## net premium 45.9565 (book 45.956), saving 7.609 (book 7.609), cover costs 6.5
cat(sprintf("cover: loss on line %.0f%%, rate on line %.1f%% (book 10%%, 18.6%%)\n",
100 * 3.5 / 35, 100 * 6.5 / 35))## cover: loss on line 10%, rate on line 18.6% (book 10%, 18.6%)
The monograph rounds the discount factors to five decimals (0.86956 and 0.13043), which gives 45.956 where the unrounded premium is 45.9565.
That method assumes the net portfolio still costs 15% of its capital. But the cover removes the top layer of capital, the cheapest under every distortion except the CCoC. The second method prices the cover and the net portfolio as two units of one portfolio under Wang:
stop_loss <- function(t, attach = 65, limit = 35) pmin(pmax(t - attach, 0), limit)
split <- capital_portfolio(cbind(net = totals - stop_loss(totals), ceded = stop_loss(totals)))
re <- units_only(natural_price(split, wang, assets = 100))
net_unit <- re[re$unit == "net", ]
ceded_unit <- re[re$unit == "ceded", ]
cat(sprintf("ceded: loss %.3f, Wang premium %.3f (book 6.087), quoted 6.5\n", ceded_unit$loss,
ceded_unit$premium))## ceded: loss 3.500, Wang premium 6.087 (book 6.087), quoted 6.5
net_return <- (net_unit$premium - net_unit$loss) / (65 - net_unit$premium)
cat(sprintf("net: premium %.3f (book 47.478), return on 65 of assets %.1f%% (book 25%%)\n",
net_unit$premium, 100 * net_return))## net: premium 47.478 (book 47.478), return on 65 of assets 25.0% (book 25%)
Under Wang the cover is worth 6.087 and costs 6.5, so do not buy it. The net portfolio earns 25%, more than 15%, because its remaining capital is the most likely to be used and so the most expensive. Section 9 gives the cover’s value under all five distortions.
4. New business pricing
Section 5.3 prices a small new account, too small to change the order
of the years. It is priced as a fourth unit with the current Wang
weights q. The monograph regresses the account’s simulated
losses on the portfolio total (LOWESS). Those losses are not printed, so
this guide starts from the conditional means at the seven totals (Table
5.3):
NEW <- c(0.02028, 0.01965, 0.01849, 0.01855, 0.02402, 0.02910, 0.06339) # Table 5.3, at each total
Q_BOOK <- c(0.0522, 0.0660, 0.0748, 0.3791, 0.1190, 0.1350, 0.1739) # the Wang q, Table 5.3
wang_q <- function(g, probs) {
s <- 1 - cumsum(probs)
-diff(c(1, ifelse(s > 1e-12, distortion_g(g, pmax(s, 0)), 0)))
}
qw <- wang_q(wang, insco@probs)
states <- as.character(sort(unique(totals)))
table_53 <- data.frame(total = states, prob = insco@probs, new = NEW, q = qw, q_book = Q_BOOK)
gt(table_53, rowname_col = "total") |>
tab_header("Table 5.3: the new account's conditional mean and the Wang weights",
"Rows are the seven portfolio totals") |>
cols_label(prob = "probability", new = "account loss", q = "q", q_book = "q, book") |>
fmt_number(columns = prob, decimals = 1) |>
fmt_number(columns = new, decimals = 5) |>
fmt_number(columns = c(q, q_book), decimals = 4)| Table 5.3: the new account's conditional mean and the Wang weights | ||||
| Rows are the seven portfolio totals | ||||
| probability | account loss | q | q, book | |
|---|---|---|---|---|
| 22 | 0.1 | 0.02028 | 0.0522 | 0.0522 |
| 28 | 0.1 | 0.01965 | 0.0660 | 0.0660 |
| 36 | 0.1 | 0.01849 | 0.0748 | 0.0748 |
| 40 | 0.4 | 0.01855 | 0.3791 | 0.3791 |
| 55 | 0.1 | 0.02402 | 0.1190 | 0.1190 |
| 65 | 0.1 | 0.02910 | 0.1350 | 0.1350 |
| 100 | 0.1 | 0.06339 | 0.1739 | 0.1739 |
A fourth unit in the portfolio gives the same premium as the weights:
loss <- sum(insco@probs * NEW)
premium <- sum(qw * NEW)
cat(sprintf("new business: loss %.5f (book 0.02491), premium %.5f (book 0.02858), margin %.5f (book 0.00367)\n",
loss, premium, premium - loss))## new business: loss 0.02491 (book 0.02491), premium 0.02858 (book 0.02858), margin 0.00367 (book 0.00367)
kappa <- sapply(UNITS, function(u) portfolio_kappa(insco, u))
with_new <- capital_portfolio(cbind(kappa, new = NEW), probs = insco@probs)
priced_new <- natural_price(with_new, wang)
cat(sprintf("as a fourth unit: premium %.5f\n", priced_new$premium[priced_new$unit == "new"]))## as a fourth unit: premium 0.02858
The two agree because the account does not reorder the totals. Its premium is its reservation price: the lowest premium that keeps the portfolio on target.
5. Mergers and acquisitions
An acquisition is too large to price with the current weights. Section 5.4 scales the new account up about 2,000 times, to a mean of 48.35. At each portfolio total, two points with half the probability each represent the acquired loss: the conditional mean plus and minus one conditional standard deviation. The merged portfolio has fourteen scenarios (Table 5.4). The Wang distortion prices it, with assets equal to its worst total:
MERGER <- data.frame( # Table 5.4
p = c(0.05, 0.05, 0.05, 0.2, 0.05, 0.05, 0.05, 0.05, 0.2, 0.05, 0.05, 0.05, 0.05, 0.05),
insco = c(22, 28, 36, 40, 22, 28, 55, 36, 40, 65, 55, 100, 65, 100),
acquired = c(29.37, 25.47, 21.55, 22.74, 49.35, 50.79, 30.83, 50.22, 49.27, 29.89, 62.38,
47.73, 83.06, 198.30)
)
merged <- capital_portfolio(cbind(InsCo = MERGER$insco, acquired = MERGER$acquired),
probs = MERGER$p)
m <- natural_price(merged, wang)
old <- m[m$unit == "InsCo", ]
new <- m[m$unit == "acquired", ]
tot <- total_row(m)
parts <- interleave(
"item", c("expected loss", "Wang premium"),
rbind(c(InsCo = old$loss, acquired = new$loss, merged = tot$loss),
c(old$premium, new$premium, tot$premium)),
rbind(c(46.60, 48.35, 94.95), c(52.74, 59.09, 111.83))
)
pair_table(parts, c(InsCo = 2, acquired = 2, merged = 2)) |>
tab_header("Table 5.4: the merged portfolio under Wang", "Currency units")| Table 5.4: the merged portfolio under Wang | |||
| Currency units | |||
| InsCo | acquired | merged | |
|---|---|---|---|
| expected loss | 46.60 | 48.35 | 94.95 |
| expected loss, book | 46.6 | 48.35 | 94.95 |
| Wang premium | 52.74 | 59.09 | 111.83 |
| Wang premium, book | 52.74 | 59.09 | 111.83 |
extra_premium <- tot$premium - req_total$premium
extra_capital <- tot$capital - req_total$capital
extra_margin <- tot$margin - req_total$margin
effects <- interleave(
"item", "acquisition",
rbind(c(premium = extra_premium, assets = tot$assets, capital = tot$capital,
ret = tot$return_on_capital, add_cap = extra_capital, add_margin = extra_margin,
add_ret = extra_margin / extra_capital)),
rbind(c(58.26, 298.30, 186.46, 0.0906, 140.03, 9.92, 0.0708))
)
pair_table(effects, c(premium = 3, assets = 2, capital = 3, ret = 2, add_cap = 2, add_margin = 2,
add_ret = 2), percent = c("ret", "add_ret")) |>
tab_header("The merged portfolio's premium, capital and return", "Currency units") |>
cols_label(premium = "premium needed", ret = "return", add_cap = "added capital",
add_margin = "added margin", add_ret = "return on added")| The merged portfolio's premium, capital and return | |||||||
| Currency units | |||||||
| premium needed | assets | capital | return | added capital | added margin | return on added | |
|---|---|---|---|---|---|---|---|
| acquisition | 58.269 | 298.30 | 186.466 | 9.06% | 140.03 | 9.92 | 7.08% |
| acquisition, book | 58.26 | 298.3 | 186.46 | 9.06% | 140.03 | 9.92 | 7.08% |
All values agree with the printed solution to two decimals, with two exceptions. The monograph’s premium needed (58.26) subtracts the rounded 53.57 from 111.83, and its capital (186.46) truncates the unrounded value.
The split of the merged premium between the parts does not matter, because the acquisition changes the weights for both. The acquired business must supply the increase in portfolio premium. The return falls to about 9%, below the 15% that set the Wang parameter, because the extra assets are far in the tail, where capital is cheap under Wang.
6. Portfolio optimization
Section 5.5 asks the reverse question: at the given prices, which mix of business is best? The objective is economic value added (EVA), plan premium less required premium. The parameters are a scale for each unit between -50% and +50%. Plan premium scales with volume, and capital (assets less plan premium) must stay at 47.8. If everything scaled linearly, each unit’s allocated quantities would be its marginal ones (Table 5.5):
eva <- PLAN - req_units$premium
assets <- kappa[nrow(kappa), ] # coTVaR: the worst year, 16, 20, 64
capital <- assets - PLAN
table_55 <- data.frame(
unit = c(UNITS, "total"), eva = c(eva, sum(eva)), capital = unname(c(capital, sum(capital))),
ratio = c(eva / unname(capital), NA)
)
gt(table_55, rowname_col = "unit") |>
tab_header("Table 5.5: EVA and plan capital by unit", "Currency units") |>
cols_label(eva = "EVA", capital = "plan capital", ratio = "EVA per capital") |>
fmt_number(columns = c(eva, capital, ratio), decimals = 4) |>
sub_missing(missing_text = "")| Table 5.5: EVA and plan capital by unit | |||
| Currency units | |||
| EVA | plan capital | EVA per capital | |
|---|---|---|---|
| A | −0.2092 | 2.1000 | −0.0996 |
| B | 0.0625 | 1.3000 | 0.0481 |
| C | −1.2186 | 44.4000 | −0.0274 |
| total | −1.3652 | 47.8000 | |
A linear step takes the best ratios to their limits: shrink A by 50%, grow B by 50%, and grow C only enough to use the released capital (0.4 / 44.4 = 0.9%). The predicted EVA is -1.2403 (Table 5.6). The rerun at those scales keeps the Wang distortion without a new calibration, because the distortion describes investors’ appetite and the target return is now an output:
rescale <- function(scales) {
# InsCo with each unit's losses and plan premium scaled by 1 + s.
rows <- sweep(ROWS, 2, 1 + scales, `*`)
list(book = natural_price(capital_portfolio(rows), wang), plan = PLAN * (1 + scales))
}
scale_summary <- function(scales) {
r <- rescale(scales)
tot <- total_row(r$book)
sprintf("EVA %.4f, assets %.4f, capital %.4f", sum(r$plan) - tot$premium, tot$assets,
tot$assets - sum(r$plan))
}
# Required premium by unit at each case's scales, the book's row under it.
scale_table <- function(cases, digits, title) {
mine <- do.call(rbind, lapply(cases, function(case) {
r <- rescale(case$scales)
c(stats::setNames(units_only(r$book)$premium, UNITS), total = total_row(r$book)$premium)
}))
book <- do.call(rbind, lapply(cases, function(case) case$book))
frame <- interleave("case", vapply(cases, function(case) case$label, ""), mine, book)
pair_table(frame, stats::setNames(rep(digits, 4), c(UNITS, "total"))) |>
tab_header(title, "Required premium in currency units")
}
linear_step <- c(-0.5, 0.5, 0.4 / 44.4)
cat("linear prediction of EVA:", sprintf("%.4f", sum(eva) + sum(eva * linear_step)), "(book -1.2403)\n")## linear prediction of EVA: -1.2404 (book -1.2403)
cat(scale_summary(linear_step), "\n", sep = "")## EVA -1.4660, assets 102.5766, capital 47.8000
The linear prediction is -1.2404 here and -1.2403 in Table 5.6, which adds steps rounded to four decimals (0.1046, 0.0313, -0.0110). The rerun agrees with Table 5.8:
scale_table(list(list(label = "linear step", scales = linear_step,
book = c(6.8115, 28.6040, 20.8271, 56.2426))), 4,
"Table 5.8: the premium after the linear step")| Table 5.8: the premium after the linear step | ||||
| Required premium in currency units | ||||
| A | B | C | total | |
|---|---|---|---|---|
| linear step | 6.8115 | 28.6040 | 20.8271 | 56.2426 |
| linear step, book | 6.8115 | 28.604 | 20.8271 | 56.2426 |
The EVA of -1.466 is worse than the start: scaling the units changes the order of the years (Table 5.7), so Wang weights different years than the linear prediction assumed. With A held at -50%, B shows how uneven the surface is (Figure 5.4):
eva_at <- function(sa, sb) {
# EVA with unit C scaled to hold capital at 47.8 (the worst year stays the worst).
sc <- -(2.1 * sa + 1.3 * sb) / 44.4
r <- rescale(c(sa, sb, sc))
sum(r$plan) - total_row(r$book)$premium
}
SWEEP <- c(-0.5, -0.3, -0.21, -0.2, -0.1, 0, 0.25, 0.5)
sweep_table <- data.frame(b = sprintf("%+.2f", SWEEP), eva = sapply(SWEEP, function(sb) eva_at(-0.5, sb)))
gt(sweep_table, rowname_col = "b") |>
tab_header("Figure 5.4: EVA as the scale of B changes", "A at -50%, C holds capital at 47.8") |>
cols_label(eva = "EVA") |>
fmt_number(columns = eva, decimals = 4)| Figure 5.4: EVA as the scale of B changes | |
| A at -50%, C holds capital at 47.8 | |
| EVA | |
|---|---|
| -0.50 | −1.4321 |
| -0.30 | −1.3694 |
| -0.21 | −1.3477 |
| -0.20 | −1.3484 |
| -0.10 | −1.3604 |
| +0.00 | −1.3724 |
| +0.25 | −1.4058 |
| +0.50 | −1.4660 |
The monograph’s Nelder-Mead search ends at A -0.478165 and B
-0.209790. On this kinked surface its end point depends on the start and
the implementation, so this guide searches a grid instead, in steps of
0.01 and then 0.0005 around the best point, with
natural_price() in a loop:
grid_best <- function(as, bs) {
g <- expand.grid(a = as, b = bs)
g$eva <- mapply(eva_at, g$a, g$b)
g[which.max(g$eva), ]
}
coarse <- grid_best((-50:50) / 100, (-50:50) / 100)
fine <- grid_best(coarse$a + (-20:20) / 2000, coarse$b + (-20:20) / 2000)
cat(sprintf("grid: A %+.4f, B %+.4f, EVA %.6f\n", fine$a, fine$b, fine$eva))## grid: A -0.4780, B -0.2095, EVA -1.345142
POINTS <- list(list(sb = -0.209790, book = c(7.269164, 14.816395, 21.453658, 43.539217)), # Table 5.9
list(sb = -0.209795, book = c(7.334042, 14.607535, 21.597550, 43.539127))) # Table 5.10
at_point <- function(sb) c(-0.478165, sb, -(2.1 * -0.478165 + 1.3 * sb) / 44.4)
for (p in POINTS) {
cat(sprintf("at A -0.478165, B %s: EVA %.6f (book -1.345119)\n", format(p$sb, digits = 6),
eva_at(-0.478165, p$sb)))
cat(scale_summary(at_point(p$sb)), "\n", sep = "")
}## at A -0.478165, B -0.20979: EVA -1.345139 (book -1.345119)
## EVA -1.3451, assets 89.9941, capital 47.8000
## at A -0.478165, B -0.209795: EVA -1.345139 (book -1.345119)
## EVA -1.3451, assets 89.9940, capital 47.8000
The grid ends next to the monograph’s optimum, a small gain on the start of -1.3652. At the monograph’s own point the EVA agrees to about 2e-5. Two scales for B only 0.000005 apart give the same portfolio EVA and very different allocations (Tables 5.9 and 5.10):
scale_table(lapply(POINTS, function(p) {
list(label = paste("B", format(p$sb, digits = 6)), scales = at_point(p$sb), book = p$book)
}), 6, "Tables 5.9 and 5.10: the premium at the monograph's two optima")| Tables 5.9 and 5.10: the premium at the monograph's two optima | ||||
| Required premium in currency units | ||||
| A | B | C | total | |
|---|---|---|---|---|
| B -0.20979 | 7.269165 | 14.816395 | 21.453677 | 43.539237 |
| B -0.20979, book | 7.269164 | 14.816395 | 21.453658 | 43.539217 |
| B -0.209795 | 7.334043 | 14.607535 | 21.597569 | 43.539147 |
| B -0.209795, book | 7.334042 | 14.607535 | 21.59755 | 43.539127 |
Two years almost tie for their place in the order, and the year that comes first decides which unit gets the Wang weight. Units A and B agree to the six printed decimals. Unit C is 2e-5 higher here, within the unprinted digits of the scales and of the Wang parameter. The monograph’s conclusion holds: the optimum is flat, kinked and sensitive, so read it as a direction, not a target.
7. The range of possible prices
Chapter 6 asks which distortion to use. Section 6.1 starts from the
extremes, the mean (TVaR at 0) and the maximum (TVaR at 1). The CCoC is
the blend that puts weight d = 0.15 / 1.15 on the maximum
and the rest on the mean (Table 6.1):
blend <- distortion("bitvar", c(0, 1, 0.15 / 1.15))
table_61 <- data.frame(total = states, ccoc = wang_q(distortions$ccoc, insco@probs),
blend = wang_q(blend, insco@probs))
gt(table_61, rowname_col = "total") |>
tab_header("Table 6.1: the CCoC weights and the blend of mean and maximum",
"Rows are the seven portfolio totals") |>
cols_label(ccoc = "q, CCoC", blend = "q, blend") |>
fmt_number(columns = c(ccoc, blend), decimals = 3)| Table 6.1: the CCoC weights and the blend of mean and maximum | ||
| Rows are the seven portfolio totals | ||
| q, CCoC | q, blend | |
|---|---|---|
| 22 | 0.087 | 0.087 |
| 28 | 0.087 | 0.087 |
| 36 | 0.087 | 0.087 |
| 40 | 0.348 | 0.348 |
| 55 | 0.087 | 0.087 |
| 65 | 0.087 | 0.087 |
| 100 | 0.217 | 0.217 |
Infinitely many distortions price the portfolio at 53.565, and they
disagree about the units. The monograph spans them with five
representatives. premium_bounds() finds the true extremes
for each unit, always bi-TVaRs (Section 11.2 of Pricing Insurance
Risk):
by_family <- sapply(FAMILIES, function(f) {
units_only(natural_price(insco, distortions[[f]], assets = 100))$premium
}) # one row per unit, one column per family
bounds <- premium_bounds(insco, req_total$premium, assets = 100)
range_table <- data.frame(
unit = bounds$unit, lowest = bounds$lower, five_low = unname(apply(by_family, 1, min)),
five_high = unname(apply(by_family, 1, max)), highest = bounds$upper
)
gt(range_table, rowname_col = "unit") |>
tab_header("Premium of each unit: all distortions against the five", "Currency units") |>
cols_label(five_low = "five, low", five_high = "five, high") |>
fmt_number(columns = c(lowest, five_low, five_high, highest), decimals = 3)| Premium of each unit: all distortions against the five | ||||
| Currency units | ||||
| lowest | five, low | five, high | highest | |
|---|---|---|---|---|
| A | 13.098 | 13.739 | 14.127 | 15.033 |
| B | 17.466 | 18.349 | 20.412 | 20.412 |
| C | 19.255 | 19.371 | 21.304 | 22.098 |
Grey: all distortions. Coloured: the five. Dot: the plan.
library(ggplot2, exclude = "layer") # keeps prospicio's layer()
ranges <- data.frame(
unit = factor(paste("unit", UNITS), levels = paste("unit", UNITS)),
lower = bounds$lower, upper = bounds$upper,
five_low = apply(by_family, 1, min), five_high = apply(by_family, 1, max), plan = PLAN
)
ggplot(ranges, aes(y = unit)) +
geom_segment(aes(x = lower, xend = upper, yend = unit), linewidth = 6, colour = "grey75") +
geom_segment(aes(x = five_low, xend = five_high, yend = unit, colour = "the five"),
linewidth = 2.5) +
geom_point(aes(x = plan, colour = "plan"), size = 3) +
labs(x = "premium (currency units)", y = NULL, colour = NULL,
title = "Range of the premium of each unit (grey: all distortions)") +
theme(legend.position = "top")The five cover most of each unit’s range, not all of it: a distortion outside the five can price unit A as low as 13.098. The monograph warns that unless one distortion lies above another everywhere, the two rank some pair of risks in opposite orders. So distortions have no single order by price.
8. Required premium by distortion
Section 6.2 gives the required premium and loss ratio of each unit under each distortion (Table 6.2):
BOOK_62 <- rbind( # Table 6.2, premium by unit
ccoc = c(13.739, 18.522, 21.304), ph = c(14.060, 18.349, 21.156),
wang = c(14.109, 18.637, 20.818), dual = c(14.127, 19.117, 20.321),
tvar = c(13.783, 20.412, 19.371)
)
loss <- insco@expected
mine <- t(sapply(FAMILIES, function(f) {
c(stats::setNames(by_family[, f], c("a", "b", "c")),
stats::setNames(loss / by_family[, f], c("a_lr", "b_lr", "c_lr")))
}))
book <- cbind(unname(BOOK_62), matrix(NA_real_, 5, 3))
plan_row <- data.frame(distortion = "plan",
t(c(stats::setNames(PLAN, c("a", "b", "c")),
stats::setNames(loss / PLAN, c("a_lr", "b_lr", "c_lr")))))
table_62 <- rbind(interleave("distortion", FAMILIES, mine, book), plan_row)
pair_table(table_62, c(a = 3, b = 3, c = 3, a_lr = 1, b_lr = 1, c_lr = 1),
percent = c("a_lr", "b_lr", "c_lr")) |>
tab_header("Table 6.2: required premium and loss ratio by distortion", "Premium in currency units") |>
cols_label(a = "A premium", b = "B premium", c = "C premium", a_lr = "A loss ratio",
b_lr = "B loss ratio", c_lr = "C loss ratio")| Table 6.2: required premium and loss ratio by distortion | ||||||
| Premium in currency units | ||||||
| A premium | B premium | C premium | A loss ratio | B loss ratio | C loss ratio | |
|---|---|---|---|---|---|---|
| ccoc | 13.739 | 18.522 | 21.304 | 97.5% | 98.8% | 69.9% |
| ccoc, book | 13.739 | 18.522 | 21.304 | |||
| ph | 14.060 | 18.349 | 21.156 | 95.3% | 99.7% | 70.4% |
| ph, book | 14.06 | 18.349 | 21.156 | |||
| wang | 14.109 | 18.637 | 20.819 | 95.0% | 98.2% | 71.6% |
| wang, book | 14.109 | 18.637 | 20.818 | |||
| dual | 14.127 | 19.117 | 20.322 | 94.9% | 95.7% | 73.3% |
| dual, book | 14.127 | 19.117 | 20.321 | |||
| tvar | 13.783 | 20.412 | 19.371 | 97.2% | 89.7% | 76.9% |
| tvar, book | 13.783 | 20.412 | 19.371 | |||
| plan | 13.900 | 18.700 | 19.600 | 96.4% | 97.9% | 76.0% |
Section 6.3 shows which distortion is cheapest for each unit (Table 6.3):
for (i in 1:3) {
cheapest <- FAMILIES[which.min(by_family[i, ])]
within <- min(by_family[i, ]) <= PLAN[i]
cat(sprintf("%s: cheapest %s, plan meets at least one distortion: %s\n", UNITS[i], cheapest,
if (within) "True" else "False"))
}## A: cheapest ccoc, plan meets at least one distortion: True
## B: cheapest ph, plan meets at least one distortion: True
## C: cheapest tvar, plan meets at least one distortion: True
by_unit <- data.frame(
unit = factor(rep(paste("Unit", UNITS), times = length(FAMILIES)), levels = paste("Unit", UNITS)),
distortion = factor(rep(FAMILIES, each = 3), levels = FAMILIES),
premium = as.vector(by_family)
)
plans <- data.frame(unit = factor(paste("Unit", UNITS), levels = paste("Unit", UNITS)), premium = PLAN)
ggplot(by_unit, aes(distortion, premium)) +
geom_point(aes(colour = "required"), size = 2.5) +
geom_hline(aes(yintercept = premium, colour = "plan"), data = plans) +
facet_wrap(~ unit, scales = "free_y") +
labs(x = "distortion", y = "premium (currency units)", colour = NULL,
title = "Required premium by distortion, against the plan") +
theme(legend.position = "top", axis.text.x = element_text(angle = 45, hjust = 1))Unit C’s two small differences are rounding. The dual power premium is 20.32158, printed as 20.321 in Table 6.2 and 20.322 in Table 9.8 (the monograph’s dual parameter is a few millionths lower, on the rounding point). The Wang premium is 20.81858, printed as 20.818 in Table 6.2 and 20.819 in Table 5.1. Each unit’s plan meets at least one distortion, but no single distortion is met by all three plans.
9. Zeroing in, or embracing the range
Section 6.3 suggests calibration to the market where possible. Suppose InsCo’s Baa bonds have a real default probability of 1.5% to 2%, and the market prices them as if it were 2.5% to 4%. A candidate distortion should map the first range into the second:
lo <- sapply(FAMILIES, function(f) distortion_g(distortions[[f]], 0.015))
hi <- sapply(FAMILIES, function(f) distortion_g(distortions[[f]], 0.02))
bonds <- data.frame(distortion = FAMILIES, lo = unname(lo), hi = unname(hi),
fits = ifelse(hi >= 0.025 & lo <= 0.04, "yes", "no"))
gt(bonds, rowname_col = "distortion") |>
tab_header("Each distortion on the Baa bond's default probability", "g(s) at 1.5% and 2%") |>
cols_label(lo = "g(1.5%)", hi = "g(2%)", fits = "overlaps 2.5% to 4%") |>
fmt_percent(columns = c(lo, hi), decimals = 2)| Each distortion on the Baa bond's default probability | |||
| g(s) at 1.5% and 2% | |||
| g(1.5%) | g(2%) | overlaps 2.5% to 4% | |
|---|---|---|---|
| ccoc | 14.35% | 14.78% | no |
| ph | 4.85% | 5.97% | no |
| wang | 3.38% | 4.35% | yes |
| dual | 2.38% | 3.17% | yes |
| tvar | 2.06% | 2.74% | yes |
Wang and the dual power fit the bond, as the monograph’s “Dual and Wang, with TVaR a distant third” says. TVaR touches the window only at its top. PH and the CCoC overprice the bond’s risk.
Section 6.4 takes the other path: no distortion is right, but the range gives information. The stop loss of section 3 is worth 7.6 under the CCoC and 4.8 under TVaR, as wide as the reinsurance cycle:
ceded_rows <- lapply(FAMILIES, function(f) {
re <- units_only(natural_price(split, distortions[[f]], assets = 100))
re[re$unit == "ceded", ]
})
cover <- data.frame(
distortion = FAMILIES, worth = sapply(ceded_rows, function(r) r$premium),
lr = sapply(ceded_rows, function(r) r$loss / r$premium),
buy = ifelse(sapply(ceded_rows, function(r) r$premium) > 6.5, "yes", "no")
)
gt(cover, rowname_col = "distortion") |>
tab_header("The stop loss to InsCo by distortion", "Value in currency units; quoted premium 6.5") |>
cols_label(worth = "cover worth", lr = "loss ratio", buy = "buy at 6.5") |>
fmt_number(columns = worth, decimals = 3) |>
fmt_percent(columns = lr, decimals = 0)| The stop loss to InsCo by distortion | |||
| Value in currency units; quoted premium 6.5 | |||
| cover worth | loss ratio | buy at 6.5 | |
|---|---|---|---|
| ccoc | 7.609 | 46% | yes |
| ph | 6.662 | 53% | yes |
| wang | 6.087 | 58% | no |
| dual | 5.415 | 65% | no |
| tvar | 4.803 | 73% | no |
worth <- data.frame(
distortion = factor(FAMILIES, levels = FAMILIES),
premium = sapply(FAMILIES, function(f) {
re <- units_only(natural_price(split, distortions[[f]], assets = 100))
re$premium[re$unit == "ceded"]
})
)
ggplot(worth, aes(distortion, premium)) +
geom_col() +
geom_hline(aes(yintercept = 6.5, colour = "quoted premium")) +
labs(x = "distortion", y = "premium (currency units)", colour = NULL,
title = "Value of the stop loss to InsCo by distortion (bars)") +
theme(legend.position = "top")A plan inside a unit’s range, as all three are here, is consistent
with some risk appetite. A plan outside the range of every distortion is
consistent with none and needs scrutiny. premium_bounds()
shows such a plan.
For which distortion to use and how to calibrate it to quotes, see the Python guide Risk loads and distortions. For capital by unit (section 8.3 of the monograph), see section 5 of the chapter 9 guide.