Skip to contents

A deal's sliding-scale commission and brokerage read on the loss ratio of several layers (its sections) together: the sum of the sections' keys (each section's ceded loss, or its loss before annual terms with with_scales_before_annual_terms()) over the sum of their premiums, paid on that summed premium and added to what each section pays on its own. Results gain ("ceding_commission", name), ("brokerage", name) and, when a section reads its scales before annual terms, ("loss_before_terms", name); deal_ratios() takes the deal's name. tower_on_annual_grid() gives each deal's expected commission and brokerage, tower_on_grid() too when no section has annual terms, and the cedant's P&L ledger books the deal's commission.

Usage

with_deal_scale(
  tower,
  name,
  sections,
  commission = NULL,
  loss_ratio = NULL,
  brokerage = NULL,
  brokerage_rate = NULL,
  brokerage_loss_ratio = NULL,
  carry_deficit = FALSE,
  carry_credit = FALSE,
  carry_years = NULL,
  brokerage_within_commission_range = FALSE
)

Arguments

tower

A reinsurance_tower.

name

The deal's name, not a layer's or another deal's.

sections

At least two layer names, each layer with a positive fixed premium (no swing rating or paid reinstatements) and in no other deal.

commission, loss_ratio

The sliding scale's anchors, as in with_sliding_scale(); NULL for none.

brokerage

A flat brokerage rate on the deal's premium, or NULL.

brokerage_rate, brokerage_loss_ratio

A brokerage scale's anchors instead, as in with_brokerage_scale().

carry_deficit, carry_credit

Carry the deal commission's deficits or credits between the years of a term, on the deal's key.

carry_years

How many later years a carried amount lasts; NULL without limit.

brokerage_within_commission_range

Hold the brokerage key inside the deal commission's range.

Value

The reinsurance_tower with the deal. Its deal_names property lists its deals.

Examples

a <- with_premium_rate(aggregate_stop_loss("A", 50, 0), 1, 100)
b <- with_premium_rate(aggregate_stop_loss("B", Inf, 50), 1, 100)
tw <- with_deal_scale(reinsurance_tower(list(a, b)), "deal", c("A", "B"),
  commission = c(0.35, 0.15), loss_ratio = c(0.5, 0.9))
result <- apply_tower(tw, 160)
draw_matrix(deal_ratios(tw, result, "deal"))
#>      [,1] [,2] [,3] [,4] [,5] [,6]
#> [1,]  0.8  0.2  0.2    1    0    0