CRAN/E | DPQ

DPQ

Density, Probability, Quantile ('DPQ') Computations

Installation

About

Computations for approximations and alternatives for the 'DPQ' (Density (pdf), Probability (cdf) and Quantile) functions for probability distributions in R. Primary focus is on (central and non-central) beta, gamma and related distributions such as the chi-squared, F, and t. – For several distribution functions, provide functions implementing formulas from Johnson, Kotz, and Kemp (1992) doi:10.1002/bimj.4710360207 and Johnson, Kotz, and Balakrishnan (1995) for discrete or continuous distributions respectively. This is for the use of researchers in these numerical approximation implementations, notably for my own use in order to improve standard R pbeta(), qgamma(), ..., etc: {'"dpq"'-functions}.

specfun.r-forge.r-project.org/
r-forge.r-project.org/R/?group_id=611
r-forge.r-project.org/scm/viewvc.php/pkg/DPQ/?root=specfun
Bug report File report

Key Metrics

Version 0.5-8
R ≥ 4.0.0
Published 2023-12-01 136 days ago
Needs compilation? yes
License GPL-2
License GPL-3
CRAN checks DPQ results

Downloads

Yesterday 4
Last 7 days 58 -36%
Last 30 days 340 -19%
Last 90 days 1.448 -6%
Last 365 days 5.991 +19%

Maintainer

Maintainer

Martin Maechler

maechler@stat.math.ethz.ch

Authors

Martin Maechler

aut / cre

Morten Welinder

ctb

(pgamma C code, see PR#7307, Jan. 2005; further pdhyper())

Wolfgang Viechtbauer

ctb

(dtWV(), 2002)

Ross Ihaka

ctb

(src/qchisq_appr.c)

Marius Hofert

ctb

(lsum(), lssum())

R-core

ctb

(src/{dpq.h, algdiv.c, pnchisq.c, bd0.c})

R Foundation

cph

(src/qchisq-appr.c)

Material

NEWS
Reference manual
Package source

In Views

Distributions

Vignettes

Noncentral Chi-Squared Probabilities – Algorithms in R
Computing Beta(a,b) for Large Arguments
log1pmx, bd0, stirlerr - Probability Computations in R
Asymptotic Tail Formulas For Gaussian Quantiles

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

DPQ archive

Depends

R ≥ 4.0.0

Imports

stats
graphics
methods
utils
sfsmisc ≥ 1.1-14

Suggests

Rmpfr
DPQmpfr ≥ 0.3-1
gmp
MASS
mgcv
scatterplot3d
interp

Reverse Imports

DPQmpfr

Reverse Enhances

Rmpfr