pricing.distortion_envelope()
The smallest and largest g(s) at each s over every distortion
Usage
pricing.distortion_envelope(
x,
premium,
s,
assets=None,
)that prices x at premium: aggregate’s Bounds envelopes, exact (each is the price range of a Bernoulli risk with P(1) = s).
Parameters
x: (Sampled, Grid or PredictiveDistribution)premium: floats: list of float-
Levels in [0, 1].
assets: float = None- Cap x at the assets.
Returns
tuple of (list of float, list of float)- The lower envelope (a concave distortion) and the upper.