ShiftConvolvePoibin

Exactly Computing the Tail of the Poisson-Binomial Distribution

CRAN Package

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.


Team


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.

Sun
Mon
Tue
Wed
Thu
Fri
Sat
0 downloadsMar 9, 2025
0 downloadsMar 10, 2025
8 downloadsMar 11, 2025
5 downloadsMar 12, 2025
6 downloadsMar 13, 2025
6 downloadsMar 14, 2025
5 downloadsMar 15, 2025
6 downloadsMar 16, 2025
3 downloadsMar 17, 2025
11 downloadsMar 18, 2025
6 downloadsMar 19, 2025
9 downloadsMar 20, 2025
10 downloadsMar 21, 2025
6 downloadsMar 22, 2025
4 downloadsMar 23, 2025
11 downloadsMar 24, 2025
5 downloadsMar 25, 2025
4 downloadsMar 26, 2025
4 downloadsMar 27, 2025
5 downloadsMar 28, 2025
8 downloadsMar 29, 2025
4 downloadsMar 30, 2025
3 downloadsMar 31, 2025
7 downloadsApr 1, 2025
12 downloadsApr 2, 2025
13 downloadsApr 3, 2025
4 downloadsApr 4, 2025
7 downloadsApr 5, 2025
13 downloadsApr 6, 2025
11 downloadsApr 7, 2025
5 downloadsApr 8, 2025
8 downloadsApr 9, 2025
0 downloadsApr 10, 2025
0 downloadsApr 11, 2025
0 downloadsApr 12, 2025
3
13

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