## models.loss_ratio_chart()


The loss ratio chart (CAS Monograph 5, section 7.2.3): rows sorted by


Usage


``` python
models.loss_ratio_chart(
    y,
    pred,
    premium,
    exposure=None,
    bands=10,
)
```


predicted loss ratio `pred / premium` against the current premium, cut into bands of about equal exposure, with each band's actual loss ratio.


## Parameters


`y: list of float`  

`pred: list of float`  

`premium: list of float`  
Current premium, positive.

`exposure: list of float = None`  

`bands: int = ``10`  


## Returns


`list of dict`  
[exposure](reserving.ClarkFit.md#prospicio.reserving.ClarkFit.exposure), [premium](pricing.Price.md#prospicio.pricing.Price.premium), [expected](pricing.Portfolio.md#prospicio.pricing.Portfolio.expected), `actual`, [loss_ratio](pricing.Price.md#prospicio.pricing.Price.loss_ratio) and `expected_loss_ratio` per band.
