reinsurance.occurrence_cession_statistics()
The statistics of the total cession of several per-occurrence layers
Usage
reinsurance.occurrence_cession_statistics(
frequency,
severity,
layers,
)side by side, as aggregate’s Ceded column of reins_stats_df: a claim cedes the sum of share * min(max(x - a, 0), limit) over the layers. Moments are exact for the grid.
Parameters
frequency: (Poisson, NegativeBinomial or Binomial)severity: Gridlayers: list of (share, limit, attachment)
Returns
CessionStatistics
Examples
>>> from prospicio.reinsurance import occurrence_cession_statistics
>>> from prospicio.distributions import Grid, Poisson
>>> sev = Grid(1.0, [0.0, 0.4, 0.3, 0.2, 0.1])
>>> c = occurrence_cession_statistics(Poisson(3.0), sev, [(1.0, 1.0, 1.0), (1.0, 2.0, 2.0)])
>>> round(c.aggregate.mean, 12)3.0