Zero-and-one-inflated beta regression

635 views
Skip to first unread message

Andrew Tredennick

unread,
Jul 28, 2014, 6:47:02 PM7/28/14
to r-inla-disc...@googlegroups.com
Hello,

I am modeling percent cover of trees in 1 hectare plots using remote sensing variables as predictors. So the data is basically proportional, but we have a zero-inflation problem. Out 896 observations, 121 have zero percent cover. I have a model working in INLA using the "beta" likelihood, but to do so required altering the data so that, if we let y=percent cover, when y=0 I reset to y=0.0001. I would much rather model tree cover as a mixture of Bernoulli and Beta distributions. Is this possible using INLA?

Best regards,
Andrew

Elias T Krainski

unread,
Jul 29, 2014, 3:23:12 AM7/29/14
to r-inla-disc...@googlegroups.com
Dear Andrew,
Maybe one way to do that is following the example chapter five of
  http://www.r-inla.org/examples/tutorials/spde-tutorial
best,
Elias.
--
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...@googlegroups.com.
To post to this group, send email to r-inla-disc...@googlegroups.com.
Visit this group at http://groups.google.com/group/r-inla-discussion-group.
For more options, visit https://groups.google.com/d/optout.

Andrew Tredennick

unread,
Jul 30, 2014, 10:33:35 AM7/30/14
to r-inla-disc...@googlegroups.com
Thanks Elias, that chapter does help. If I mix your example with the multiple likelihood section of the INLA "Tools for Manipulating..." section I get a working version. However, if we consider your example in Chapter 5, is it truly a mixture distribution with a parameter that determines the extent to which each likelihood influences the posterior distribution? What I am particularly looking for is an INLA implementation of the example outlined here, http://mbjoseph.github.io/blog/2014/02/06/beta/.


On Tuesday, July 29, 2014 1:23:12 AM UTC-6, Elias T. Krainski wrote:
Dear Andrew,
Maybe one way to do that is following the example chapter five of
  http://www.r-inla.org/examples/tutorials/spde-tutorial
best,
Elias.

On 29/07/14 00:47, Andrew Tredennick wrote:
Hello,

I am modeling percent cover of trees in 1 hectare plots using remote sensing variables as predictors. So the data is basically proportional, but we have a zero-inflation problem. Out 896 observations, 121 have zero percent cover. I have a model working in INLA using the "beta" likelihood, but to do so required altering the data so that, if we let y=percent cover, when y=0 I reset to y=0.0001. I would much rather model tree cover as a mixture of Bernoulli and Beta distributions. Is this possible using INLA?

Best regards,
Andrew
--
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.

Adam Smith

unread,
Dec 30, 2015, 12:54:22 PM12/30/15
to R-inla discussion group
Andrew,

I'm in the process of doing something similar (submerged aquatic vegetation cover) and running into the same issue.  Did you get any further with this?  Also, perhaps the geostatsp package (http://www.jstatsoft.org/article/view/v063i12), which uses INLA will make the process easier?   

Thanks,
Adam

Iosu

unread,
Jan 30, 2016, 11:11:08 AM1/30/16
to R-inla discussion group
Hi Andrew and Adam,
Maybe you could use this new package. https://cran.r-project.org/web/packages/zoib/zoib.pdf
you may not be able to apply spatial stats but you could check if the addition of small values does really change you conclusions

Hope its useful,
Reply all
Reply to author
Forward
0 new messages