Skip to contents

The binomial pmf with p = a/n beside the Poisson pmf with mean a.

Usage

BinPoisLim(k, n, a)

Arguments

k

successes, >= 0.

n

trials, >= 1.

a

the product n p held fixed as n grows.

Value

list(binomial, poisson, abs_error).

References

Morin, D. J. (2016). Probability: For the Enthusiastic Beginner. Createspace. Eqs (4.34)-(4.35).

Examples

BinPoisLim(2, 1000, 3)$abs_error
#> [1] 0.0001119363