Methods: I describe the process of mediation analysis for ZI count outcomes, and call attention to the specific issues that arise when count outcomes are ZI. A method is described to assess mediation for ZI count outcomes that is applicable for a variety of generalized linear models (GzLMs), including ZI Poisson (ZIP), ZI negative binomial (ZINB), and additionally hurdle models.
Results: Once the model is chosen, mediated effects can be calculated and tests of mediation can be conducted, including bootstrapped confidence intervals of the conditional mediated effects. The differences between mediation for ZI and non-ZI models are highlighted using several examples of substance use data.
Conclusions: After illustrating how a recent mediation method for zero-inflated counts can be applied to prevention data, future directions for mediation with zero-inflated count outcomes are discussed, including extensions to longitudinal models.