Perform mean-field variational inference for a Poisson mixed-effects regression model.
Arguments
- X
The design matrix
- Zlist
The random effect design matrices
- y
The response vector
- n
The offset term
- mu0
The prior mean for beta
- Sigma0
The prior covariance for beta
- a0
Half-Cauchy scale hyper-parameter
- tol
Tolerance for convergence of the elbo
- maxiter
Maximum number of iterations allowed
- verbose
Print trace of the lower bound to console. Default is
FALSE
.