Skip to contents

The member of a distortion family that prices the portfolio's loss capped at the assets at a target premium, return on capital (P = (L + r a) / (1 + r)) or loss ratio.

Usage

calibrate_portfolio(
  port,
  family,
  assets = NULL,
  p = NULL,
  premium = NULL,
  return_on_capital = NULL,
  loss_ratio = NULL,
  r0 = 0
)

Arguments

port

A capital_portfolio.

family

As for calibrate_distortion().

assets

The asset level; or give p. The largest total by default.

p

The capital standard: assets at the total's lower p quantile.

premium, return_on_capital, loss_ratio

Give exactly one.

r0

The fixed r0 of the families that have one.

Value

A distortion.

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)
))
calibrate_portfolio(insco, "wang", return_on_capital = 0.15)
#> <distortion> wang(0.3427309)