Log-Likelihood Score Function for the Negative Binomial Distribution

Share:

Description

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

Usage

1
negbinom.score(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

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

Author(s)

Sergio Venturini sergio.venturini@unibocconi.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

dnegbinom, negbinom.em, negbinom.loglik.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.