Skip to main content

aggregate.RenewalRuin

The probability of eventual ruin at each initial surplus on the grid

Usage

aggregate.RenewalRuin()

when the waits between claims follow any law, by Wiener–Hopf, from wiener_hopf.

Attributes

Name Description
maximum The probabilities of the claim walk’s all-time maximum at each grid
mean_step The grid’s mean step of the claim walk X - cW, negative.
premium_rate The premium rate c = (1 + rho) E[X] / E[W].
psi psi(u) at each grid point; the last shows the mass beyond the
rho The margin rho.
severity_mean The severity’s mean on the grid.
u The initial surplus at each grid point.

maximum

The probabilities of the claim walk’s all-time maximum at each grid

maximum: list[float]

point.


mean_step

The grid’s mean step of the claim walk X - cW, negative.

mean_step: float


premium_rate

The premium rate c = (1 + rho) E[X] / E[W].

premium_rate: float


psi

psi(u) at each grid point; the last shows the mass beyond the

psi: list[float]

grid.


rho

The margin rho.

rho: float


severity_mean

The severity’s mean on the grid.

severity_mean: float


u

The initial surplus at each grid point.

u: list[float]

Methods

Name Description
capital() The initial surplus for ruin probability p: the smallest grid
psi_at() psi(u) at any initial surplus (constant between grid points).

capital()

The initial surplus for ruin probability p: the smallest grid

Usage

capital(p, interpolate=False)

point with psi(u) < p, or linear between grid points.

Parameters
p: float
interpolate: bool = False
Returns
float or None
None when the grid does not reach it.

psi_at()

psi(u) at any initial surplus (constant between grid points).

Usage

psi_at(u)
Parameters
u: float
Returns
float