Skip to content

variance structure

3 messages · Cristina Gomes, Ben Bolker, Jarrod Hadfield

#
On 11-04-05 06:30 PM, Cristina Gomes wrote:
I would give advice on how to get zero-inflated models working with
MCMCglmm (mainly, see Ch 5 of the "CourseNotes" vignette that comes with
MCMCglmm, but I think the reviewer is wrong to think that you could use
a zero-inflated Poisson.  I think the way you did it is fine.  However,
if you *wanted* to be fancy you might (after careful reading of Ch 5,
and thought) be able to set up a zero-inflated normal model in MCMCglmm
in a way analogous to the way zero-inflated Poissons are set up.

  Ben Bolker
#
Hi Cristina,

I agree with Ben. In addition,  MCMCglmm will not fit ZIP models to  
these data (because the data are not integers) and ZIG (zero-inflated  
Gaussian) models are not implemented. In fact, I can't really see what  
the ZIG likelihood would look like, but anyway ...

If the non-zero data are well separated from the zero's (i.e. if  
pnorm(0, mean(y[which(y!=0)]), sd(y[which(y!=0)]))  is small) then  
fitting a bivariate binary/gaussian model is one option, but perhaps  
more complex than your problem requires.

Cheers,

Jarrod
On 6 Apr 2011, at 02:51, Ben Bolker wrote: