Abstract
Modeling count time series is essential in many fields, especially when data exhibit complex features such as overdispersion and zero modification. While the first-order integer-valued autoregressive (INAR(1)) model is a fundamental tool, it often fails under these conditions. This study explores and systematically compares two extensions: zero-inflated INAR(1) and hurdle INAR(1), utilizing both Poisson and negative binomial innovations. We propose a unified Bayesian framework using Hamiltonian Monte Carlo in Stan to assess performance under zero-inflated and zero-deflated scenarios. Simulation results reveal a critical trade-off: in zero-inflated settings, zero-inflated models generally offer superior predictive fit, whereas hurdle models provide more accurate recovery of structural zero parameters. In zero-deflated settings, however, zero-inflated models fail structurally, making hurdle models the only viable alternative. These theoretical findings are corroborated by applications to two contrasting datasets from the same urban census tract: drug-related offenses (zero-inflated) and sex offenses (zero-deflated). To support reproducibility and broader adoption, we provide an open-source R package, ZIHINAR1, available on CRAN and GitHub, for model fitting and comparison. These findings offer practical guidance for selecting models that accommodate complex zero structures in discrete-valued time series.