zinb.loglik.matrix | R Documentation |
Given a matrix of counts, this function computes the log-probabilities of the counts under a zero-inflated negative binomial (ZINB) model. For each count, the ZINB distribution is parametrized by three parameters: the mean value and the dispersion of the negative binomial distribution, and the probability of the zero component.
zinb.loglik.matrix(model, x)
model |
the zinb model |
x |
the matrix of counts |
the matrix of log-likelihood of the model.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.