Skip to main content

reinsurance.aggregate_layer_statistics()

The statistics of share of limit xs attachment on an annual

Usage

reinsurance.aggregate_layer_statistics(
    annual,
    share,
    limit,
    attachment,
)

total, an aggregate cover such as a stop loss, as aggregate’s reins_stats_df for its agg layers: the chances of reaching and exhausting the cover, the loss on line and the ceded loss’s first three cumulants, exact for the grid.

Parameters

annual: Grid

The annual total the cover sees: a compound grid, or a tower’s net.

share: float
limit: float

May be inf.

attachment: float

Returns

AggregateLayerStatistics

Examples

>>> from prospicio.reinsurance import aggregate_layer_statistics
>>> from prospicio.distributions import Grid
>>> s = aggregate_layer_statistics(Grid(1.0, [0.2, 0.3, 0.3, 0.2]), 1.0, 1.0, 1.0)
>>> round(s.pr_attach, 12), round(s.aggregate.mean, 12)

(0.5, 0.5)