ShiftConvolvePoibin
Exactly Computing the Tail of the Poisson-Binomial Distribution
An exact method for computing the Poisson-Binomial Distribution (PBD). The package provides a function for generating a random sample from the PBD, as well as two distinct approaches for computing the density, distribution, and quantile functions of the PBD. The first method uses direct-convolution, or a dynamic-programming approach which is numerically stable but can be slow for a large input due to its quadratic complexity. The second method is much faster on large inputs thanks to its use of Fast Fourier Transform (FFT) based convolutions. Notably in this case the package uses an exponential shift to practically guarantee the relative accuracy of the computation of an arbitrarily small tail of the PBD – something that FFT-based methods often struggle with. This ShiftConvolvePoiBin method is described in Peres, Lee and Keich (2020) doi:10.48550/arXiv.2004.07429 where it is also shown to be competitive with the fastest implementations for exactly computing the entire Poisson-Binomial distribution.
- Version1.0.0
- R versionunknown
- LicenseGPL-2
- LicenseGPL-3
- Needs compilation?Yes
- Last release05/04/2020
Team
Andrew Lee
Noah Peres
Show author detailsRolesAuthor, ContributorUri Keich
Show author detailsRolesAuthor, ContributorAlexander Mukhin
Show author detailsRolesCopyright holder
Insights
Last 30 days
This package has been downloaded 209 times in the last 30 days. Enough downloads to make a small wave in the niche community. The curiosity is spreading! The following heatmap shows the distribution of downloads per day. Yesterday, it was downloaded 8 times.
The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.
Last 365 days
This package has been downloaded 2,552 times in the last 365 days. That's enough downloads to impress a room full of undergrads. A commendable achievement indeed. The day with the most downloads was Jan 03, 2025 with 26 downloads.
The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.
Data provided by CRAN
Binaries
Dependencies
- Reverse Depends1 package