Skip to contents

Inverts the piecewise linear distribution function. Its flat stretches, where the density underflowed to zero, are dropped first, so the inverse is well defined.

Usage

grid_posterior_quantile(posterior, probability)

Arguments

posterior

Output of grid_posterior().

probability

Probabilities.

Value

The quantiles.