Simulating underdispersed counts
Accurate probably depends on what exactly you want to accomplish with the simulation, but one simple approach would be to generate more data than you need from a regular Poisson distribution, then throw away the extreme values on both sides. -- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare greg.snow at imail.org 801.408.8111
-----Original Message----- From: r-help-bounces at r-project.org [mailto:r-help-bounces at r- project.org] On Behalf Of Ren? Holst Sent: Thursday, December 04, 2008 6:40 AM To: R-help at r-project.org Subject: [R] Simulating underdispersed counts Hello, Anyone who knows a fast and accurate algorithm for generating draws from an underdispersed Poisson distribution. Or even better, if there is a package containing such an implementation. Thanks Rene
______________________________________________ R-help at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting- guide.html and provide commented, minimal, self-contained, reproducible code.