zinb.loglik.dispersion.gradient: Derivative of the log-likelihood of the zero-inflated...

View source: R/zinb_fit.R

zinb.loglik.dispersion.gradientR Documentation

Derivative of the log-likelihood of the zero-inflated negative binomial model with respect to the log of the inverse dispersion parameter

Description

Derivative of the log-likelihood of the zero-inflated negative binomial model with respect to the log of the inverse dispersion parameter

Usage

zinb.loglik.dispersion.gradient(zeta, Y, mu, logitPi)

Arguments

zeta

the log of the inverse dispersion parameters of the negative binomial

Y

a vector of counts

mu

a vector of mean parameters of the negative binomial

logitPi

a vector of the logit of the probability of the zero component

Value

the gradient of the inverse dispersion parameters.

See Also

zinb.loglik, zinb.loglik.dispersion.


drisso/zinbwave documentation built on March 18, 2024, 5:13 p.m.