
Log-likelihood of negative binomial model, for a fixed dispersion parameter
Source:R/PCzinb_internal.R
nb.loglik.dispersion.RdGiven a unique dispersion parameter and a set of counts, together with a corresponding set of mean parameters, this function computes the sum of the log-probabilities of the counts under the NB model. The dispersion parameter is provided to the function through zeta = log(theta), where theta is sometimes called the inverse dispersion parameter.