Skip to content
Prev 2859 / 20628 Next

zero inflated and spatial autocorrelation

The negative binomial can cope with some degree of zeros....but 80% is a 
lot. I guess a zero inflated distribution would be better. Besides...I 
can't remember wether gamm in mgcv is estimating the theta, or whether 
it uses a fixed value.


Have a look how these guys fitted their models....it is similar:

http://www.unavarra.es/metma3/Papers/Invited/VerHoef.pdf

The first author published a couple of similar papers. But I don't think 
that this is going to be a simple call to a gamm function.
This is not easy..:-)
Have a look at the VGAM package. Perhaps it can do this type of stuff by 
now. If I remember well it can do smoothing with zero inflation. Not 
sure if it can do correlation. As a quick-and-dirty approach you could 
include s(X,Y) and capture the spatial pattern with such a 2-d smoother. 
But that may be more for larger scale patterns? However....it may cause 
trouble if your habitat stuff is collinear with spatial positions.

Have fun....this is not easy...but shit happens.

Alain