Learn R Programming

DPQ (version 0.4-3)

DPQ-package: DPQ

Description

DPQ

Arguments

Details

The DESCRIPTION file: DPQ DPQ

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.

See Also

The package DPQmpfr (not yet on CRAN), which builds on this package and on Rmpfr.

Examples

Run this code
# NOT RUN {
## Show problem in R's non-central t-distrib. density (and approximations):
example(dntJKBf)
# }
# NOT RUN {
<!-- %% TODO add other few cases (must *fast*!) maybe  non-central chisq -->
# }

Run the code above in your browser using DataLab