poibin-package {poibin}R Documentation

The Poisson Binomial Distribution

Description

Implementation of both the exact and approximation methods for computing the cdf of the Poisson binomial distribution. It also provides the pmf, quantile function, and random number generation for the Poisson binomial distribution.

Details

Package: poibin
Type: Package
Title: The Poisson Binomial Distribution
Version: 1.3
Date: 2018-05-16
Author: Yili Hong
Maintainer: Yili Hong <yilihong@vt.edu>
Description: Implementation of both the exact and approximation methods for computing the cdf of the Poisson binomial distribution. It also provides the pmf, quantile function, and random number generation for the Poisson binomial distribution.
License: GPL-2
LazyLoad: yes

Index of help topics:

poibin-package          The Poisson Binomial Distribution
ppoibin                 The Poisson Binomial Distribution.

Author(s)

Yili Hong

Maintainer: Yili Hong <yilihong@vt.edu>

References

Hong, Y. (2013). On computing the distribution function for the Poisson binomial distribution. Computational Statistics & Data Analysis, Vol. 59, pp. 41-51.

Examples

   kk=0:10
   pp=c(.1,.2,.3,.4,.5)
   ppoibin(kk=kk, pp=pp, method = "DFT-CF",wts=rep(2,5))
   ppoibin(kk=kk, pp=pp, method = "RF",wts=rep(2,5))
   ppoibin(kk=kk, pp=pp, method = "RNA",wts=rep(2,5))
   ppoibin(kk=kk, pp=pp, method = "NA",wts=rep(2,5))
   dpoibin(kk=kk, pp=pp,wts=rep(2,5))
   qpoibin(qq=0:10/10,pp=pp,wts=rep(2,5))
   rpoibin(m=2,pp=pp,wts=rep(2,5))

[Package poibin version 1.3 Index]