rmixnegbinom {mederrRank} | R Documentation |
The Negative Binomial Mixture Distribution
Description
Random generation for a mixture of two negative binomial distributions.
Usage
rmixnegbinom(n, theta, E)
Arguments
n |
number of observations. |
theta |
vector of parameters for the negative binomial distribution mixture. |
E |
vector of (non-negative integer) expected counts. |
Value
rmixnegbinom
generates random deviates corresponding to the E
and theta
values provided.
Author(s)
Sergio Venturini sergio.venturini@unicatt.it,
Jessica A. Myers jmyers6@partners.org
References
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.
See Also
[Package mederrRank version 0.1.0 Index]