Bodoff allocation, EPD and assets
bodoff_allocation.Rdbodoff_allocation() is Bodoff's percentile layer of capital: each
unit's share of the assets, integral of E[X_i / X | X > x] dx up to the
assets. epd_ratio() is the expected policyholder deficit ratio,
(E[X] - E[X ∧ a]) / E[X], in total and by unit under equal priority.
assets_for_epd() is the smallest assets with a total EPD ratio at most
epd.
Usage
bodoff_allocation(port, assets = NULL, p = NULL)
epd_ratio(port, assets)
assets_for_epd(port, epd)Arguments
Value
bodoff_allocation(): a named numeric vector. epd_ratio(): a
list with total and units (named). assets_for_epd(): a number.
Examples
insco <- capital_portfolio(cbind(
A = c(15, 15, 5, 7, 13, 5, 15, 26, 17, 16),
B = c(7, 13, 20, 33, 20, 27, 16, 19, 8, 20),
C = c(0, 0, 11, 0, 7, 8, 9, 10, 40, 64)
))
bodoff_allocation(insco, assets = 100)
#> A B C
#> 24.15870 29.75558 46.08572
epd_ratio(insco, 65)
#> $total
#> [1] 0.0751073
#>
#> $units
#> A B C
#> 0.04179104 0.03825137 0.15033557
#>
assets_for_epd(insco, 0.05)
#> [1] 76.7