Mixtures, minimums and convex hulls of distortions
distortion_mixture.Rddistortion_mixture() is the weighted average of distortions,
distortion_minimum() their pointwise minimum, and
distortion_convex() the smallest concave distortion above the points
(s, g), for example layers' exceedance probabilities and their prices
per unit of limit (a cat bond's expected loss and its spread).
Usage
distortion_mixture(distortions, weights)
distortion_minimum(distortions)
distortion_convex(s, g)Arguments
- distortions
A list of distortion objects.
- weights
Non-negative weights summing to 1, one per distortion.
- s, g
The points, in the unit square with
g >= s.
Value
A distortion.
Examples
d <- distortion_mixture(list(distortion("wang", 0.3), distortion("dual_power", 2)), c(0.5, 0.5))
distortion_g(d, 0.1)
#> [1] 0.1765802
distortion_g(distortion_convex(c(0.1, 0.5), c(0.3, 0.55)), 0.05) # 0.15
#> [1] 0.15