pricing.ParetoAnchor
The Pareto above a threshold fitted to trended losses, with claims
Usage
pricing.ParetoAnchor()closed at their policy limit censored: alpha = uncensored count / sum ln(y / t), its standard error alpha / sqrt(n), and the number of exceedances it rests on.
Examples
>>> from prospicio.pricing import ParetoAnchor
>>> a = ParetoAnchor.fit(1e6, [1.5e6, 2.5e6, 4e6, 2e6], censored=[False, False, False, True])
>>> (a.exceedances, a.censored)(4, 1)
Attributes
| Name | Description |
|---|---|
| alpha | The censored maximum likelihood alpha. |
| censored | Of which censored at a policy limit. |
| exceedances | Losses at or above the threshold. |
| standard_error |
Its standard error from the observed information, alpha / sqrt(n).
|
| threshold | The Pareto’s threshold. |
alpha
The censored maximum likelihood alpha.
alpha: float
censored
Of which censored at a policy limit.
censored: int
exceedances
Losses at or above the threshold.
exceedances: int
standard_error
Its standard error from the observed information, alpha / sqrt(n).
standard_error: float
threshold
The Pareto’s threshold.
threshold: float
Methods
| Name | Description |
|---|---|
| fit() | Fits the Pareto from threshold to the losses at or above it. |
| interval() |
The alpha ± z standard errors, the lower end kept above 0.
|
fit()
Usage
fit(threshold, losses, censored=None)Parameters
threshold: floatlosses: list of floatcensored: list of bool = None- Where a loss was closed at its policy limit; none by default.
interval()
The alpha ± z standard errors, the lower end kept above 0.
Usage
interval(z)