Computing highest density regions for continuous univariate distributions with known probability functions

Ben O’Neill*

*Corresponding author for this work

    Research output: Contribution to journalArticlepeer-review

    Abstract

    We examine the problem of computing the highest density region (HDR) in a computational context where the user has access to a density function and quantile function for the distribution (e.g., in the statistical language R). We examine several common classes of continuous univariate distributions based on the shape of the density function; this includes monotone densities, quasi-concave and quasi-convex densities, and general multimodal densities. In each case we show how the user can compute the HDR from the quantile and density functions by framing the problem as a nonlinear optimisation problem. We implement these methods in R to obtain general functions to compute HDRs for classes of distributions, and for commonly used families of distributions. We compare our method to existing R packages for computing HDRs and we show that our method performs favourably in terms of both accuracy and average speed.

    Original languageEnglish
    Pages (from-to)613-649
    Number of pages37
    JournalComputational Statistics
    Volume37
    Issue number2
    DOIs
    Publication statusPublished - Apr 2022

    Fingerprint

    Dive into the research topics of 'Computing highest density regions for continuous univariate distributions with known probability functions'. Together they form a unique fingerprint.

    Cite this