Reconstruct a Distribution from a Collection of Quantiles

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.


distfromq

R-CMD-check

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.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("distfromq")

1.0.4 by Evan Ray, 2 years ago


http://reichlab.io/distfromq/


Browse source code at https://github.com/cran/distfromq


Authors: Evan Ray [aut, cre] , Aaron Gerding [aut] , Li Shandross [ctb] , Nick Reich [ctb]


Documentation:   PDF Manual  


GPL (>= 3) license


Imports checkmate, purrr, splines, stats, utils, zeallot

Suggests dplyr, ggplot2, knitr, rmarkdown, testthat


Imported by hubEnsembles.


See at CRAN