Spencer Jones
2006-Aug-04 16:33 UTC
[R] Simulate an Overdispersed(extra-variance poisson process)?
Is there a function in R comparable to rpois that can simulate random variables from an overdispersed poisson distribution? If there is not a function any ideas/references on how to program one? thanks, Spencer Jones Graduate Student, NLM Fellow Dept. Biomedical Informatics University of Utah [[alternative HTML version deleted]]
Marc Schwartz (via MN)
2006-Aug-04 16:49 UTC
[R] Simulate an Overdispersed(extra-variance poisson process)?
On Fri, 2006-08-04 at 10:33 -0600, Spencer Jones wrote:> Is there a function in R comparable to rpois that can simulate random > variables from an overdispersed poisson distribution? If there is not a > function any ideas/references on how to program one?Take a look at ?rnbinom or library(MASS) ?rnegbin HTH, Marc Schwartz