Skip to contents

A portfolio held as the distribution of its total X and each unit's conditional expectation given the total, kappa_i(x) = E[X_i | X = x]: the representation of Mildenhall and Major (Pricing Insurance Risk, 2022) and CAS Monograph 15 for pricing with limited liability and the natural allocation. See natural_price().

Usage

capital_portfolio(x, probs = NULL, ptr = NULL)

Arguments

x

A matrix of scenario losses, one column per unit (named), a predictive_distribution (each simulation an equally likely scenario), or a named list of grid_distribution objects with one step for independent units, convolved by FFT.

probs

For a matrix, the scenarios' probabilities; equal when NULL.

ptr

Internal.

Value

A capital_portfolio with properties units, totals (the distinct totals, ascending), probs and expected (each unit's mean).

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)
))
insco@totals
#> [1]  22  28  36  40  55  65 100
natural_price(insco, distortion("ccoc", 0.15))
#>    unit loss    margin  premium   capital assets loss_ratio premium_to_capital
#> 1     A 13.4 0.3391304 13.73913  2.260870     16  0.9753165          6.0769231
#> 2     B 18.3 0.2217391 18.52174  1.478261     20  0.9880282         12.5294118
#> 3     C 14.9 6.4043478 21.30435 42.695652     64  0.6993878          0.4989817
#> 4 total 46.6 6.9652174 53.56522 46.434783    100  0.8699675          1.1535581
#>   return_on_capital
#> 1              0.15
#> 2              0.15
#> 3              0.15
#> 4              0.15