Learn R Programming

mederrRank (version 0.1.0)

mixnegbinom.loglik: 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)

Value

mixnegbinom.loglik returns the log-likelihood value for the negative binomial mixture.

Arguments

theta

vector of parameter values.

N

vector of observed error profiles counts.

E

vector of expected error profiles counts.

Author

Sergio Venturini sergio.venturini@unicatt.it,

Jessica A. Myers jmyers6@partners.org

Details

For further details see Myers et al. (2011).

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.