ZIM: Zero-Inflated Models for Count Time Series with Excess Zeros

Analyze count time series with excess zeros. Two types of statistical models are supported: Markov regression by Yang et al. (2013) <doi:10.1016/j.stamet.2013.02.001> and state-space models by Yang et al. (2015) <doi:10.1177/1471082X14535530>. They are also known as observation-driven and parameter-driven models respectively in the time series literature. The functions used for Markov regression or observation-driven models can also be used to fit ordinary regression models with independent data under the zero-inflated Poisson (ZIP) or zero-inflated negative binomial (ZINB) assumption. Besides, the package contains some miscellaneous functions to compute density, distribution, quantile, and generate random numbers from ZIP and ZINB distributions.

Version: 1.1.2
Imports: MASS
Suggests: knitr, dplyr, pscl, TSA, rmarkdown, testthat (≥ 3.0.0)
Published: 2026-06-03
DOI: 10.32614/CRAN.package.ZIM
Author: Ming Yang [aut, cre], Gideon Zamba [aut], Joseph Cavanaugh [aut]
Maintainer: Ming Yang <hustyangming at gmail.com>
BugReports: https://github.com/mingstat/ZIM/issues
License: GPL-3
URL: https://github.com/mingstat/ZIM, https://mingstat.github.io/ZIM/
NeedsCompilation: no
Materials: README
In views: TimeSeries
CRAN checks: ZIM results

Documentation:

Reference manual: ZIM.html , ZIM.pdf
Vignettes: Introduction to ZIM (source, R code)

Downloads:

Package source: ZIM_1.1.2.tar.gz
Windows binaries: r-devel: ZIM_1.1.0.zip, r-release: ZIM_1.1.0.zip, r-oldrel: ZIM_1.1.0.zip
macOS binaries: r-release (arm64): ZIM_1.1.2.tgz, r-oldrel (arm64): ZIM_1.1.2.tgz, r-release (x86_64): ZIM_1.1.2.tgz, r-oldrel (x86_64): ZIM_1.1.2.tgz
Old sources: ZIM archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=ZIM to link to this page.