# Density, Probability, Quantile ('DPQ') Computations

## Documentation for package ‘DPQ’ version 0.3-5

- DESCRIPTION file.
- User guides, package vignettes and other documentation.
- Package NEWS.

## Help Pages

A B C D F G H L M N O P Q R S Z misc

DPQ-package | Density, Probability, Quantile ('DPQ') Computations

## -- A --

algdiv | Compute log(gamma(b)/gamma(a+b)) when b >= 8
all_mpfr | Numerical Utilities - Functions, Constants
any_mpfr | Numerical Utilities - Functions, Constants

## -- B --

bd0 | Utility Functions for 'dgamma()' - Pure R Versions
betaI | (Log) Beta Approximations
b_chi | Compute E[chi_nu]/sqrt(nu) useful for t- and chi-Distributions
b_chiAsymp | Compute E[chi_nu]/sqrt(nu) useful for t- and chi-Distributions

## -- C --

c_dt | Compute E[chi_nu]/sqrt(nu) useful for t- and chi-Distributions
c_dtAsymp | Compute E[chi_nu]/sqrt(nu) useful for t- and chi-Distributions
c_pt | Compute E[chi_nu]/sqrt(nu) useful for t- and chi-Distributions

## -- D --

dchisqAsym | Approximations of the (Noncentral) Chi-Squared Density
dgamma.R | Gamma Density Function Alternatives
dnchisqBessel | Approximations of the (Noncentral) Chi-Squared Density
dnchisqR | Approximations of the (Noncentral) Chi-Squared Density
dnoncentchisq | Approximations of the (Noncentral) Chi-Squared Density
dntJKBf | Non-central t-Distribution Density - Algorithms and Approximations
dntJKBf1 | Non-central t-Distribution Density - Algorithms and Approximations
dpois_raw | Utility Functions for 'dgamma()' - Pure R Versions
DPQ | Density, Probability, Quantile ('DPQ') Computations
dtWV | Noncentral t Distribution Density by W.V.

## -- F --

format01prec | Format Numbers in [0,1] with "Precise" Result

## -- G --

g2 | Wienergerm Approximations to (Non-Central) Chi-squared Probabilities
gnt | Wienergerm Approximations to (Non-Central) Chi-squared Probabilities
G_half | Numerical Utilities - Functions, Constants

## -- H --

h | Wienergerm Approximations to (Non-Central) Chi-squared Probabilities
h0 | Wienergerm Approximations to (Non-Central) Chi-squared Probabilities
h1 | Wienergerm Approximations to (Non-Central) Chi-squared Probabilities
h2 | Wienergerm Approximations to (Non-Central) Chi-squared Probabilities
hnt | Wienergerm Approximations to (Non-Central) Chi-squared Probabilities

## -- L --

lbetaI | (Log) Beta Approximations
lbetaM | (Log) Beta Approximations
lbetaMM | (Log) Beta Approximations
lbeta_asy | (Log) Beta Approximations
lb_chi0 | Compute E[chi_nu]/sqrt(nu) useful for t- and chi-Distributions
lb_chi00 | Compute E[chi_nu]/sqrt(nu) useful for t- and chi-Distributions
lb_chiAsymp | Compute E[chi_nu]/sqrt(nu) useful for t- and chi-Distributions
lgamma1p | Accurate 'log(gamma(a+1))'
lgamma1p. | Accurate 'log(gamma(a+1))'
lgamma1p_series | Accurate 'log(gamma(a+1))'
log1mexp | Compute f(a) = log(1 - exp(-a)) Numerically Optimally
log1pmx | Accurate 'log(1+x) - x'
logcf | Continued Fraction Approximation of Log-Related Series
logQab_asy | (Log) Beta Approximations
logr | Numerical Utilities - Functions, Constants
logspace.add | Logspace Arithmetix - Addition and Subtraction
logspace.sub | Logspace Arithmetix - Addition and Subtraction
lssum | Compute Logarithm of a Sum with Signed Large Summands
lsum | Properly Compute the Logarithm of a Sum

## -- M --

M_cutoff | Numerical Utilities - Functions, Constants
M_LN2 | Numerical Utilities - Functions, Constants
M_minExp | Numerical Utilities - Functions, Constants

## -- N --

newton | Simple R level Newton Algorithm, Mostly for Didactical Reasons

## -- O --

okLongDouble | Numerical Utilities - Functions, Constants

## -- P --

pbetaRv1 | Pure R Implementation of Old pbeta()
pchisqV | Wienergerm Approximations to (Non-Central) Chi-squared Probabilities
pchisqW | Wienergerm Approximations to (Non-Central) Chi-squared Probabilities
pchisqW. | Wienergerm Approximations to (Non-Central) Chi-squared Probabilities
pchisqW.R | Wienergerm Approximations to (Non-Central) Chi-squared Probabilities
pl2curves | Plot 2 Noncentral Distribution Curves for Visual Comparison
plRpois | Compute Relative Size of i-th term of Poisson Distribution Series
pnbetaAppr2 | Noncentral Beta Probabilities
pnbetaAppr2v1 | Noncentral Beta Probabilities
pnbetaAS310 | Noncentral Beta Probabilities
pnchi1sq | (Probabilities of Non-Central Chi-squared Distribution for Special Cases
pnchi3sq | (Probabilities of Non-Central Chi-squared Distribution for Special Cases
pnchisq | (Approximate) Probabilities of Non-Central Chi-squared Distribution
pnchisqAbdelAty | (Approximate) Probabilities of Non-Central Chi-squared Distribution
pnchisqBolKuz | (Approximate) Probabilities of Non-Central Chi-squared Distribution
pnchisqIT | (Approximate) Probabilities of Non-Central Chi-squared Distribution
pnchisqPatnaik | (Approximate) Probabilities of Non-Central Chi-squared Distribution
pnchisqPearson | (Approximate) Probabilities of Non-Central Chi-squared Distribution
pnchisqRC | (Approximate) Probabilities of Non-Central Chi-squared Distribution
pnchisqSankaran_d | (Approximate) Probabilities of Non-Central Chi-squared Distribution
pnchisqT93 | (Approximate) Probabilities of Non-Central Chi-squared Distribution
pnchisqT93.a | (Approximate) Probabilities of Non-Central Chi-squared Distribution
pnchisqT93.b | (Approximate) Probabilities of Non-Central Chi-squared Distribution
pnchisqTerms | (Approximate) Probabilities of Non-Central Chi-squared Distribution
pnchisqV | (Approximate) Probabilities of Non-Central Chi-squared Distribution
pnchisq_ss | (Approximate) Probabilities of Non-Central Chi-squared Distribution
pnt3150 | Non-central t Probability Distribution - Algorithms and Approximations
pnt3150.1 | Non-central t Probability Distribution - Algorithms and Approximations
pntChShP94 | Non-central t Probability Distribution - Algorithms and Approximations
pntChShP94.1 | Non-central t Probability Distribution - Algorithms and Approximations
pntJW39 | Non-central t Probability Distribution - Algorithms and Approximations
pntJW39.0 | Non-central t Probability Distribution - Algorithms and Approximations
pntLrg | Non-central t Probability Distribution - Algorithms and Approximations
pntP94 | Non-central t Probability Distribution - Algorithms and Approximations
pntP94.1 | Non-central t Probability Distribution - Algorithms and Approximations
pntR | Non-central t Probability Distribution - Algorithms and Approximations
pntR1 | Non-central t Probability Distribution - Algorithms and Approximations
ppoisD | Direct Computation of 'ppois()' Poisson Distribution Probabilities
ppoisErr | Direct Computation of 'ppois()' Poisson Distribution Probabilities

## -- Q --

Qab_terms | (Log) Beta Approximations
qbeta.R | Compute (Approximate) Quantiles of the Beta Distribution
qbetaAppr | Compute (Approximate) Quantiles of the Beta Distribution
qbetaAppr.1 | Compute (Approximate) Quantiles of the Beta Distribution
qbetaAppr.2 | Compute (Approximate) Quantiles of the Beta Distribution
qbetaAppr.3 | Compute (Approximate) Quantiles of the Beta Distribution
qbetaAppr.4 | Compute (Approximate) Quantiles of the Beta Distribution
qchisqAppr | Compute Approximate Quantiles of the Chi-Squared Distribution
qchisqAppr.0 | Compute Approximate Quantiles of Noncentral Chi-Squared Distribution
qchisqAppr.1 | Compute Approximate Quantiles of Noncentral Chi-Squared Distribution
qchisqAppr.2 | Compute Approximate Quantiles of Noncentral Chi-Squared Distribution
qchisqAppr.3 | Compute Approximate Quantiles of Noncentral Chi-Squared Distribution
qchisqAppr.R | Compute Approximate Quantiles of the Chi-Squared Distribution
qchisqApprCF1 | Compute Approximate Quantiles of Noncentral Chi-Squared Distribution
qchisqApprCF2 | Compute Approximate Quantiles of Noncentral Chi-Squared Distribution
qchisqCappr.2 | Compute Approximate Quantiles of Noncentral Chi-Squared Distribution
qchisqKG | Compute Approximate Quantiles of the Chi-Squared Distribution
qchisqN | Compute Approximate Quantiles of Noncentral Chi-Squared Distribution
qchisqWH | Compute Approximate Quantiles of the Chi-Squared Distribution
qgamma.R | Compute (Approximate) Quantiles of the Gamma Distribution
qgammaAppr | Compute (Approximate) Quantiles of the Gamma Distribution
qgammaApprKG | Compute (Approximate) Quantiles of the Gamma Distribution
qgammaApprSmallP | Compute (Approximate) Quantiles of the Gamma Distribution
qnchisqAbdelAty | Compute Approximate Quantiles of Noncentral Chi-Squared Distribution
qnchisqAppr | Compute Approximate Quantiles of Noncentral Chi-Squared Distribution
qnchisqBolKuz | Compute Approximate Quantiles of Noncentral Chi-Squared Distribution
qnchisqPatnaik | Compute Approximate Quantiles of Noncentral Chi-Squared Distribution
qnchisqPearson | Compute Approximate Quantiles of Noncentral Chi-Squared Distribution
qnchisqSankaran_d | Compute Approximate Quantiles of Noncentral Chi-Squared Distribution
qnormAppr | Approximations to 'qnorm()', i.e., z_alpha
qnormUappr | Approximations to 'qnorm()', i.e., z_alpha
qs | Wienergerm Approximations to (Non-Central) Chi-squared Probabilities
qtAppr | Compute Approximate Quantiles of Non-Central t Distribution

## -- R --

r_pois | Compute Relative Size of i-th term of Poisson Distribution Series
r_pois_expr | Compute Relative Size of i-th term of Poisson Distribution Series

## -- S --

scalefactor | Wienergerm Approximations to (Non-Central) Chi-squared Probabilities
ss | (Approximate) Probabilities of Non-Central Chi-squared Distribution
ss2 | (Approximate) Probabilities of Non-Central Chi-squared Distribution
ss2. | (Approximate) Probabilities of Non-Central Chi-squared Distribution
stirlerr | Utility Functions for 'dgamma()' - Pure R Versions
sW | Wienergerm Approximations to (Non-Central) Chi-squared Probabilities

## -- Z --

z.f | Wienergerm Approximations to (Non-Central) Chi-squared Probabilities
z.s | Wienergerm Approximations to (Non-Central) Chi-squared Probabilities
z0 | Wienergerm Approximations to (Non-Central) Chi-squared Probabilities

## -- misc --

.dntJKBch | Non-central t-Distribution Density - Algorithms and Approximations
.dntJKBch1 | Non-central t-Distribution Density - Algorithms and Approximations
.qgammaApprBnd | Compute (Approximate) Quantiles of the Gamma Distribution