loglik_zinb {hurdlr} | R Documentation |
Zero-inflated Negative Binomial Data Likelihood
Description
Data likelihood fuction for zero-inflated negative binomial
model regression using zero_nb
.
Usage
loglik_zinb(y, z, mu, size, p)
Arguments
y |
numeric response vector. |
z |
vector of binary operators. |
mu |
current value for the negative binomial likelihood mu parameter. |
size |
size parameter for negative binomial distribution. |
p |
vector of 'extra' zero-count probabilities. |
Value
The log-likelihood of the zero-inflated negative binomial fit for the current iteration of the MCMC algorithm.
Author(s)
Taylor Trippe <ttrippe@luc.edu>
Earvin Balderama <ebalderama@luc.edu>
See Also
[Package hurdlr version 0.1 Index]