## reserving.SeparationFit


A separation fit of one triangle segment.


Usage

``` python
reserving.SeparationFit()
```


## Attributes


`origins: list of str`  
The origin periods; [normaliser](reserving.Separation.md#prospicio.reserving.Separation.normaliser), [fitted](models.GlmFit.md#prospicio.models.GlmFit.fitted) and [reserves](reserving.ApcGlmFit.md#prospicio.reserving.ApcGlmFit.reserves) follow them.

`ages: list of int`  
The development ages in months; [proportions](reserving.SeparationFit.md#prospicio.reserving.SeparationFit.proportions) and the columns of [fitted](models.GlmFit.md#prospicio.models.GlmFit.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, `None` on 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; `None` for the arithmetic method and when no degrees of freedom are left (as on 2 origins).

`total_reserve: float`  


## Attributes

| Name | Description |
|----|----|
| [ages](#ages) | The development ages in months; [proportions](reserving.SeparationFit.md#prospicio.reserving.SeparationFit.proportions) and the columns of [fitted](models.GlmFit.md#prospicio.models.GlmFit.fitted) follow them. |
| [calendar](#calendar) | The triangle's calendar periods, at the origins' grain. |
| [fitted](#fitted) | `n_i r_j lambda_(i+j)` on the observed cells, `None` on the future ones. |
| [future](#future) | The future cells, `n_i r_j lambda_(i+j)`, as [FutureCells](reserving.FutureCells.md#prospicio.reserving.FutureCells). |
| [future_indices](#future_indices) | The periods after the triangle's last, as `{"period": [...], "index": [...]}`. |
| [indices](#indices) | The index `lambda_h` of each calendar period. |
| [log_variance](#log_variance) | The geometric methods' residual variance on the log scale, or `None`. |
| [normaliser](#normaliser) | The normaliser `n_i`, one per origin (1 when none was given). |
| [origins](#origins) | The origin periods; [normaliser](reserving.Separation.md#prospicio.reserving.Separation.normaliser), [fitted](models.GlmFit.md#prospicio.models.GlmFit.fitted) and [reserves](reserving.ApcGlmFit.md#prospicio.reserving.ApcGlmFit.reserves) follow them. |
| [proportions](#proportions) | The development proportions `r_j`, one per age, summing to 1. |
| [reserves](#reserves) | The sum of each origin's future cells; the first origin's is 0. |
| [total_reserve](#total_reserve) | The total reserve. |

------------------------------------------------------------------------


#### ages


The development ages in months; [proportions](reserving.SeparationFit.md#prospicio.reserving.SeparationFit.proportions) and the columns of [fitted](models.GlmFit.md#prospicio.models.GlmFit.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](reserving.FutureCells.md#prospicio.reserving.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](reserving.Separation.md#prospicio.reserving.Separation.normaliser), [fitted](models.GlmFit.md#prospicio.models.GlmFit.fitted) and [reserves](reserving.ApcGlmFit.md#prospicio.reserving.ApcGlmFit.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`
