## reserving.PaidIncurredFit


A paid-incurred chain fitted by [PaidIncurredChain.fit](reserving.PaidIncurredChain.md#prospicio.reserving.PaidIncurredChain.fit). Per-origin


Usage

``` python
reserving.PaidIncurredFit()
```


lists run over the triangle's origins; the oldest is taken as settled at its last paid value, with no reserve and no error.


## Attributes

| Name | Description |
|----|----|
| [development](#development) | Development ages in months, one per period. |
| [incurred_weight](#incurred_weight) | Weight of the incurred side in each origin's prediction. |
| [latest](#latest) | Latest paid value per origin. |
| [latest_incurred](#latest_incurred) | Latest incurred value per origin. |
| [origins](#origins) | Origin period of each per-origin value. |
| [phi](#phi) | Posterior means of `Phi_0, ..., Phi_J`. |
| [phi_sd](#phi_sd) | Posterior standard deviations of `Phi_0, ..., Phi_J`. |
| [posterior_covariance](#posterior_covariance) | Posterior covariance of `(Phi_0, ..., Phi_J, Psi_0, ...,</td> </tr> <tr> <td>[psi](#psi)</td> <td>Posterior means of`Psi_0, …, Psi\_{J-1}`.</td> </tr> <tr> <td>[psi_sd](#psi_sd)</td> <td>Posterior standard deviations of`Psi_0, …, Psi\_{J-1}\`\`. |
| [reserve](#reserve) | Reserve per origin: the ultimate less the latest paid value. |
| [sigma](#sigma) | Paid standard deviations used, one per development age. |
| [std_err](#std_err) | Square root of each origin's conditional mean squared error of |
| [tau](#tau) | Incurred standard deviations used, one per age but the last. |
| [total_reserve](#total_reserve) | Total reserve. |
| [total_std_err](#total_std_err) | Square root of the total's conditional mean squared error of |
| [total_ultimate](#total_ultimate) | Total ultimate, the oldest origin's last paid value included. |
| [ultimate](#ultimate) | Predicted ultimate per origin. |

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


#### development


Development ages in months, one per period.


`development: list[int]`


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


#### incurred_weight


Weight of the incurred side in each origin's prediction.


`incurred_weight: list[float]`


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


#### latest


Latest paid value per origin.


`latest: list[float]`


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


#### latest_incurred


Latest incurred value per origin.


`latest_incurred: list[float]`


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


#### origins


Origin period of each per-origin value.


`origins: list[str]`


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


#### phi


Posterior means of `Phi_0, ..., Phi_J`.


`phi: list[float]`


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


#### phi_sd


Posterior standard deviations of `Phi_0, ..., Phi_J`.


`phi_sd: list[float]`


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


#### posterior_covariance


Posterior covariance of \`\`(Phi_0, …, Phi_J, Psi_0, …,


`posterior_covariance: list[list[float]]`


Psi\_{J-1})\`\`, as a list of rows.


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


#### psi


Posterior means of `Psi_0, ..., Psi_{J-1}`.


`psi: list[float]`


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


#### psi_sd


Posterior standard deviations of `Psi_0, ..., Psi_{J-1}`.


`psi_sd: list[float]`


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


#### reserve


Reserve per origin: the ultimate less the latest paid value.


`reserve: list[float]`


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


#### sigma


Paid standard deviations used, one per development age.


`sigma: list[float]`


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


#### std_err


Square root of each origin's conditional mean squared error of


`std_err: list[float]`


prediction.


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


#### tau


Incurred standard deviations used, one per age but the last.


`tau: list[float]`


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


#### total_reserve


Total reserve.


`total_reserve: float`


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


#### total_std_err


Square root of the total's conditional mean squared error of


`total_std_err: float`


prediction, with the covariance between origins.


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


#### total_ultimate


Total ultimate, the oldest origin's last paid value included.


`total_ultimate: float`


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


#### ultimate


Predicted ultimate per origin.


`ultimate: list[float]`


## Methods

| Name | Description |
|----|----|
| [development_frame()](#development_frame) | One row per development age: [sigma](reserving.MackFit.md#prospicio.reserving.MackFit.sigma), [phi](reserving.PaidIncurredFit.md#prospicio.reserving.PaidIncurredFit.phi), [phi_sd](reserving.PaidIncurredFit.md#prospicio.reserving.PaidIncurredFit.phi_sd), |
| [to_frame()](#to_frame) | One row per origin: `origin`, [latest](reserving.MackFit.md#prospicio.reserving.MackFit.latest) (paid), |
| [totals_frame()](#totals_frame) | One row: the total [latest](reserving.MackFit.md#prospicio.reserving.MackFit.latest), [latest_incurred](reserving.MunichFit.md#prospicio.reserving.MunichFit.latest_incurred), [ultimate](reserving.MackFit.md#prospicio.reserving.MackFit.ultimate), |

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


#### development_frame()


One row per development age: [sigma](reserving.MackFit.md#prospicio.reserving.MackFit.sigma), [phi](reserving.PaidIncurredFit.md#prospicio.reserving.PaidIncurredFit.phi), [phi_sd](reserving.PaidIncurredFit.md#prospicio.reserving.PaidIncurredFit.phi_sd),


Usage

``` python
development_frame()
```


[tau](esg.Svensson.md#prospicio.esg.Svensson.tau), [psi](aggregate.Ruin.md#prospicio.aggregate.Ruin.psi) and [psi_sd](reserving.PaidIncurredFit.md#prospicio.reserving.PaidIncurredFit.psi_sd) (NaN at the last age for the incurred side). Needs pandas.


##### Returns


`pandas.DataFrame`  


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


#### to_frame()


One row per origin: `origin`, [latest](reserving.MackFit.md#prospicio.reserving.MackFit.latest) (paid),


Usage

``` python
to_frame()
```


[latest_incurred](reserving.MunichFit.md#prospicio.reserving.MunichFit.latest_incurred), [ultimate](reserving.MackFit.md#prospicio.reserving.MackFit.ultimate), [reserve](reserving.MackFit.md#prospicio.reserving.MackFit.reserve), [incurred_weight](reserving.PaidIncurredFit.md#prospicio.reserving.PaidIncurredFit.incurred_weight) and [std_err](reserving.MackFit.md#prospicio.reserving.MackFit.std_err). Needs pandas.


##### Returns


`pandas.DataFrame`  


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


#### totals_frame()


One row: the total [latest](reserving.MackFit.md#prospicio.reserving.MackFit.latest), [latest_incurred](reserving.MunichFit.md#prospicio.reserving.MunichFit.latest_incurred), [ultimate](reserving.MackFit.md#prospicio.reserving.MackFit.ultimate),


Usage

``` python
totals_frame()
```


[reserve](reserving.MackFit.md#prospicio.reserving.MackFit.reserve) and the [std_err](reserving.MackFit.md#prospicio.reserving.MackFit.std_err) of the total. Needs pandas.


##### Returns


`pandas.DataFrame`
