Franchise, nth-event and top-and-drop covers
with_franchise.RdThree catastrophe structures on a layer:
Usage
with_franchise(layer)
with_disappearing(layer, end)
occurrence_moments(layer, severity)
with_nth_event(layer, n, threshold)
with_top_and_drop(layer, underlying, attachment)Arguments
- layer
An xol_layer.
- end
Where a disappearing deductible's retention reaches 0, above the attachment.
- severity
A severity distribution, such as
lognormal().- n
The first event covered, at least 1.
- threshold
The loss an event must exceed to count.
- underlying
The name of the layer whose exhaustion drops this one.
- attachment
The attachment after the drop, below the layer's own.
Value
The xol_layer; its franchise, nth_event (c(n, threshold)) and drop_down (list(underlying, attachment))
properties show the terms.
Details
with_franchise(): a franchise deductible. An occurrence at or above the attachment is paid from the ground up,min(x, limit), and one below it pays nothing. On the loss basis only.with_disappearing(): a disappearing deductible,aggregate'sy xs d1 to d2 disappearing. The retention falls linearly from the attachmentd1to 0 as the loss rises fromd1toend: a loss pays nothing up tod1,k (x - d1)withk = end / (end - d1)up toendand the whole loss above, each capped at the limit. On the loss basis only.occurrence_moments(): the first three raw moments of one occurrence's recovery at 100% for a ground-upseverity, exact for an ordinary, franchise or disappearing deductible. Divide by the severity's survival at the attachment for a loss that reaches the layer, asaggregatereports a layered severity.with_nth_event(): only then-th and later events of a year whose loss to the layer exceedsthresholdare covered; earlier ones, and events at or below the threshold, cede nothing. Events count in the order given, chronological when the event set has times.with_nth_event(layer, 1, attachment)is the plain layer.with_top_and_drop(): the layer sits at its own attachment until the annual limit of the layer namedunderlying(earlier in the same stage, with an annual limit) is used up, and from the next event attaches atattachment, with the same occurrence and annual limits. A drop-down whose underlying layer never exhausts is the plain layer.
Nth-event and top-and-drop covers read the order of a year's events, so
the grids (tower_on_grid()) and annual losses refuse them; apply the
tower to an event_set.
Examples
f <- with_franchise(xol_layer("F", 20, 5))
ceded_by_event(f, c(4, 5, 12, 30))
#> [1] 0 5 12 20
d <- with_disappearing(xol_layer("D", 300, 50), 100)
ceded_by_event(d, c(40, 75, 250, 400))
#> [1] 0 50 250 300
x <- lognormal_from_mean_cv(100, 1)
occurrence_moments(d, x)[1] / survival(x, 50) # aggregate's 112.608
#> [1] 112.608
second <- with_nth_event(xol_layer("2nd", 10, 5), 2, 5)
ceded_by_event(second, c(12, 3, 9, 20))
#> [1] 0 0 4 10
lower <- xol_layer("lower", 10, 10, aggregate_limit = 20)
top <- with_top_and_drop(xol_layer("top", 10, 30), "lower", 10)
ev <- events_from_years(list(c(25, 25, 25, 40)))
events(ceded_events(reinsurance_tower(list(lower, top)), ev, "top"), 1)
#> [1] 10 10