nb.loglik.dispersion | R Documentation |
Given 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.
nb.loglik.dispersion(zeta, Y, mu)
zeta |
a vector, the log of the inverse dispersion parameters of the negative binomial model |
Y |
a vector of counts |
mu |
a vector of mean parameters of the negative binomial |
the log-likelihood of the model.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.