Skip to content

glmer() Gamma distribution - constant coefficient of variation

1 message · Ben Bolker

#
On 3/30/21 2:23 PM, Hedyeh Ahmadi wrote:
The scale-location plot is based on the Pearson residuals, which 
divide the residuals by their expected (theoretical) standard deviation. 
  If the variance model is correct (i.e. the mean-variance relationship 
in the data  matches that assumed by the model), then the expected 
magnitude of abs(Pearson resids) (or the square root thereof, which is 
applied to reduce skew) should be constant as a function of the 
predicted (fitted) mean.
*We originally hypothesized a linear relationship but then
Surprising that the log-link Gamma didn't converge (usually it works 
better than the identity link ...)

   From the diagnostic plots, it looks like your data are discrete. Is 
there a particular reason you're not using a discrete response 
distribution (like the [perhaps 0-truncated] negative binomial) ?