## reserving.RatioDevelopment


The ratio of two columns of one triangle, developed to ultimate and


Usage

``` python
reserving.RatioDevelopment()
```


applied to ultimate claims: Friedland's ratio approach to salvage and subrogation (chapter 14) and to ALAE (chapter 16).

Each cell's ratio comes from the two cumulative columns; a cell whose denominator is zero or missing has none. The latest ratio is developed to ultimate, a selected ratio replaces it where the actuary judges otherwise, and the numerator's ultimate is the ratio times the ultimate claims from any method.

A ratio of exactly zero has no link ratio to the next age, so the simple average stops on it; the volume average, `additive` or a selected [ldf](reserving.Mack.md#prospicio.reserving.Mack.ldf) at that age take it.


## Parameters


`development: ChainLadder`  
How the ratio's factors are estimated, with its tail and any selected [ldf](reserving.Mack.md#prospicio.reserving.Mack.ldf). By default the simple average of every link ratio with no tail, as Friedland averages ratios. Additive factors need `average="simple"` and no tail or [ldf](reserving.Mack.md#prospicio.reserving.Mack.ldf).

`selected: dict`  
An ultimate ratio by origin, as a label or integer year, which replaces the projected one: `{2008: 0.345}`.

`additive: bool = ``False`  
Average the differences between ages and add them to ultimate, Friedland's chapter 16, Exhibit I, Sheets 9 and 10, instead of multiplying age-to-age factors.

`additive_selected: dict`  
Selected differences by the age they start from, for `additive`.

`additive_tail: float = ``0.0`  
The addition past the oldest age, for `additive`.


## Methods

| Name | Description |
|----|----|
| [fit()](#fit) | Fits the ratio of `numerator` to `denominator`, two columns of a |

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


#### fit()


Fits the ratio of `numerator` to `denominator`, two columns of a


Usage

``` python
fit(triangle, numerator, denominator, ultimate_claims)
```


single-segment triangle, and applies it to [ultimate_claims](reserving.RatioDevelopmentFit.md#prospicio.reserving.RatioDevelopmentFit.ultimate_claims), one value per origin, oldest first.


##### Parameters


`triangle: Triangle`  
The triangle holding both columns.

`numerator: str`  
The cumulative column to project: received recoveries, paid ALAE.

`denominator: str`  
The cumulative column it is a ratio to: paid claims.

`ultimate_claims: sequence of float`  
The ultimate claims, from any method.


##### Returns


`RatioDevelopmentFit`
