Learn R Programming

mederrRank (version 0.1.0)

negbinom.score: Log-Likelihood Score Function for the Negative Binomial Distribution

Description

This function computes the log-likelihood score for the negative binomial distribution as described in dmixnegbinom.

Usage

negbinom.score(theta, N, E)

Value

negbinom.score returns the vector of log-likelihood score values for the negative binomial distribution.

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

dnegbinom, negbinom.em, negbinom.loglik.