Skip to contents

The premium ladder of the Python package aggregate's pnl_program, as numbers: the net technical premium net_loss / net_combined_ratio, each layer's deposit at 100% placement round(ceded_loss / combined_ratio / share) (or the premium it states), and the booked premium round((T_net + sum share * deposit) / (1 - expense_ratio)). The book's own margin is (1 - net_combined_ratio) T_net whatever the cover costs. Each priced deposit is also respelled as a rate, aggregate's premium_style = 'rate': of the booked premium on the occurrence tier, of it less the occurrence premiums on the aggregate tier. pnl_program_stated() prices an engine that states its own technical premium (premium at lr), which takes the net book's place; with no layer, it is only grossed up and left unrounded, as aggregate's derive premium. round_premium() rounds as aggregate writes a premium: to whole units above 100, to cents at or below it, ties to even; size_premium() sizes one from a target loss ratio.

Usage

pnl_program(net_loss, net_combined_ratio, expense_ratio, layers = NULL)

pnl_program_stated(stated, expense_ratio, layers = NULL)

round_premium(premium)

size_premium(expected_loss, loss_ratio)

Arguments

net_loss

Expected net loss.

net_combined_ratio

Target net combined ratio.

expense_ratio

Gross expenses as a fraction of premium.

layers

NULL or a data frame with ceded_loss (expected, at the placed share), share, combined_ratio and optionally stated (a premium the contract states at the placed share, kept; NA to price) and aggregate (TRUE for a layer on the aggregate tier).

stated

The engine's stated technical premium.

premium

A premium.

expected_loss

Expected loss.

loss_ratio

Target loss ratio.

Value

pnl_program() and pnl_program_stated() a list of premium, technical, deposits, rates (NA for a stated layer) and ceded_premium; the others a number.

Examples

pnl_program(406, 0.9, 0.25, data.frame(ceded_loss = 86, share = 1, combined_ratio = 0.6))
#> $premium
#> [1] 792
#> 
#> $technical
#> [1] 594.1111
#> 
#> $deposits
#> [1] 143
#> 
#> $rates
#> [1] 0.1805556
#> 
#> $ceded_premium
#> [1] 143
#> 
round_premium(c(714.12, 16.285))
#> [1] 714.00  16.29