This function computes the log-likelihood score for the negative binomial distribution as described in dmixnegbinom
.
negbinom.score(theta, N, E)
negbinom.score
returns the vector of log-likelihood score values for the negative binomial distribution.
vector of parameter values.
vector of observed error profiles counts.
vector of expected error profiles counts.
Sergio Venturini sergio.venturini@unicatt.it,
Jessica A. Myers jmyers6@partners.org
For further details see Myers et al. (2011).
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.
dnegbinom
,
negbinom.em
,
negbinom.loglik
.