A simple function to understand the algorithm to simulate (psuedo-)observations from binomial distribution. It is an implementation of the algorithm given in Section 11.3.1 "Simulation from Discrete Distributions". This function is not an alternative to the "rpois" function.
rate of the Poisson RV
required number of pseudo-observations
Prabhanjan N. Tattar
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.