The reinsurer's P&L ledger of a layer or a deal
deal_ledger.RdOne group that sells the cover, named layer: the premium received
against the ceded loss, the commissions paid, the brokerage and each
deduction (with_brokerage(), with_deduction()), every leg at each
atom of source. The tower is applied to each atom as one annual loss
(apply_tower()), so the amounts are those deal_ratios() divides by
the premium; a deal (with_deal_scale()) books its sections' amounts
with its own. book_ledger() books the same tower as covers bought and
leaves brokerage and deductions out.
Arguments
- tower
- source
The annual gross loss: a grid_distribution or a list of values and probabilities.
- layer
The layer's or the deal's name.
Value
A pnl_ledger. It fails on a layer that cannot apply to an
annual loss, a booked layer with paid reinstatements, or an unknown
layer or deal.
Details
The rows are Premium, Loss, Ceding commission, Profit commission, Brokerage and each deduction by its label, as the layer
has them. NMBF is not a row: deal_ratios() gives it.
Examples
cover <- with_premium_rate(aggregate_stop_loss("cover", 120, 0), 1, 100)
cover <- with_ceding_commission(cover, 0.2)
cover <- with_brokerage(cover, 0.025)
cover <- with_deduction(cover, "tax", 0.03)
l <- deal_ledger(reinsurance_tower(list(cover)), list(c(40, 150), c(0.5, 0.5)), "cover")
ledger_sheet(l)
#> side label row EX SD CV Skew
#> 1 Consideration Premium Premium 100.0 0 0.0000000 NaN
#> 2 Obligation Loss Loss -80.0 40 -0.5000000 0
#> 3 Obligation Ceding commission Ceding commission -20.0 0 0.0000000 NaN
#> 4 Obligation Brokerage Brokerage -2.5 0 0.0000000 NaN
#> 5 Obligation tax tax -3.0 0 0.0000000 NaN
#> 6 Obligation Total total obligation -105.5 40 -0.3791469 0
#> 7 Margin Total result -5.5 40 -7.2727273 0
#> k01 k05 k10 k25 k50 k75 k90 k95 k99
#> 1 100.0 100.0 100.0 100.0 100.0 100.0 100.0 100.0 100.0
#> 2 -120.0 -120.0 -120.0 -120.0 -120.0 -40.0 -40.0 -40.0 -40.0
#> 3 -20.0 -20.0 -20.0 -20.0 -20.0 -20.0 -20.0 -20.0 -20.0
#> 4 -2.5 -2.5 -2.5 -2.5 -2.5 -2.5 -2.5 -2.5 -2.5
#> 5 -3.0 -3.0 -3.0 -3.0 -3.0 -3.0 -3.0 -3.0 -3.0
#> 6 -145.5 -145.5 -145.5 -145.5 -145.5 -65.5 -65.5 -65.5 -65.5
#> 7 -45.5 -45.5 -45.5 -45.5 -45.5 34.5 34.5 34.5 34.5