A tower's ceded losses by event
ceded_events.RdEach event's ceded loss to the named layers, summed over them, as an
event_set: the input to an occurrence retro on a reinsurer's own
cessions. Each layer's split by event is the one apply_tower()'s labels
use (after the layer's annual terms, at its share, behind any earlier
inuring stage), so in every year the set's losses add to the layers'
ceded total. The events keep their times and labels; events that cede
nothing are left out, sums insured are dropped, and a named layer that
sees the aggregate part passes its ceded part on as the set's aggregate
part. Join several deals' sets with merge_event_sets(), and group one
event's cessions into one occurrence with hours_clause().
Arguments
- tower
- events
An event_set.
- layers
Names of the tower's layers.
Value
An event_set with as many years.
Examples
ev <- events_from_years(list(c(20, 8, 15), 4))
tw <- reinsurance_tower(list(xol_layer("10x5", 10, 5, aggregate_limit = 15)))
ce <- ceded_events(tw, ev, "10x5")
events(ce, 1)
#> [1] 10 3 2
events(ce, 2)
#> numeric(0)