Skip to main content

reserving.case_adequacy_adjust()

The triangle restated at the case reserve adequacy of the latest

Usage

reserving.case_adequacy_adjust(
    triangle,
    incurred,
    paid,
    trend,
    open_counts=None,
    reported=None,
    closed=None,
    max_age=None
)

diagonal (Berquist and Sherman; Friedland, chapter 13): the average case outstanding of each age on the latest diagonal, detrended to the earlier origins, times the open counts, plus paid. The result is a cumulative triangle with incurred replaced, for any method to project.

Parameters

triangle: Triangle
incurred: str

The reported and paid claims columns.

paid: str

The reported and paid claims columns.

trend: (float, average_case or (str, str))

The annual severity trend, or a pair of an amount and a count column to fit it from (paid claims and closed counts).

open_counts: str = None

A column of open counts. Otherwise give reported and closed.

reported: str = None

Count columns whose difference is the open counts.

closed: str = None

Count columns whose difference is the open counts.

max_age: int = None
The oldest age adjusted, where older averages are too thin to use.

Returns

Triangle

Examples

>>> from prospicio.reserving import Triangle, case_adequacy_adjust
>>> tri = Triangle.from_long([2020, 2020, 2021], [12, 24, 12], {
...     "incurred": [100.0, 120.0, 150.0], "paid": [50.0, 100.0, 50.0],
...     "open": [5.0, 2.0, 5.0]})
>>> out = case_adequacy_adjust(tri, "incurred", "paid", 0.25, open_counts="open")
>>> out.columns

[‘incurred’, ‘paid’, ‘open’]