Skip to main content
INAR — INteger-valued AutoRegression — generates count series: non-negative integers with autocorrelation, for demand, arrivals, and case counts where a Gaussian model makes no sense. It carries dependence forward through binomial thinning rather than a linear lag, so the output stays integer-valued.
The model Xt=α1Xt1++αpXtp+εt,αX=i=1XBernoulli(α)X_t = \alpha_1 \circ X_{t-1} + \dots + \alpha_p \circ X_{t-p} + \varepsilon_t, \qquad \alpha \circ X = \sum_{i=1}^{X} \mathrm{Bernoulli}(\alpha) Each step keeps a binomially-thinned fraction of the previous count and adds a fresh integer innovation. The thinning probability sets the persistence; the innovation distribution (poisson or negative_binomial) sets the marginal spread — negative binomial for overdispersion.

1. Innovation distribution

The innovation distribution sets the marginal spread. With the thinning parameter and innovation mean held fixed, negative binomial innovations produce overdispersion — variance above the mean — while Poisson innovations keep the two equal.

2. Higher-order dependence

INAR(2) models have memory over two lags, producing smoother count dynamics.

3. Multiple series

Related generators Innovation and thinning parameters are in the generator reference.