Trend factors by a calendar-year rate schedule
schedule_trend.RdTrends each accident year's losses or premium to a treaty period by a
schedule of annual rates, one rate per calendar year. With i the
inception and c the months complete in an incomplete latest year, the
target is i + 1 (losses) or i + 0.5 (premium) under "RAD" and
i + 0.5 or i under "LOD"; a complete year y starts at y + 0.5
(losses) or y (premium), an incomplete latest year at y + c/24 or
y + c/24 - 0.5. The factor is the product over calendar years k of
(1 + r_k)^overlap_k, overlap_k the length of [k, k + 1) within
[start, target], and 1 when the start is at or after the target. A
calendar year the schedule does not have takes the latest scheduled
year's rate (the earliest's before the schedule with
before = "earliest").
Arguments
- years
Accident years, one factor each, in the order given.
- trend_years, trend_rates
The schedule, row by row, rates as decimals. A row with both
NAis skipped; a row with one is an error.- inception
The treaty's inception as a decimal year.
- basis
"RAD"(risks attaching) or"LOD"(losses occurring).- kind
"loss"or"premium".- cutoff
The months complete (1 to 12) of the latest accident year when it is incomplete;
NULLwhen every year is complete.- before
The rate before the schedule's first year:
"latest"or"earliest".
Examples
schedule_trend(2024:2025, 2024:2026, c(0.05, 0.04, 0.04), inception = 2026)
#> year start target factor
#> 1 2024 2024.5 2027 1.108310
#> 2 2025 2025.5 2027 1.060596