Skip to contents

Prices the gross, every layer's cession and the net of tower_on_grid() each on its own by a distortion, as the Python package aggregate's reins_price_df: the expected loss, the premium (the distorted expectation, risk_measure()), the margin premium - loss and the loss ratio loss / premium. A concave distortion's prices are subadditive, so then the ceded and net premiums together are at least the gross premium.

Usage

tower_price(grids, distortion)

Arguments

grids

The result of tower_on_grid().

distortion

A distortion.

Value

A data frame with columns view ("gross", each layer's name, "stage_<k>" for the total cession of each stage with several layers that has one, "net" when the tower has a net grid), loss, premium, margin and loss_ratio.

Examples

sev <- grid_distribution(1, c(0, 0.4, 0.3, 0.2, 0.1))
tw <- reinsurance_tower(list(xol_layer("2x2", 2, 2)))
r <- tower_on_grid(tw, poisson_count(3), sev, points = 200)
tower_price(r, distortion("proportional_hazard", 0.7))
#>    view loss  premium    margin loss_ratio
#> 1 gross  6.0 7.473553 1.4735530  0.8028310
#> 2   2x2  1.2 1.729265 0.5292655  0.6939363
#> 3   net  4.8 5.884877 1.0848766  0.8156501