State space time series modelling of the Dutch Labour Force Survey: Model selection and mean squared errors estimation
Section 3. MSE estimation approaches
Linear structural time series models with unobserved
components are usually fitted with the help of the Kalman filter after putting
them into a state space form. See Bollineni-Balabay, van den Brakel and Palm
(2016b) for the state space representation of the STS model for the DLFS. The
state vector
contains the state variables defined in the
previous section, i.e., the trend, slope, seasonal harmonics, RGB, the
population white noise and survey errors. All the non-stationary state
variables are initialised with a diffuse prior (i.e., with a zero-mean and a
very large variance). The five survey error components
and the population white noise
are stationary state variables that are
initialised with zeros. The initial variance of the first-wave sampling errors
is taken equal to unity, whereas the one of the other waves is taken equal to
One could try a small value for the initial
variance of
Filtered estimates of the state vector
and its covariance matrix
are usually extracted with the Kalman filter
(see Harvey 1989).
thus contains MSEs extracted by the filter
conditionally on the information up to and including time
where
is assumed to be the true hyperparameter
value, and the expectation is taken with respect to the joint distribution of
the state vector and the
values at time
In practice, the true hyperparameter vector is replaced by
its estimate
in the Kalman filter recursions. Then, the MSE
in (3.1) is no longer the true MSE and is called “naive” as it does not
incorporate the uncertainty around the
estimates. The true MSE then becomes:
which is larger than the MSE in (3.1) and can be decomposed as the sum of
the filter uncertainty and parameter uncertainty, provided the error terms are
normal:
The first term, the filter uncertainty, is what is
estimated by the naive
estimates
delivered by the Kalman filter. Estimation of
the second term, the parameter uncertainty, requires some additional effort.
The literature on MSE estimation proposes two main approaches: asymptotic
approximation and bootstrapping. Bootstrapping can be performed in a parametric
or non-parametric way. A few remarks have to be mentioned about these methods
in the context of STS models and of the DLFS model specifically.
For
the parametric bootstrap, the state disturbances, say,
are drawn from their estimated joint
conditional multivariate normal density
being evaluated at the hyperparameter estimate
and are used in the Kalman filter state
recursions to generate the state variables. Non-parametric bootstrap, in turn,
has an advantage of not depending on any particular assumption about this joint
distribution. Unlike in the parametric case where state disturbances are drawn
from their estimated distribution, in the non-parametric case, standardised
innovations are resampled with replacement from the standardized innovations
that are based on the original hyperparameter estimates. The resampled
standardized innovations are further used to generate bootstrap series
by running the so-called innovation form of
the Kalman filter, see Harvey (1989) or Bollineni-Balabay et al. (2016b)
for details. In the DLFS model, the first 13 time points of standardised
innovations are not subject to resampling, as they constitute the so-called
diffuse sample (this is the time needed to construct a proper distribution for
the non-stationary state variables; see Koopman (1997) for initialisation of
non-stationary state variables).
If an STS model contains non-stationary components, as
is the case with the DLFS model, the generated series are likely to diverge
from the original dataset they have been bootstrapped from, i.e., from
Therefore, a special procedure is required for
bootstrap samples to be brought in accordance with the pattern of the given
dataset. This can be done with the help of the simulation smoother algorithm
developed by Durbin and Koopman (2002). Technical details for implementation
can be found in Koopman et al. (2008), Chapter 8.4.2. The survey errors,
generated as described in either parametric or non-parametric unconditional
state recursion, do not need any adjustments as they constitute
(autocorrelated) noise.
The following sections contain a brief presentation of
the asymptotic approach, as well as of the recent Rodriguez and Ruiz (2012)
bootstrap approaches (hereafter referred to as the Rodriguez and Ruiz (RR)
bootstrap) and of Pfeffermann and Tiller (2005) (hereafter the Pfeffermann and Tiller
(PT) bootstrap) bootstrap approaches.
3.1 Rodriguez and Ruiz bootstrapping approach
Rodriguez and Ruiz (2012) developed their bootstrap
method for MSE estimation conditional on the data, which means that bootstrap
hyperparameters are further applied to the original data series for obtaining
bootstrap estimates of the state variables. Bootstrapping can be done both
parametrically and non-parametrically, following the steps below:
- Estimate the model and obtain the hyperparameter
estimates
- Generate a bootstrap sample
using
either
parametrically or non-parametrically, as described in the introduction to this
section. If the model is non-stationary, the bootstrap sample has to be
corrected with the help of the simulation smoother.
- The bootstrap dataset
is used to
obtain both the survey error autocorrelation parameter estimates
and bootstrap
ML estimates
Thereafter, the
Kalman filter is launched using the original series
and the
newly-estimated
which produces
and
- Steps 2-3 are repeated
times. Then,
the MSE are estimated in the following way:
- where
Equation (3.3) is applied both for the parametric and
non-parametric bootstrap
estimators (denoted hereafter as
and
respectively).
3.2 Pfeffermann and Tiller bootstrapping approach
The bootstrap developed by Pfeffermann and Tiller (2005)
is an unconditional bootstrap. This implies that bootstrap state variables are
derived from the bootstrap dataset
i.e., not from the original data
as in Rodriguez and Ruiz (2012). Pfeffermann
and Tiller (2005) prove that they approximate the true MSE up to the order of
(Pfeffermann and Tiller 2005, Appendix C):
Equation (3.4) is applied both for the parametric and
non-parametric bootstrap
estimators (denoted further as
and
respectively).
calculation in (3.4) requires two Kalman
filter runs for every bootstrap series. In the first run,
is estimated from the bootstrap data set
and the bootstrap parameters
In this run,
can also be obtained based on
since matrix
does not depend on the data. The second Kalman
filter run is needed to produce the state estimates
based on
and
estimates that were obtained from the original
dataset. The bootstrap procedure is summarized below:
- Estimate the model using the original dataset and
obtain the hyperparameter vector estimates
Apart from
that, save the “naive” MSE estimates
for future use
in (3.4).
- Use the parametric or non-parametric method to
generate a bootstrap sample
Apply the
simulation smoother correction to it if the model is non-stationary.
- Estimate bootstrap hyperparameter estimates
from the newly
generated bootstrap dataset. Run the Kalman filter once to get
and
and another
time to obtain
as described
under (3.4).
- Repeat steps 2-3
times. Then,
estimate the MSE using (3.4).
Pfeffermann and Tiller (2005) note that, in the case of
the parametric bootstrap, the second Kalman filter run can be avoided because
the true state vector is generated (and thus known) for every bootstrap series.
Thus, the state estimates
in (3.4) can be replaced by the true vector
to obtain the following MSE estimator:
There
is only one
in the right-hand side of (3.5). This is due
to the fact that the new term
corresponding to the last term on the
right-hand side of (3.5), can itself be decomposed, in the same fashion as in (3.2),
into the measure of parameter uncertainty
and the filter uncertainty term
being the true parameter vector the bootstrap
state variables
are generated with. However, the bootstrap
average term
replacing
may need much more bootstrap iterations to
converge. Further, this simplified method may result in an additional bias if
the normality assumption about the model error terms is violated. Then, the
decomposition of the term
according to (3.2) will also contain a
non-zero cross-term:
In this application, the non-zero cross-term
bootstrap averages have turned out to be negligible, but the bootstrap average
exhibited large departures (in both
directions) from the term it was meant to replace. This may be explained by the
fact that the true Kalman filter MSE in (3.1) can be obtained from simulated
series if the distribution of the state-vector is sufficiently dispersed. When
bootstrapping non-stationary models, however, the bootstrap series are forced
to follow the pattern of the underlying original series, as it has been
mentioned in the description of the simulation smoother algorithm. Therefore,
the term
that replaces
in (3.5) may not be sufficiently close to it.
For this reason, both parametric (denoted as PT1) and non-parametric (PT2)
bootstraps in this application rely on the estimator in (3.4).
A
few words have to be said about the role of the simulation smoother of Durbin
and Koopman (2002), mentioned at the end of the introduction to this section.
We suggest that it should be used at the bootstrap series generation step.
Without it, the bootstrap hyperparameter distribution obtained from uncorrected
series for a non-stationary model could be very different from what it should
be for a particular realisation of the data at hand. At least in the case of
the DLFS, omitting the simulation smoother step resulted in bootstrap
hyperparameter distributions having a much wider range than the range of
distributions obtained with the simulation smoother. Moreover, such bootstrap
hyperparameter distributions obtained from uncorrected series in the DLFS are centred
around values that are much larger than the hyperparameter values the series
have been generated with. This results in an excessively large bootstrap
average
(relatively to
) and, subsequently, in
estimates that are even lower than the naive
ones. The term
also becomes very unstable over time and
excessively large compared to when the simulation smoother is used, but that
does not compensate for the negative bias obtained from (3.4) without the
simulation smoother.
3.3 Asymptotic approximation
An asymptotic approximation (AA) to the true MSE in
equation (3.2) was developed by Hamilton (1986) and can be expressed as an
expectation over the hyperparameter joint asymptotic distribution
conditional on the given dataset
In the present application, the part of the
hyperparameter vector estimated by the
method,
depends on the estimated value of the
autoregressive parameter
Therefore, the joint asymptotic distribution
of the hyperparameter estimator has the following form:
The MSE is approximated as follows:
where
is an expectation taken over the
hyperparameter estimator joint asymptotic distribution
and
are the state vector estimates when the
hyperparameters are not known (i.e.,
Distribution
is chosen as
asymptotic distribution
from which random
realisations are drawn. Generally, the
sampling distribution of the correlation coefficient has a complex form, but it
may be well approximated by a normal distribution, which was the case in this
application (the normal distribution fitted both the simulated and the
bootstrap distribution of
very well). From equation (3) in Bartlett
(1946), and using the fact that the autoregressive coefficient in an AR(1)
process is equal to the correlation for lag 1, the variance estimator of
becomes:
In the case of the DLFS, where
this means that
Taking into account the fact that
standard error is used for making draws from
the asymptotic distribution, and that the square root is a concave function,
the sample standard deviation would be an underestimate. Therefore, making
draws by means of
as the asymptotic distribution’s standard
deviation would be a reasonable choice.
A
sample of
draws from the hyperparameter asymptotic
distribution is obtained in the following way. After a value, say,
is drawn from
the other hyperparameters are re-estimated
from the original data to obtain
and the information matrix
Finally, a
draw is made from distribution
The Kalman filter is run again using
and
realisations to obtain the state estimates
and their MSEs
The procedure is repeated until
draws are obtained, whereafter (3.6) is
obtained by averaging the necessary quantities over
iterations. If all the hyperparameters of the
model are estimated within the
procedure,
draws can be made directly from
The
first term in (3.6) can be approximated by the average value of the Kalman
filter variance
across
realizations of the hyperparameter vector, and
the second term by the variance of the state vector estimates across the same
realisations. An asymptotic approximation for
the MSE could therefore be obtained in the following way:
where
is the
draw
from the
asymptotic distribution. As Hamilton (1986)
suggests, the sample average
can
replace
in (3.6).
Further, he states, such a decomposition of the total uncertainty into the
filter and parameter uncertainty resembles the well-known decomposition:
Obviously, this
estimator is entirely based on the assumption of asymptotic normality of
the hyperparameter vector estimator. Apart from that, this approach usually
produces significant biases if the series is not of a sufficient length, in
which case the assumed asymptotic normal distribution would fail to approximate
the finite (usually skewed) distribution of maximum-likelihood estimates.
Another
problem with the asymptotic approach can occur if some of the hyperparameters
are estimated to be close to zero. This can happen to the initial model
estimates or during the procedure itself, e.g., due to certain extreme
draws. In these cases, the asymptotic variance
of such hyperparameters will be very large, which will inflate the
estimates of the signal and its unobserved
components. It may as well lead to a failure in inverting the information
matrix for the hyperparameter vector.