Skip to content

Poisson vs. Binomial Sampling

Compares epiworld's rbinom and rpoiss random number generators to verify the Poisson approximation to the Binomial distribution.

View this example on GitHub.

Try It Live

Edit the code below and click ▶ Run to compile and execute it in your browser via Compiler Explorer. No local setup needed!

🧪 Interactive Example