Crandore Hub

DPQ

Density, Probability, Quantile ('DPQ') Computations

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}.

README

# DPQ/safe/ : Saved  R  objects in order to save time in tests etc

   Size | Filename                  | used-in                    | description
------: |----------                 | -------                    | -----------
   2443 | pnt-prec-sim1.rds         |                            |
 207675 | tests_chisq-nonc-ssAp.rds |../../tests/chisq-nonc-ex.R | 4D-array of non-centr pchisq() approx
  45936 | tests_chisq-nonc-ssR.rds  |../../tests/chisq-nonc-ex.R |
  99732 | tests_chisq-nonc-ssR2.rds |../../tests/chisq-nonc-ex.R |
  41102 | tests_chisq-nonc-ssR3.rds |../../tests/chisq-nonc-ex.R |
  88986 | tests_chisq-nonc-ssR4.rds |../../tests/chisq-nonc-ex.R |
    605 | tests_ppoisErr.rda		|../../tests/ppois-ex/R      |
   2740 | tests_qbeta-d-ssR.rds	    |../../tests/qbeta-dist.R    |

Versions across snapshots

VersionRepositoryFileSize
0.6-1 2026-04-09 windows/windows R-4.5 DPQ_0.6-1.zip 2.4 MiB

Dependencies (latest)

Imports

Suggests