Skip to contents

The ledger of a pnl_book() with per-occurrence covers, as the Python package aggregate's xpnl and pnl over its occ_bivariate. The ceded aggregate is not a function of the gross aggregate (the claim count decouples them), so the source is their joint law: occurrence_source() sends each claim on the severity's grid to (x, c(x)), c the tower's cession of one event (split linearly between grid points), compounds the pairs by a two-dimensional FFT on points points per axis, and drops cells below 1e-15 of the total mass as round-off.

Usage

occurrence_source(frequency, severity, occurrence, points)

book_occurrence_ledger(
  book,
  joint,
  occurrence,
  aggregate = NULL,
  face = "consolidated"
)

Arguments

frequency

A claim count, as poisson_count().

severity

A grid_distribution of one claim.

occurrence

A reinsurance_tower of per-occurrence covers.

points

The number of points on each axis, c(gross, ceded).

book

A pnl_book().

joint

list(gross, ceded, probs), from occurrence_source().

aggregate

NULL or a reinsurance_tower of aggregate covers.

face

"consolidated", "walk", "peel-top-down" or "peel-bottom-up".

Value

occurrence_source() a list(gross, ceded, probs), book_occurrence_ledger() a pnl_ledger().

Details

book_occurrence_ledger() lays the book out over that joint: on a walk the occurrence covers are one group named after the first layer, then each aggregate cover of aggregate recovers its cession of the net of the occurrence covers; a peel needs exactly one occurrence layer; the consolidated face is over the net loss at each atom. A single occurrence layer may carry annual terms and paid reinstatements, on the joint's unlimited annual cession R: its recovery A(R) and premium D + h(R) then vary with the year. On a tier of several layers they are refused.

Examples

sev <- grid_distribution(1, c(0, 0.5, 0.3, 0, 0.2))
occ <- reinsurance_tower(list(with_ceding_commission(
  with_deposit_premium(xol_layer("occ 2 xs 2", 2, 2), 2), 0.25)))
joint <- occurrence_source(poisson_count(2), sev, occ, c(64, 32))
book <- pnl_book("Ex4", 20, list(pnl_expense("premium", 0.1)))
mean(ledger_result(book_occurrence_ledger(book, joint, occ, face = "walk")))
#> [1] 13.5