Dear authors, thanks for providing the pscl package and we've been using it to fit hurdle and zero-inflated models.
I have a question on hurdle model prediction when going through the source code in comparison to your tech document, and hope if you mind sparing some time to help if I missed anything.
Dear authors, thanks for providing the pscl package and we've been using it to fit hurdle and zero-inflated models.
I have a question on hurdle model prediction when going through the source code in comparison to your tech document, and hope if you mind sparing some time to help if I missed anything.
The source code here seems to indicate that p0_zero is the log-probability of observing 0 based on the binary model, and p0_count is the log-probability of observing 0 based on the count model. https://github.com/atahk/pscl/blob/7db2395361acc69ca8b875762fe9117541f76e77/R/hurdle.R#L624
But based on your tech doc Appendix C (clipped below),
it seems the line
ought to be
instead?