## pricing.IndexClause


An index (stability) clause: the treaty's retention and limit move with


Usage

``` python
pricing.IndexClause()
```


an index, by the ratio [r](distributions.NegativeBinomial.md#prospicio.distributions.NegativeBinomial.r) of the index at a loss's payment to the index at the treaty's base date, within a franchise.

With `kind="full"`, nothing moves while `|r - 1|` is within the franchise, and beyond it the terms move by all of [r](distributions.NegativeBinomial.md#prospicio.distributions.NegativeBinomial.r), up or down. With `kind="severe"` (a severe inflation clause), the terms move only by the rise beyond the franchise, `r / (1 + franchise)`, and never down.


## Parameters


`franchise: float`  
A fraction, such as 0.1 for 10%.

`kind: (full, severe) = ``"full"`  


## Examples

``` python
>>> from prospicio.pricing import IndexClause
>>> IndexClause(0.1).adjustment(1.25)
```

1.25

``` python
>>> round(IndexClause(0.1, kind="severe").adjustment(1.21), 12)
```

1.1


## Attributes

| Name | Description |
|----|----|
| [franchise](#franchise) | The franchise. |
| [kind](#kind) | `"full"` or `"severe"`. |

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


#### franchise


The franchise.


`franchise: float`


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


#### kind


`"full"` or `"severe"`.


`kind: str`


## Methods

| Name | Description |
|----|----|
| [adjustment()](#adjustment) | The factor the terms move by at index ratio [ratio](reserving.UlaeEstimate.md#prospicio.reserving.UlaeEstimate.ratio). |

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


#### adjustment()


The factor the terms move by at index ratio [ratio](reserving.UlaeEstimate.md#prospicio.reserving.UlaeEstimate.ratio).


Usage

``` python
adjustment(ratio)
```


##### Parameters


`ratio: float`  


##### Returns


`float`
