Skip to main content

credibility.LimitedFluctuation

Limited fluctuation (classical) credibility: full credibility standards

Usage

credibility.LimitedFluctuation()

in claims for the frequency, the severity and the pure premium, and the square root rule for partial credibility.

The method, its formulas and its reference are documented once, in the Rust reference: https://docs.rs/prospicio-pricing/latest/prospicio_pricing/credibility/struct.LimitedFluctuation.html

Parameters

p: float = 0.90

Probability, in (0, 1), of lying within k of the mean.

k: float = 0.05
Tolerance relative to the mean, positive.

Raises

ValueError
If p is not in (0, 1) or k is not positive.

Examples

>>> from prospicio.credibility import LimitedFluctuation
>>> lf = LimitedFluctuation(0.90, 0.05)
>>> round(lf.frequency_standard())

1082

>>> lf.p, lf.k

(0.9, 0.05)

Attributes

Name Description
k The tolerance k, relative to the mean.
p The probability p of lying within k of the mean.

k

The tolerance k, relative to the mean.

k: float


p

The probability p of lying within k of the mean.

p: float

Methods

Name Description
credibility() Partial credibility of n claims against a full standard, by the
frequency_standard() Full standard for the frequency, in expected claims.
pure_premium_standard() Full standard for the pure premium, in expected claims.
severity_standard() Full standard for the severity, in claims.

credibility()

Partial credibility of n claims against a full standard, by the

Usage

credibility(n, standard)

square root rule.

Parameters
n: float
standard: float
Returns
float

frequency_standard()

Full standard for the frequency, in expected claims.

Usage

frequency_standard()
Returns
float

pure_premium_standard()

Full standard for the pure premium, in expected claims.

Usage

pure_premium_standard(cv)
Parameters
cv: float
The severity’s coefficient of variation.
Returns
float

severity_standard()

Full standard for the severity, in claims.

Usage

severity_standard(cv)
Parameters
cv: float
The severity’s coefficient of variation.
Returns
float