nb.loglik.matrix | R Documentation |
Given a matrix of counts, this function computes the log-probabilities of the counts under a zero-inflated negative binomial (NB) model. For each count, the NB distribution is parametrized by two parameters: the mean value and the dispersion of the negative binomial distribution.
nb.loglik.matrix(model, x)
model |
the newmodel |
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.