reserving.Disposal
The disposal rate method (Friedland, chapter 11): incremental closed
Usage
reserving.Disposal()counts from selected disposal rates, each priced at a selected incremental severity brought to the origin’s cost level.
Parameters
closed_counts: str-
The cumulative closed count column.
paid: str-
The cumulative paid claims column.
ultimate_counts-
Numbers, one per origin; a column for the chain ladder on it; a pair
(column, ChainLadder); or a list of these for their mean. disposal_rates: optional-
How the rate at each age is selected:
Noneor"all"for the simple average of every origin, an integer for the latest n,"latest_diagonal", a dict of values by age, or a dict of n_periods, drop_high and drop_low. severities: optional-
How the incremental severity at each age is selected, as disposal_rates, on severities at the base origin’s level.
tail_severity_from: int-
The age from which the severities are pooled into one value, total trended paid over total counts, used to ultimate. By default the last selection carries on.
trend: float = 0.0-
The annual severity trend.
base: int or str-
The origin of the common cost level; by default the latest origin.
factors: sequence of float- One factor per origin that brings its severities to the base level besides the trend (tort reform factors).
Examples
>>> from prospicio.reserving import Disposal, Triangle
>>> tri = Triangle.from_long([2020, 2020, 2021], [12, 24, 12],
... {"closed": [5.0, 10.0, 6.0], "paid": [50.0, 100.0, 60.0]})
>>> fit = Disposal("closed", "paid", [10.0, 12.0]).fit(tri)
>>> round(fit.ultimate[1], 6)120.0
Methods
| Name | Description |
|---|---|
| fit() | Fit to a single-segment triangle holding the columns. |
fit()
Fit to a single-segment triangle holding the columns.
Usage
fit(triangle)Parameters
triangle: Triangle
Returns
DisposalFit