Skip to content

glmmTMB Zero-inflated Gamma GLMM

1 message · Chris Howden

#
Hi Trent,

Yes, I believe it is the former as well.

Chris Howden B.Sc. (Hons)
Founding Partner
Data Analysis, Modelling and Training
Evidence Based Strategy/Policy Development, IP Commercialisation and Innovation
(mobile) +61 (0) 410 689 945 | (skype) chris at trickysolutions.com.au<mailto:chris at trickysolutions.com.au>

From: DENNIS, TRENT <dennis.tm.1 at pg.com>
Sent: Tuesday, 30 September 2025 11:02 PM
To: Chris Howden <chris at trickysolutions.com.au>; r-sig-mixed-models at r-project.org
Subject: Re: glmmTMB Zero-inflated Gamma GLMM

Business Use


Hi Chris,


You've made a great point, my ultimate goal is to simulate new individuals. I should have also reported the estimate of the subject variance component because this would serve as the variance when drawing new random intercepts from a normal distribution.

My real question was whether I draw normal rvs that get put into my linear predictor for the gamma, or if I draw normal rvs and these get added to my overall response separately from the gamma rv.


I believe it is the former, but I have never read a textbook on the specifics of this topic and wanted to ask some experts. I know that in glmmTMB at least, when you use predict(model) and specify the type, they will bake the random intercepts for a given subject into the linear predictor for the component you fit them in (if you fit random subject in conditional gamma, it will put each subjects random intercept into the gamma linear predictor, same with zero component)...which would support the former of my two options above.


Trent,