DPQ-package | R Documentation |
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}.
The DESCRIPTION file:
This package was not yet installed at build time.
Index: This package was not yet installed at build time.
An important goal is to investigate diverse algorithms and approximations
of R's own density (d*()
), probability (p*()
), and
quantile (q*()
) functions, notably in “border” cases where
the traditional published algorithms have shown to be suboptimal, not
quite accurate, or even useless.
Examples are border cases of the beta distribution, or non-central distributions such as the non-central chi-squared and t-distributions.
Principal author and maintainer: Martin Maechler <maechler@stat.math.ethz.ch>
The package DPQmpfr, which builds on this package and on Rmpfr.
## Show problem in R's non-central t-distrib. density (and approximations):
example(dntJKBf)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.