loglik_zip {hurdlr} | R Documentation |
Zero-inflated Poisson Data Likelihood
Description
Data likelihood fuction for zero-inflated Poisson model
regression using zero_poisson
.
Usage
loglik_zip(y, z, lam, p)
Arguments
y |
numeric response vector. |
z |
vector of binary operators. |
lam |
current value for the Poisson likelihood lambda parameter. |
p |
vector of 'extra' zero-count probabilities. |
Value
The log-likelihood of the zero-inflated Poisson 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]