Skip to content
Prev 20616 / 20628 Next

glmmTMB with beta family and 0-inflation

Hi Caroline,

  comments below/inline.
On 12/19/25 07:37, Caroline Zanchi wrote:
In principle, if you know the original total number of cells, you 
could use a zero-inflated beta-binomial model instead of a hurdle-beta. 
This may not matter as much if the total number of cells is very large 
(in which case the beta-binomial will approximate a beta pretty well 
anyway).  (You might not even need the zero-inflation, if the 
conditional distribution is such that the proportion of non-CFU 
daughters is well described by the zeros in the beta-binomial distribution).

  You could also try family = "ordbeta".

     >
Your fit is singular. (There's little enough among-sample variance 
that it is estimated as zero -- all the variance can be explained by the 
variability in the conditional distribution.)  You can see the GLMM FAQ 
for more discussion of singular fits.
This corresponds to a very sharp (low-variance) conditional 
distribution. From ?beta_binomial:

V=mu*(1-mu)/(phi+1)
Nothing here looks especially strange.>
We can't see the simulated residuals plot (the mailing list doesn't 
accept attachments), so we don't know what's wrong.

   Nothing looks obviously wrong with your model. You might also try 
performance::check_model() for a different set of diagnostics.