Statsly
regression

Bayesian generalized mixed model

Model subject-specific associations for repeated binary or count outcomes.

Requirements

  • binary or count outcome
  • predictors
  • cluster column
  • explicit event coding and priors

Avoid when

  • a frequentist GLMM is required
  • prior or posterior validation is unavailable

Formula

g(E[Y|u]) = Xβ + Zu

Interpretation

Variational Bayes random-intercept estimates with approximate credible intervals, not confidence intervals or p-values.

Worked example

Model repeated binary or count outcomes with subject-specific random intercepts and explicit Bayesian priors.

Open example datasets