I got a little carried away. cloglog examples here with various glmer settings, glmmTMB, MixedModels.jl (thanks to Doug Bates for troubleshooting) ... http://bbolker.github.io/mixedmodels-misc/notes/cloglogsim.html https://github.com/bbolker/mixedmodels-misc/blob/master/notes/cloglogsim.rmd