Skip to main content

models.loss_ratio_chart()

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

Usage

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, premium, expected, actual, loss_ratio and expected_loss_ratio per band.