rmixnegbinom | R Documentation |
Random generation for a mixture of two negative binomial distributions.
rmixnegbinom(n, theta, E)
n |
number of observations. |
theta |
vector of parameters for the negative binomial distribution mixture. |
E |
vector of (non-negative integer) expected counts. |
rmixnegbinom
generates random deviates corresponding to the E
and theta
values provided.
Sergio Venturini sergio.venturini@unicatt.it,
Jessica A. Myers jmyers6@partners.org
Myers, J. A., Venturini, S., Dominici, F. and Morlock, L. (2011), "Random Effects Models for Identifying the Most Harmful Medication Errors in a Large, Voluntary Reporting Database". Technical Report.
dmixnegbinom
,
rnbinom
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.