## reserving.settlement_rate_adjust()


The triangle restated at the settlement rate of the latest diagonal


Usage


``` python
reserving.settlement_rate_adjust(
    triangle,
    paid,
    closed_counts,
    ultimate_counts,
    disposal_rates=None,
    interpolation="exponential"
)
```


(Berquist and Sherman; Friedland, chapter 13): closed counts are the selected disposal rates times each origin's ultimate counts, and paid claims are read off a curve through each origin's observed (closed count, paid) pairs at those counts.


## Parameters


`triangle: Triangle`  

`paid: str`  
The paid claims and closed count columns, both replaced.

`closed_counts: str`  
The paid claims and closed count columns, both replaced.

`ultimate_counts: Any`  
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 = ``"latest_diagonal"`  
As [Disposal](reserving.Disposal.md#prospicio.reserving.Disposal)'s [disposal_rates](reserving.DisposalFit.md#prospicio.reserving.DisposalFit.disposal_rates).

`interpolation: (exponential, linear) = ``"exponential"`  
The curve between two successive points.


## Returns


`Triangle`  


## Examples

``` python
>>> from prospicio.reserving import Triangle, settlement_rate_adjust
>>> tri = Triangle.from_long([2020, 2020, 2021], [12, 24, 12], {
...     "paid": [50.0, 100.0, 60.0], "closed": [5.0, 10.0, 6.0]})
>>> settlement_rate_adjust(tri, "paid", "closed", [10.0, 12.0]).columns
```

\['paid', 'closed'\]
