negbinom.loglik: Log-Likelihood Function for the Mixture of Negative Binomial...

View source: R/mederrRank.R

negbinom.loglikR 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 distribution as described in dmixnegbinom.

Usage

negbinom.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

negbinom.loglik returns the log-likelihood value for the negative binomial distribution.

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

dnegbinom, negbinom.em, negbinom.score.


mederrRank documentation built on Sept. 8, 2023, 5:06 p.m.