reserving.SeparationFit
A separation fit of one triangle segment.
Usage
reserving.SeparationFit()Attributes
origins: list of str-
The origin periods; normaliser, fitted and reserves follow them.
ages: list of int-
The development ages in months; proportions and the columns of fitted follow them.
normaliser: list of float-
n_i(1 when none was given). proportions: list of float-
r_j, summing to 1. calendar: list of str-
The triangle’s calendar periods, at the origins’ grain.
indices: list of float-
lambda_h, one per calendar period. future_indices: dict-
The calendar periods after the triangle’s last, up to the last future cell’s, as
{"period": [...], "index": [...]}. fitted: list of list of float-
n_i r_j lambda_(i+j)on the observed cells,Noneon the future ones; one row per origin. future: FutureCells-
n_i r_j lambda_(i+j)on the future cells (at the money of their payment periods; there is no tail past the oldest age). reserves: list of float-
The sum of each origin’s future cells: the first origin’s is 0.
log_variance: float or None-
The geometric methods’ residual variance on the log scale;
Nonefor the arithmetic method and when no degrees of freedom are left (as on 2 origins). total_reserve: float
Attributes
| Name | Description |
|---|---|
| ages | The development ages in months; proportions and the columns of fitted follow them. |
| calendar | The triangle’s calendar periods, at the origins’ grain. |
| fitted |
n_i r_j lambda_(i+j) on the observed cells, None on the future ones.
|
| future |
The future cells, n_i r_j lambda_(i+j), as FutureCells.
|
| future_indices |
The periods after the triangle’s last, as {"period": [...], "index": [...]}.
|
| indices |
The index lambda_h of each calendar period.
|
| log_variance |
The geometric methods’ residual variance on the log scale, or None.
|
| normaliser |
The normaliser n_i, one per origin (1 when none was given).
|
| origins | The origin periods; normaliser, fitted and reserves follow them. |
| proportions |
The development proportions r_j, one per age, summing to 1.
|
| reserves | The sum of each origin’s future cells; the first origin’s is 0. |
| total_reserve | The total reserve. |
ages
The development ages in months; proportions and the columns of fitted follow them.
ages: list[int]
calendar
The triangle’s calendar periods, at the origins’ grain.
calendar: list[str]
fitted
n_i r_j lambda_(i+j) on the observed cells, None on the future ones.
fitted: list[list[float | None]]
future
The future cells, n_i r_j lambda_(i+j), as FutureCells.
future: FutureCells
future_indices
The periods after the triangle’s last, as {"period": [...], "index": [...]}.
future_indices: dict
indices
The index lambda_h of each calendar period.
indices: list[float]
log_variance
The geometric methods’ residual variance on the log scale, or None.
log_variance: float | None
normaliser
The normaliser n_i, one per origin (1 when none was given).
normaliser: list[float]
origins
The origin periods; normaliser, fitted and reserves follow them.
origins: list[str]
proportions
The development proportions r_j, one per age, summing to 1.
proportions: list[float]
reserves
The sum of each origin’s future cells; the first origin’s is 0.
reserves: list[float]
total_reserve
The total reserve.
total_reserve: float