Calibrate a distortion to a price
calibrate_distortion.RdThe member of a family of distortions whose risk measure of x equals
premium. With assets, x is capped at the assets first, so the
premium prices min(X, assets). The premium must lie strictly between
the (capped) mean and maximum. CCoC is solved in closed form; the other
families by bisection to full precision.
Arguments
- family
One of
"ccoc","proportional_hazard"("ph"),"wang","tsallis","dual_power"("dual"),"tvar","exponential","capped_linear","capped_log_linear","lep"and"linear_yield".- x
A sampled, grid_distribution or predictive_distribution (its total).
The target price.
- assets
Optional assets at which to cap the loss.
- r0
The fixed
r0of the families that have one.
Value
A distortion.