Hi all,--I have a catch data that are counts characterized by many zeros. I am planing to build a hurdle model including two processes: one generating the zeros and one generating the positive catch. A binomial probability model governs the binary outcome of whether the catch rate is zero or positive. The conditional distribution of the positive catch rates is governed by a zero-truncated poisson model.Is it correct to assign family=c(’binomial’, ’zeroinflatedpoisson0’) for the two processes?Thanks,Ruby
You received this message because you are subscribed to the Google Groups "R-inla discussion group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to r-inla-discussion-group+unsub...@googlegroups.com.
To post to this group, send email to r-inla-discussion-group@googlegroups.com.
Visit this group at https://groups.google.com/group/r-inla-discussion-group.
For more options, visit https://groups.google.com/d/optout.
I am not sure if your use of zeroinflatedpoisson0 is correct.Usually for Hurdle models: Where there are 0's the "poisson-part" has an NA observation. The reasoning is that you do not know what it would have been if it had made the "hurdle" of crossing zero.
family = "zeroinflatedpoisson0"
family=c(’binomial’, ’zerotruncatedPoisson’)
zerotruncatedPoisson will not work. Hence......I am not sure how you can put covariates in the binary part of the model.
So I believe you should exchange your zeroinflatedpoisson for a poisson, or a poisson where the zeroes are removed.PS. You could end up with similar results through different approaches, but estimating the zero-probability will get you in trouble if you have "NA and positive data".Kind regards,Haakon Bakka
On 26 July 2017 at 22:57, Ruby Ji <crysta...@gmail.com> wrote:
Hi all,I have a catch data that are counts characterized by many zeros. I am planing to build a hurdle model including two processes: one generating the zeros and one generating the positive catch. A binomial probability model governs the binary outcome of whether the catch rate is zero or positive. The conditional distribution of the positive catch rates is governed by a zero-truncated poisson model.Is it correct to assign family=c(’binomial’, ’zeroinflatedpoisson0’) for the two processes?Thanks,Ruby
--
You received this message because you are subscribed to the Google Groups "R-inla discussion group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to r-inla-discussion-group+unsub...@googlegroups.com.
To post to this group, send email to r-inla-disc...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to r-inla-discussion-group+unsubscr...@googlegroups.com.
To post to this group, send email to r-inla-disc...@googlegroups.com.
Visit this group at https://groups.google.com/group/r-inla-discussion-group.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "R-inla discussion group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to r-inla-discussion-group+unsub...@googlegroups.com.
To post to this group, send email to r-inla-discussion-group@googlegroups.com.
To post to this group, send email to r-inla-discussion-group@googlegroups.com.
Visit this group at https://groups.google.com/group/r-inla-discussion-group.
For more options, visit https://groups.google.com/d/optout.
Sorry, I can't understand... If use zeroinflatedpoisson0, how can I add covariates on the binary part?
It is the reason why I did not use zeroinflatedpoisson0...
-- Dr. Alain F. Zuur Author of: 1. Beginner's Guide to Spatial, Temporal and Spatial-Temporal Ecological Data Analysis with R-INLA. (2017). 2. Beginner's Guide to Zero-Inflated Models with R (2016). 3. Beginner's Guide to Data Exploration and Visualisation with R (2015). 4. Beginner's Guide to GAMM with R (2014). 5. Beginner's Guide to GLM and GLMM with R (2013). 6. Beginner's Guide to GAM with R (2012). 7. Zero Inflated Models and GLMM with R (2012). 8. A Beginner's Guide to R (2009). 9. Mixed effects models and extensions in ecology with R (2009). 10. Analysing Ecological Data (2007). Highland Statistics Ltd. 9 St Clair Wynd UK - AB41 6DZ Newburgh Tel: 0044 1358 788177 Email: high...@highstat.com URL: www.highstat.com
--
bigger \theta gives bigger probability of zeros, see
inla.doc('zeroinflatedpoisson0')
Elias
If I use Occurrance for zero inflation part and the counts with (positive , 0, and NA),