Brokerage and other deductions from a layer's premium
with_brokerage.RdThe same layer with what a reinsurer deducts from its premium, each its
own component in the tower's results (apply_tower()) and its own ratio
in deal_ratios():
Usage
with_brokerage(layer, rate)
with_brokerage_scale(layer, rate, loss_ratio)
with_deduction(layer, label, value, basis = "premium", inside_nmbf = TRUE)
with_scales_before_annual_terms(layer)
with_brokerage_within_commission_range(layer)
brokerage_for(layer, ceded)
deduction_for(layer, label, ceded)Arguments
- layer
An xol_layer.
- rate
Brokerage rate (in
[0, 1]), or the rates at the anchors.- loss_ratio
Loss ratios of the anchors, one per rate.
- label
The deduction's name, distinct from the layer's other deductions and from the kinds the results and the deal ratios use.
- value
The rate, or the amount for
basis = "fixed".- basis
"premium","loss"or"fixed".- inside_nmbf
Whether the nominal margin before fees counts it.
- ceded
Numeric vector of ceded losses, at the placed share.
Value
An xol_layer; for brokerage_for() and deduction_for() a
numeric vector, one amount per ceded loss.
Details
with_brokerage(): a flatrateof the year's premium.with_brokerage_scale(): the rate at the year's loss ratio, linear between the anchors(rate, loss_ratio)and flat beyond the first and last, as a sliding scale; it may rise or fall. Set the premium first; it cannot be combined with swing rating or paid reinstatements.with_deduction(): a TPA fee, tax, reinsurance cost, a fronting fee or a manager's fee, as a rate of the year's premium (basis = "premium"), of its ceded loss ("loss") or an amount ("fixed"), under itslabel.inside_nmbf = FALSEkeeps it outside the nominal margin before fees, as a manager's fee.with_scales_before_annual_terms(): both sliding scales (commission and brokerage) read the loss ratio before the annual terms, the placed share of the year's recoveries before the annual deductible, corridor and annual limit, over the premium. A loss-ratio cap stated asaggregate_limitthen caps the ceded loss but not what the scales read; the results gain("loss_before_terms", <layer>). The grid methods and the P&L ledger refuse such a layer with annual terms and a sliding scale.with_brokerage_within_commission_range(): the brokerage scale reads its loss ratio held inside the sliding-scale commission's range.
brokerage_for() and deduction_for() give the amounts at given ceded
losses.
Examples
qs <- with_premium_rate(quota_share("QS", 0.5), 1, 200)
brokerage_for(with_brokerage(qs, 0.025), 70)
#> [1] 2.5
brokerage_for(with_brokerage_scale(qs, c(0.03, 0.01), c(0.5, 0.8)), c(40, 65, 95))
#> [1] 3 2 1
taxed <- with_deduction(with_deduction(qs, "tax", 0.03), "tpa", 0.02, basis = "loss")
deduction_for(taxed, "tpa", 70)
#> [1] 1.4
taxed@deductions
#> label basis value inside_nmbf
#> 1 tax premium 0.03 TRUE
#> 2 tpa loss 0.02 TRUE