Skip to contents

The basis to which ldf_underwriting converts an accident-period development pattern in chain_ladder() and the other methods that take ldf. An underwriting period's exposure in its t-th accident month, e(t), is the writing convolved with a policy's earning by month, and its share developed at age a from its start is sum_t e(t) p(a - t), p an accident month's (Rust's SelectedPattern::to_underwriting_basis). The default, even writing over 12 months and 12-month policies, is the parallelogram: the exposure is triangular over 24 months.

Usage

underwriting_basis(
  writing = NULL,
  policy_months = 12,
  reading = c("weibull", "loglogistic", "ln-linear")
)

Arguments

writing

NULL (the default, even writing over 12 months, an underwriting year's), or the share of the period's policies written in each month from its start, each written at an even rate through its month: finite, not negative, with a positive sum, scaled to sum to 1. The writing, its trailing zeros dropped, must be no longer than the triangle's origin period, within which its policies are written: on underwriting quarters give three months (c(1, 1, 1) for even writing); longer writing is an error at fit time.

policy_months

Each policy's term in months, a whole number of at least 1; it earns evenly over the term.

reading

How a pattern of accident periods longer than a month (an accident-year pattern) is read between its ages when they are not every month from 1 (docs/design/reserving-v02.md, decision 25): "weibull" (the default) or "loglogistic" fit that growth curve through the period averages (an accident year at age a reports the average of its twelve months) and correct it to the nearest monotone accident-month pattern whose averages are the given values exactly; increments may fall only within a span where the given pattern itself develops downward. "ln-linear" is the rule before this reading (linear from 0 below the first age, ln CDF linear between ages), kept to reproduce earlier results: on a simulated parallelogram book it puts an underwriting year 31% too far developed at 12 months, where the Weibull is within 0.2% at every age. An accident-month pattern, and one given at every month, convert the same under every reading. A curve needs two or more given values.

Value

An underwriting_basis: a list of writing, policy_months, reading and exposure, the share of the period's exposure in each accident month from its start, summing to 1.

Examples

b <- underwriting_basis()
length(b$exposure)
#> [1] 24
b$exposure[1] * 288
#> [1] 1
b$reading
#> [1] "weibull"
underwriting_basis(reading = "ln-linear")$reading
#> [1] "ln-linear"