Ogive from grouped data
ogive.RdThe piecewise linear distribution function through the points
(x, cdf), the usual reading of grouped loss data (losses uniform within
each band), as in Pricing Insurance Risk, Exercise 50.
ogive_from_counts() builds one from counts[k] losses between
bounds[k] and bounds[k + 1]. Its limited moments are exact, band by
band.
Value
An ogive, which inherits from distribution.
Details
Supports mean(), variance(), cdf(), survival(), quantile() (the
lower quantile), VaR(), TVaR(), lev(), stop_loss(), layer(),
layer_variance(), layer_second_moment(), log_density() and
draws().