zinb.loglik.matrix: Log-likelihood of the zero-inflated negative binomial model...

Description Usage Arguments Value

View source: R/zinbwave.R

Description

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.

Usage

1

Arguments

model

the zinb model

x

the matrix of counts

Value

the matrix of log-likelihood of the model.


zinbwave documentation built on Nov. 8, 2020, 8:11 p.m.