[R-sig-ME] Residual Variance or Dispersion of Gamma GLMER

andreu blanco andreu.blanco at gmail.com
Thu Oct 26 09:07:33 CEST 2017


Thank you both very much.

On 25 October 2017 at 16:31, andreu blanco <andreu.blanco at gmail.com> wrote:

> Hi,
> I am trying to fit a Hurdle model using glmer, however in order to
> calculate the variance of the Hurdle model I need to know the dispersion of
> the gamma ZAG, which I cannot find from the summary of my model:
> > summary(H1)
> Generalized linear mixed model fit by maximum likelihood (Laplace
> Approximation) ['glmerMod']
>  Family: Gamma  ( log )
> Formula: Biomass ~ Protection * Exposure + (1 | Location)
>    Data: Aarmata.pos
>
>      AIC      BIC   logLik deviance df.resid
>    644.9    657.5   -316.4    632.9       55
>
> Scaled residuals:
>     Min      1Q  Median      3Q     Max
> -1.2278 -0.7188 -0.1149  0.3721  3.4934
>
> Random effects:
>  Groups   Name        Variance Std.Dev.
>  Location (Intercept) 0.5489   0.7409
>  Residual             0.6531   0.8082
> Number of obs: 61, groups:  Location, 8
>
> Fixed effects:
>                                         Estimate Std. Error t value
> Pr(>|z|)
> (Intercept)                               4.1195     0.4866   8.466
>  <2e-16 ***
> ProtectionProtected                       0.2202     0.6940   0.317
>  0.7510
> ExposureSemiexposed                      -0.6357     0.3319  -1.915
>  0.0555 .
> ProtectionProtected:ExposureSemiexposed  -0.7128     0.5492  -1.298
>  0.1944
> ---
> Signif. codes:  0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
>
> Correlation of Fixed Effects:
>             (Intr) PrtctP ExpsrS
> PrtctnPrtct -0.701
> ExpsrSmxpsd -0.212  0.143
> PrtctnPr:ES  0.131 -0.242 -0.562
>
> --
> Andreu Blanco Cartagena
>
>
>
> Si no és imprescindible, no imprimeixis aquest e-mail. Estalviar paper
> ajuda a protegir el medi ambient.
>
> Si no es imprescindible, no imprimas este e-mail. Ahorrar papel ayuda a
> proteger el medio ambiente.
>



-- 
Andreu Blanco Cartagena



Si no és imprescindible, no imprimeixis aquest e-mail. Estalviar paper
ajuda a protegir el medi ambient.

Si no es imprescindible, no imprimas este e-mail. Ahorrar papel ayuda a
proteger el medio ambiente.

	[[alternative HTML version deleted]]



More information about the R-sig-mixed-models mailing list