poibin-package: The Poisson Binomial Distribution.

Description Details Author(s) References Examples

Description

The cdf, pmf, quantile function, and random number generation for the Poisson binomial distribution.

Details

Package: poibin
Type: Package
Version: 1.1
Date: 2012-11-07
License: GPL-2
LazyLoad: yes

This package implements 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.

Author(s)

Yili Hong

Maintainer: Yili Hong <yilihong@vt.edu>

References

Hong, Y. (2012). On computing the distribution function for the Poisson binomial distribution. Computational Statistics & Data Analysis. Available online, http://dx.doi.org/10.1016/j.csda.2012.10.006.

Examples

1
2
3
4
5
6
7
8
9
   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))

poibin documentation built on May 29, 2017, 7:08 p.m.

Search within the poibin package
Search all R packages, documentation and source code