Skip to main content

reserving.FrequencySeverity

Frequency-severity: ultimate claims as ultimate counts times an ultimate

Usage

Source

reserving.FrequencySeverity()

severity, each projected on its own (Friedland, chapter 11, approaches #1 and #2).

Parameters

amounts: str

The claims column (reported or paid) whose ultimate is projected.

counts: str

The count column the severity triangle divides the amounts by.

ultimate_counts: optional

Numbers, one per origin; a column for the chain ladder on it; a pair (column, ChainLadder); a list of columns or pairs for their mean; or a Trended frequency with exposure (approach #2). By default the chain ladder on counts.

severity: ChainLadder or Trended

The chain ladder on the triangle of severities (approach #1, the default) or a severity selected at a base origin and trended.

exposure: str

The exposure column of a Trended frequency.

exposure_factors: sequence of float
One factor per origin that brings the exposure to the base level (on-level factors, wage inflation).

Examples

>>> from prospicio.reserving import FrequencySeverity, Triangle
>>> tri = Triangle.from_long([2020, 2020, 2021], [12, 24, 12],
...     {"reported": [100.0, 150.0, 120.0], "counts": [10.0, 12.0, 11.0]})
>>> fit = FrequencySeverity("reported", "counts").fit(tri)
>>> round(fit.ultimate[1], 6)

180.0

Methods

Name Description
fit() Fit to a single-segment triangle holding the columns.

fit()

Fit to a single-segment triangle holding the columns.

Usage

Source

fit(triangle)
Parameters
triangle: Triangle
Returns
FrequencySeverityFit