Skip to contents

The portion of a period's premium at each rate level, under uniform writing and earning over a policy term, and the on-level factor that brings it to the current level (Werner and Modlin, ch. 5). The areas are exact.

Usage

rate_level(
  effective,
  change = NULL,
  start,
  end,
  term,
  period = c("calendar", "policy"),
  applies = "written",
  level = NULL
)

Arguments

effective

Effective dates of the rate changes, as year fractions, in order.

change

Overall average changes, 0.05 for +5%.

start, end

The period, as year fractions.

term

The policy term in years.

period

"calendar" (premium earned in the window) or "policy" (policies written in it).

applies

For each change, "written" (policies written on or after the date) or "in_force" (all premium earned on or after it, a law change); recycled.

level

Instead of change, the cumulative level after each change, as an exhibit prints them (rounded levels carry into the factors).

Value

A list: portions, a data frame with one row per cell of constant level (written_changes and in_force_changes in effect, level, share), average_level, current_level and on_level_factor.

Examples

# Werner and Modlin, Table 5.19: calendar year 2011, annual policies.
r <- rate_level(c(2010.5, 2011, 2012.25), c(0.05, 0.10, -0.01),
                start = 2011, end = 2012, term = 1)
r$portions
#>   written_changes in_force_changes level share
#> 1               0                0 1.000 0.125
#> 2               1                0 1.050 0.375
#> 3               2                0 1.155 0.500
r$on_level_factor
#> [1] 1.043056