mixnegbinom.loglik {mederrRank} | R Documentation |
Log-Likelihood Function for the Mixture of Negative Binomial Distributions
Description
This function computes the log-likelihood function for the mixture of two negative binomial distributions as described in dmixnegbinom
.
Usage
mixnegbinom.loglik(theta, N, E)
Arguments
theta |
vector of parameter values. |
N |
vector of observed error profiles counts. |
E |
vector of expected error profiles counts. |
Details
For further details see Myers et al. (2011).
Value
mixnegbinom.loglik
returns the log-likelihood value for the negative binomial mixture.
Author(s)
Sergio Venturini sergio.venturini@unicatt.it,
Jessica A. Myers jmyers6@partners.org
References
DuMouchel W. (1999), "Bayesian Data Mining in Large Frequency Tables, with an Application to the FDA Spontaneous Reporting System". The American Statistician, 53, 177-190.
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
dmixnegbinom
,
mixnegbinom.em
,
mixnegbinom.score
.