Skip to contents

Apply each year's treaty to the year's trended losses (a loss belongs to the year of its accident date), with any annual terms, develop each year's layer total with an excess development factor, and divide by the year's on-level premium. The overall loss cost is the developed losses over the premium, summed over the years (Clark's convention); mean_loss_cost weights the years equally.

Usage

burning_cost(
  prepared,
  towers,
  years,
  premium,
  development,
  index = NULL,
  ratios = NULL
)

Arguments

prepared

Trended losses, from trend_large_losses().

towers

The reinsurance_tower in force each year, as a list, or one tower for every year (to price the prospective terms). Every tower needs the same number of layers.

years

The accident years to cost.

premium

Each year's on-level subject premium.

development

Each year's development factor for the layer losses: Clark's excess factor, or, when the losses were developed one by one in trend_large_losses(), the count IBNR factor only. A count development_pattern() is read at each year's average age at the record's valuation date.

index

An index_clause() on the treaty: each loss meets the retention and limit moved by the clause at its own ratio in ratios. Towers with annual terms (an aggregate deductible or limit, a corridor) or a surplus treaty are an error.

ratios

With index, each loss's index ratio, in the record's order: the index at its payment over the index at the treaty's base date.

Value

A list with years, a data frame (year, premium, losses (the count through the tower), development), the year-by-layer matrices layer_loss, developed and year_loss_cost, and per layer loss_cost and mean_loss_cost.

Examples

losses <- data.frame(id = c("a", "b"), accident = c(1995.5, 1996.5),
                     amount = c(150, 400))
p <- trend_large_losses(losses, factors = c(1, 1))
tw <- reinsurance_tower(list(xol_layer("200x100", 200, 100)))
b <- burning_cost(p, tw, c(1995, 1996), premium = c(1000, 1000),
                  development = c(1, 1.5))
b$developed
#>      [,1]
#> 1995   50
#> 1996  300
b$loss_cost
#> [1] 0.175