Estimating marginal effects with zero-inflated models: A tutorial with the R package mzim

Read full text
Authors: Chendong Li, Oi‐Man Kwok, Timothy Lawrence
Cited by: 0
References: 17

Abstract

Count data in the psychological and health sciences are often characterized by an excess of zero values, a feature known as zero inflation. While traditional zero-inflated models, such as the zero-inflated Poisson (ZIP) and zero-inflated negative binomial (ZINB), were developed to handle such data, they present challenges for applied researchers. Standard count models can produce biased estimates, and the dual-parameter output of traditional zero-inflated models provides conditional effects for a latent-at-risk subpopulation, complicating interpretation and often failing to answer research questions about the entire population directly. To address these limitations, marginalized zero-inflated (mZI) models directly estimate the population-averaged effect, yielding a single, interpretable coefficient for each predictor's overall effect. However, the adoption of mZI models has been hindered by the lack of an accessible software package. The current study has two objectives: first, it provides a tutorial on the theory, estimation, and interpretation of marginalized zero-inflated models. Second, it introduces mzim, a new R package designed to make both marginalized zero-inflated Poisson (mZIP) and Negative Binomial (mZINB) models readily accessible. Using an empirical example on self-reported youth abuse experiences, we demonstrate a complete workflow with the mzim package and compare the results from the mZINB model to traditional approaches, highlighting the practical benefits of the marginalized framework for applied researchers.

Fields of Study & Subjects

Death Anxiety and Social Exclusion Mental Health Research Topics Crime Patterns and Interventions

Publication details

Journal / source
Behavior Research Methods
Volume
58
Issue
6
Publication date
22 May 2026
Language
EN