Skip to contents

For aggregate losses A with mean E and an entry ratio r (losses as a multiple of their expectation), the insurance charge is phi(r) = E[max(A / E - r, 0)] and the insurance savings psi(r) = E[max(r - A / E, 0)], with phi(r) - psi(r) = 1 - r. These are the two columns of a Table M.

Usage

insurance_charge(aggregate, entry_ratios, unlimited_expected = NULL)

Arguments

aggregate

The aggregate losses: a grid_distribution (from compound_distribution() or compound_auto()), or a numeric vector of simulated or observed totals, each equally likely.

entry_ratios

Entry ratios at which to evaluate.

unlimited_expected

For a Table L, the expected aggregate loss without the per-occurrence limit; NULL otherwise.

Value

A data frame with columns entry_ratio, charge and savings, and attributes expected (what the entry ratios multiply) and loss_elimination (k; 0 unless a Table L).

Details

With a per-occurrence limit, pass the limited aggregate. Left alone it gives the limited Table M, with entry ratios on the limited expected loss. With unlimited_expected it gives a Table L: entry ratios on the unlimited expected loss, and the share of losses the limit removes, k = (E - E*) / E, added to the charge, so that phi - psi = 1 - r still.

Examples

# Four equally likely years.
insurance_charge(c(0, 50, 100, 250), c(0, 0.5, 1, 2))
#>   entry_ratio charge savings
#> 1         0.0  1.000   0.000
#> 2         0.5  0.625   0.125
#> 3         1.0  0.375   0.375
#> 4         2.0  0.125   1.125

# A compound Poisson on a grid.
sev <- discretize(gamma_from_mean_cv(10, 1), step = 0.25, points = 2^10)
agg <- compound_distribution(poisson_count(4), sev, 2^12, method = "fft")
insurance_charge(agg, c(0.5, 1, 1.5))
#>   entry_ratio    charge   savings
#> 1         0.5 0.5651610 0.0651610
#> 2         1.0 0.2775800 0.2775800
#> 3         1.5 0.1218343 0.6218343

# Table L: the same years with each occurrence limited, unlimited mean 132.5.
tl <- insurance_charge(c(110, 100, 0, 200), c(0, 1), unlimited_expected = 132.5)
attr(tl, "loss_elimination")
#> [1] 0.2264151