167 Dynamic Bayesian Models for Discrete-Valued Time Series
By far, the most common discrete-valued specications are the Poisson and binomial
distributions. The Poisson distribution is usually assumed in the analysis of time series of
counts. The most popular model for time series of counts is the log-linear dynamic model
given by
Observation equation: y
t
| x
t
∼ Poisson(μ
t
),for t = 1, ..., T (8.5)
Link function: log(μ
t
) = z
t
x
t
,for t = 1, ..., T, (8.6)
with system equation (8.3). For binomial-type data, the most popular model is the dynamic
logistic regression given by
Observation equation: y
t
| x
t
, θ ∼ Bin(n
t
, π
t
),for t = 1, ..., T (8.7)
Link function: logit(π
t
) = z
t
x
t
,for t = 1, ..., T, (8.8)
with system equation (8.3). Similar models are obtained if the logit link is replaced by the
probit or complementary log–log links.
A number of extensions/variations can be contemplated:
• Nonlinear models can be considered at the link relation (8.2) and/or at the system
evolution (8.3);
• Some components of the latent state x
t
may be xed over time. The generalized
linear models (GLM) (Nelder and Wedderburn, 1972) are obtained in the static,
limiting case that all components of x
t
are xed;
• The observational equation (8.1) may be robustied to account for overdispersion
(Gamerman, 1997);
• The link function (8.2) may be generalized to allow for more exible forms via
parametric (Abanto-Valle and Dey, 2014) or nonparametric (Mallick and Gelfand,
1994) mixtures; and
• The system equation disturbances may be generalized by replacement of
Gaussianity by robustied forms (Meinhold and Singpurwalla, 1989) or by skew
forms (Valdebenito et al., 2015).
Data overdispersion is frequently encountered in discrete-valued time series observed in
human-related studies. It can be accommodated in the DGLM formulation (8.1) through
(8.3) via additional random components in the link functions (8.6) and (8.8). These addi-
tional random terms cause extra variability at the observational level, forcing a data
dispersion larger than that prescribed by the canonical model. These terms may be included
in conjugate fashion, thus rendering negative binomial and beta-binomial to replace
Poisson and binomial distributions, respectively leading to hierarchical GLM (Lee and
Nelder, 1999). Alternatively, random terms may be added to the linear predictors z
t
x
t
in the
link equations (Ferreira and Gamerman, 2000). The resulting distributions are also overdis-
persed but no longer available analytically in closed forms. Their main features resemble
those of the corresponding negative binomial and beta-binomial distributions, for N(0, σ
2
)
random terms.
Inference can be performed in two different ways: sequentially or in a single block.
From a Bayesian perspective, these forms translate into obtaining the sequence of
distributions of [(x
t
, θ) | y
t
],for t = 1, ..., T or [(x
1
, ..., x
T
, θ) | y
T
], respectively, where