Skip to contents

Each family's member whose risk measure of x (capped at assets when given) equals premium, as aggregate's calibrate_distortions: by default CCoC, PH, Wang, dual and TVaR; with extended = TRUE also Tsallis, between Wang and dual (aggregate 2.1.0's extended set).

Usage

calibrate_distortions(
  x,
  premium,
  assets = NULL,
  extended = FALSE,
  families = NULL
)

Arguments

x

A sampled, grid_distribution or predictive_distribution (its total).

premium

The target price.

assets

Optional assets at which to cap the loss.

extended

Add "tsallis" to the five standard families.

families

Family names instead (not with extended).

Value

A named list of distortion objects, by family in order.

Examples

x <- sampled(c(22, 28, 36, 40, 40, 40, 40, 55, 65, 100))
ds <- calibrate_distortions(x, (46.6 + 15) / 1.15, extended = TRUE)
names(ds)
#> [1] "ccoc"    "ph"      "wang"    "tsallis" "dual"    "tvar"   
ds$tsallis@parameter # 3.069
#> [1] 3.069093