Skip to main content

aggregate.occurrence_exceedance()

The chance that the year’s largest occurrence exceeds x,

Usage

aggregate.occurrence_exceedance(
    frequency, severity, x, tower=None, view="ceded"
)

1 - G_N(F(x)) with G_N the count’s generating function: the occurrence exceedance (OEP) curve.

Parameters

frequency: a claim count
severity: a severity
x: float

A loss of the view.

tower: Tower = None

An occurrence program; with it the curve is of view.

view: str = "ceded"
"gross", "ceded" (the tower’s total ceded loss of an occurrence, before annual terms) or "net".

Returns

float

Examples

>>> import math
>>> from prospicio.aggregate import occurrence_exceedance
>>> from prospicio.distributions import Lognormal, Poisson
>>> sev = Lognormal.from_mean_cv(100.0, 2.0)
>>> oep = occurrence_exceedance(Poisson(2.0), sev, 500.0)
>>> abs(oep - (1 - math.exp(-2 * (1 - sev.cdf(500.0))))) < 1e-12

True