Package: nbconv 2.0.0
nbconv: Evaluate Arbitrary Negative Binomial Convolutions
Five distinct methods are implemented for evaluating the sums of arbitrary negative binomial distributions. These methods are: Furman's exact series representation (Furman (2007) <doi:10.1016/j.spl.2006.06.007>), an FFT-based approach, a "hybrid" approach that uses FFT for non-extreme probabilities and falls back to the series representation for extremely low probabilities, saddlepoint approximation, and a method-of-moments approximation. Functions are provided to calculate probability masses, cumulative probabilities, and quantiles of the convolutions in question using said evaluation methods. Functions for generating random deviates from negative binomial convolutions and for directly calculating the mean, variance, skewness, and excess kurtosis from cumulants are also provided.
Authors:
nbconv_2.0.0.tar.gz
nbconv_2.0.0.zip(r-4.7)nbconv_2.0.0.zip(r-4.6)nbconv_2.0.0.zip(r-4.5)
nbconv_2.0.0.tgz(r-4.6-any)nbconv_2.0.0.tgz(r-4.5-any)
nbconv_2.0.0.tar.gz(r-4.7-any)nbconv_2.0.0.tar.gz(r-4.6-any)
nbconv_2.0.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
nbconv/json (API)
NEWS
| # Install 'nbconv' in R: |
| install.packages('nbconv', repos = c('https://gbedwell.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/gbedwell/nbconv/issues
Last updated from:8671c70736. Checks:7 NOTE, 2 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | NOTE | 101 | ||
| source / vignettes | OK | 160 | ||
| linux-release-x86_64 | NOTE | 101 | ||
| macos-release-arm64 | NOTE | 122 | ||
| macos-oldrel-arm64 | NOTE | 179 | ||
| windows-devel | NOTE | 64 | ||
| windows-release | NOTE | 58 | ||
| windows-oldrel | NOTE | 68 | ||
| wasm-release | OK | 93 |
Exports:dnbconvnbconv_paramspnbconvqnbconvrnbconv
Dependencies:fftwmatrixStats
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Probability Mass Function | dnbconv |
| FFT Convolution | nb_sum_fft |
| Hybrid FFT and Series Convolution | nb_sum_hybrid |
| Method of Moments | nb_sum_moments |
| Saddlepoint Approximation | nb_sum_saddlepoint |
| Series Convolution/Furman's PMF | nb_sum_series |
| Summary statistics | nbconv_params |
| Cumulative Distribution Function | pnbconv |
| Quantile Function | qnbconv |
| Random Deviates | rnbconv |
