Skip to contents

occurrence_cession_statistics() is the total cession of several per-occurrence layers side by side, as the Python package aggregate's Ceded column of reins_stats_df: a claim cedes the sum of share * min(max(x - attachment, 0), limit) over the layers. It gives the chance a claim reaches the lowest layer and of a loss in the year, the loss on line over the placed limits, and the moments of the ceded loss per ground-up claim and in the year, exact for the grid. aggregate_layer_statistics() is a layer of an annual total, an aggregate cover such as a stop loss: the chances of reaching (P(S > attachment), also the chance of a loss to it) and exhausting it (P(S >= attachment + limit)), the loss on line and the moments of the ceded loss.

Usage

occurrence_cession_statistics(
  frequency,
  severity,
  limits,
  attachments,
  shares = 1
)

aggregate_layer_statistics(annual, limit, attachment, share = 1)

Arguments

frequency

A poisson_count, negative_binomial_count or binomial_count.

severity

A grid_distribution.

limits, attachments, shares

One per layer; shares is recycled.

annual

A grid_distribution of the annual total the cover sees, such as tower_on_grid()'s gross or net.

limit, attachment, share

The aggregate cover.

Value

occurrence_cession_statistics(): a list with pr_attach, pr_loss, loss_on_line, severity and aggregate. aggregate_layer_statistics(): a list with pr_attach, pr_detach, loss_on_line and aggregate. Moments are named vectors as compound_moments().

Examples

sev <- grid_distribution(1, c(0, 0.4, 0.3, 0.2, 0.1))
occurrence_cession_statistics(poisson_count(3), sev, limits = c(1, 2), attachments = c(1, 2))
#> $pr_attach
#> [1] 0.6
#> 
#> $pr_loss
#> [1] 0.8347011
#> 
#> $loss_on_line
#> [1] 1
#> 
#> $severity
#>           mean       variance third_cumulant             cv           skew 
#>            1.0            1.0            0.6            1.0            0.6 
#> 
#> $aggregate
#>           mean       variance third_cumulant             cv           skew 
#>      3.0000000      6.0000000     13.8000000      0.8164966      0.9389711 
#> 
annual <- tower_on_grid(reinsurance_tower(list(xol_layer("2x2", 2, 2))),
                        poisson_count(3), sev, points = 200)$gross
aggregate_layer_statistics(annual, limit = 5, attachment = 6)
#> $pr_attach
#> [1] 0.4012038
#> 
#> $pr_detach
#> [1] 0.1280292
#> 
#> $loss_on_line
#> [1] 0.2513532
#> 
#> $aggregate
#>           mean       variance third_cumulant             cv           skew 
#>       1.256766       3.338926       6.883586       1.453949       1.128248 
#>