Skip to content
Prev 15901 / 20628 Next

Extracting standardized residuals from a gamma(log) glmmTMB

If you specify your model with the built-in Gamma() family-generator,
this should work, e.g.:
The reason for this is that Gamma() produces a list with additional
information:

Gamma(link="log")$variance
function (mu)
mu^2

If you wanted to specify a family that base R didn't know about you
could do it by adding your own variance function to the list.
On 17-10-17 09:54 AM, Aoibheann Gaughran wrote: