IDEAS home Printed from https://ideas.repec.org/a/spr/compst/v37y2022i2d10.1007_s00180-021-01133-z.html
   My bibliography  Save this article

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

Author

Listed:
  • Ben O’Neill

    (Australian National University)

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.

Suggested Citation

  • Ben O’Neill, 2022. "Computing highest density regions for continuous univariate distributions with known probability functions," Computational Statistics, Springer, vol. 37(2), pages 613-649, April.
  • Handle: RePEc:spr:compst:v:37:y:2022:i:2:d:10.1007_s00180-021-01133-z
    DOI: 10.1007/s00180-021-01133-z
    as

    Download full text from publisher

    File URL: http://link.springer.com/10.1007/s00180-021-01133-z
    File Function: Abstract
    Download Restriction: Access to the full text of the articles in this series is restricted.

    File URL: https://libkey.io/10.1007/s00180-021-01133-z?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    References listed on IDEAS

    as
    1. Meyer, David & Hornik, Kurt, 2009. "Generalized and Customizable Sets in R," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 31(i02).
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Riza, Lala Septem & Bergmeir, Christoph & Herrera, Francisco & Benítez, José M., 2015. "frbs: Fuzzy Rule-Based Systems for Classification and Regression in R," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 65(i06).
    2. repec:jss:jstsof:37:i02 is not listed on IDEAS
    3. Templ, Matthias & Kowarik, Alexander & Meindl, Bernhard, 2015. "Statistical Disclosure Control for Micro-Data Using the R Package sdcMicro," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 67(i04).
    4. Bivand, Roger, 2011. "Geocomputation and open source software: components and software stacks," Discussion Paper Series in Economics 23/2011, Norwegian School of Economics, Department of Economics.
    5. repec:jss:jstsof:31:i02 is not listed on IDEAS

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:spr:compst:v:37:y:2022:i:2:d:10.1007_s00180-021-01133-z. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Sonal Shukla or Springer Nature Abstracting and Indexing (email available below). General contact details of provider: http://www.springer.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.