Skip to content
Prev 15550 / 20628 Next

response variable distribution-MCMCglmm

Hi Walid,

If you do end up needing a Tweedie GLMM (with or without zero-inflation), it can be done with the Github version of glmmTMB (installation instructions here https://github.com/glmmTMB/glmmTMB <https://github.com/glmmTMB/glmmTMB>). 

Here is a simple example with data simulated from the tweedie package. We haven?t added the Tweedie?s power parameter to the summary output yet, but it?s possible to get it from the guts of the model.
[1] 4.074143
(Intercept) 
   2.041696
[1] 1.70192
Family: tweedie  ( log )
Formula:          y ~ 1

     AIC      BIC   logLik deviance df.resid 
 10064.2  10081.0  -5029.1  10058.2     1997 


Overdispersion parameter for tweedie family (): 2.04 

Conditional model:
            Estimate Std. Error z value Pr(>|z|)    
(Intercept)  1.40466    0.02592    54.2   <2e-16 ***
---
Signif. codes:  0 ?***? 0.001 ?**? 0.01 ?*? 0.05 ?.? 0.1 ? ? 1

cheers,
Mollie