Skip to content
Prev 15944 / 20628 Next

Residual Variance or Dispersion of Gamma GLMER

Depending on what exactly you mean by for "dispersion" (there are lots
of different definitions depending on context): sigma() gives you
1/sqrt(shape) (i.e. the scaled standard deviation or coefficient of
variation: mean=shape*scale, variance=shape*scale^2, so sd/mean =
sqrt(shape)*scale/(shape*scale) = 1/sqrt(shape).

In the classic GLM sense phi=sigma^2=1/shape is the dispersion
parameter, because we define variance= V(mu)/phi,  V=mu^2
((shape*scale)^2/shape = shape*scale^2 - variance).

sigma() is the same value as the one reported in the Residual Std.Dev.
column.

 For what it's worth I wouldn't call the conditional (Gamma) model
"zero-altered" in this case, as the Gamma has a zero (or infinite)
probability density for x=0 anyway.
On 17-10-25 10:31 AM, andreu blanco wrote: