Reconstruct a Distribution from a Collection of Quantiles
Overview
Given a set of predictive quantiles from a distribution, estimate the distribution and create `d`, `p`, `q`, and `r` functions to evaluate its density function, distribution function, and quantile function, and generate random samples. On the interior of the provided quantiles, an interpolation method such as a monotonic cubic spline is used; the tails are approximated by a location-scale family.
- Fix a bug where floating point issues could cause adjusted probability levels to fall outside the interval [0, 1] with a point mass at 0.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 11
- Examples that run
- no examples
- Exported functions with examples
- 0%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
- distfromq HTML
Downloads
Dependencies
Installing distfromq adds 10 packages (8 with compiled code, 3.4 MB of source tarballs). Heaviest: vctrs 1.0 MB, rlang 766 KB, cli 629 KB.
Code & Tests
People & History
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 1.0.4Latest2024-09-13 · current release
- RR 4.4.0 released · 2024-04-24
Package metadata
- First published
- 2024-09-13
- Total releases
- 1 / 2 yrs
- License
- GPL (>= 3) OSI
- Download size
- 162 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("distfromq")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.