Skip to contents

Development factors to ultimate by age, for developing each known large loss to ultimate (IBNER) in trend_large_losses() or as a count pattern for the claims not yet reported in burning_cost(). The factor at an age interpolates linearly between the given ages, takes the first factor at younger ages and the last at older ones (pattern_factor()).

Usage

development_pattern(ages, factors)

development_pattern_from_history(valuations, ages)

pattern_factor(pattern, age)

Arguments

ages

Strictly increasing ages, in years since the accident date.

factors

The factor to ultimate at each age.

valuations

A data frame with columns id, age and amount, one row per valuation of a claim; ages not in ages are ignored.

pattern

A development_pattern.

age

Ages at which to read the factor to ultimate.

Value

A development_pattern: a list with ages and factors.

Details

development_pattern_from_history() estimates one from each claim's valuations: the age-to-age factor from ages[k] to ages[k + 1] is the sum of the amounts at the later age over the sum at the earlier, over the claims valued at both with a positive earlier amount (a claim first seen later is IBNR, not IBNER). The factor at the last age is 1. With every claim valued at every age up to its latest, this is the volume-weighted chain ladder on the summed triangle.

Examples

p <- development_pattern_from_history(
  data.frame(id = c("a", "a", "b", "b"), age = c(1, 2, 1, 2),
             amount = c(100, 150, 50, 50)),
  ages = c(1, 2)
)
p$factors
#> [1] 1.333333 1.000000
pattern_factor(p, 1.5)
#> [1] 1.166667