Skip to contents

Each year's losses under the program in force that year, next to the year's trended losses under the proposed tower. The historical side takes every loss of the year as reported (in its own currency, untrended and undeveloped), so it can be checked against the cedant's recoveries; the proposed side is the as-if layer loss of burning_cost() before development by year. The historical towers may differ in layers from year to year.

Usage

as_if_history(prepared, historical, years, proposed)

Arguments

prepared

Trended losses, from trend_large_losses().

historical

A list of reinsurance_tower objects, the program in force in each of years.

years

The accident years.

proposed

The proposed reinsurance_tower.

Value

A list with years, a data frame (year, reported_losses, trended_losses), historical, a list per year of each layer's cession named by layer, and proposed, a year-by-layer matrix.

Examples

p <- trend_large_losses(data.frame(id = "a", accident = 2019.5, amount = 300),
                        factors = 1.2)
then <- reinsurance_tower(list(xol_layer("150 xs 150", 150, 150)))
now <- reinsurance_tower(list(xol_layer("200 xs 200", 200, 200)))
a <- as_if_history(p, list(then), 2019, now)
a$historical
#> $`2019`
#> 150 xs 150 
#>        150 
#> 
a$proposed
#>      200 xs 200
#> 2019        160