Pricing bounds for other risks
pricing_bounds.Rdpricing_bounds() is the range of each risk's price over every
distortion that prices the reference risk x at premium, as the Python
package aggregate's PricingBounds: the vertical slice at premium of
the convex hull of the curve (TVaR_p(x), TVaR_p(y)), exact for discrete
risks. Prices are law-invariant, so only each risk's distribution
matters; for a unit's share of a portfolio's price use
premium_bounds(). distortion_envelope() is the smallest and largest
g(s) over those distortions (aggregate's Bounds envelopes, exact):
the price range of a Bernoulli risk with P(1) = s.
Usage
pricing_bounds(x, risks, premium, assets = Inf)
distortion_envelope(x, premium, s, assets = Inf)Arguments
- x
The reference risk: a sampled, grid_distribution or predictive_distribution (its total).
- risks
A named list of risks to bound, of the same kinds.
The price of
x, between its mean and maximum.- assets
Cap every risk at the assets (
Inffor none).- s
Levels in
[0, 1].
Value
pricing_bounds(): a data frame with risk, lower and
upper, and list columns lower_distortion and upper_distortion
holding a distortion attaining each (it prices x at premium).
distortion_envelope(): a data frame with s, lower (a concave
distortion) and upper.
Examples
x <- sampled(c(22, 28, 36, 40, 40, 40, 40, 55, 65, 100))
y <- sampled(c(0, 0, 11, 0, 7, 8, 9, 10, 40, 64))
pricing_bounds(x, list(X3 = y), 53.565)[, c("risk", "lower", "upper")]
#> risk lower upper
#> 1 X3 20.07079 22.09781
distortion_envelope(x, 53.565, c(0.1, 0.5, 0.9))
#> s lower upper
#> 1 0.1 0.1372266 0.2173876
#> 2 0.5 0.5652154 0.7598881
#> 3 0.9 0.9130431 1.0000000