Quantile-based distributions
There are various applications where you might want to go from a set of quantiles (and associated probabilities) to an actual approximate distribution.
In particular:
-
to propagate error in a meta-analysis or synthesis when you have confidence intervals from a published paper (example, the rabies burden paper)
-
to systematically evaluate predictions that are expressed in terms of quantiles (see Johansson’s dengue contest stuff, which I cannot find)
There are then two steps:
-
parameterizing a distribution that matches (or approximates) the given quantiles
-
doing something else, either:
- calculating a density to attach likelihood to particular values
- resampling from the distribution
I’ve been trying two different approaches to this:
-
skew normal (there’s a wiki page about this, and I tweeted about it). There is working code to parametrize and sample, but I suddenly gave up on the density part because I was frustrated that the skew normal couldn’t match things with very high skew. This can match exactly three quantiles (when it can).
-
Johnson-SU distributions. In my understanding, these involve sinh transformations of the normal distribution. This can match four quantiles, which will rarely be wanted, so we need some sort of constraint to restrict the parameter space and get a canonical distribution for three quantiles.
Bolker also has code which works using monotonic splines, which seems less elegant (and therefore possibly less defensible, especially for post hoc application), but definitely more flexible (in particular, can be used for either 3 or 5 parameters).
The method should be:
-
designed to work on an unbounded scale; thus to match probabilities you should first transform to a log odds scale, and to match positive quantities you should first take the log
-
based on the normal distribution (on the transformed scale); in particular, if both the probabilities and quantile values are symmetric on that scale, we should match the normal
-
affine; meaning that if two sets of quantiles differ only by location and scale (on the transformed scale), the method should map them to two distributions which also differ only by location and scale.