Incorporating Splines and Offset in MixedModels.jl

Post from four years ago discusses offsets.. Offsets are available. Where you will have to make a decision is whether to use Poisson() as an approximation to the negative binomial if overdispersion is mild. Splines2 provides an equivalent to R’s ns. If negative binomial is a must-have, there’s Turing but performance will be slow.