166 ESTIMATION OF TRENDS
Here, v
n
is similar to (11.13), a Gaussian white noise with m ean 0 and
variance
τ
2
, and w
n
is a Gaussian white noise with mean 0 and variance
σ
2
.
The observation m odel in equation (11.28), y
n
= t
n
+ w
n
, is assumed
to express the condition that the time series y
n
is obtained by adding an
indepen dent noise to the trend. On the other hand, the trend co mponent
model (11.27) expresses the change in the trend. Actual time series are
usually not as simple as this; they o ften require more sophisticated mod-
eling and this will be treate d in the next chapter. Based on the state-space
representation of the trend componen t model, the state-space represen-
tation of the trend model is as follows:
x
n
= Fx
n−1
+ Gv
n
y
n
= Hx
n
+ w
n
, (11.29)
where the state vector x
n
is an appropriately defined k-dimensional vec-
tor, and F, G and H are th e k ×k matrix, the k-dimensional column vecto r
and th e k-dim ensional row vector determined by (11.27) and (11.28), re-
spectively. This mode l differs from the trend compo nent model (11.18)
only in that it contains an additional observation no ise. As an exam ple,
for k = 2, the matrice s and vectors above are defined by
x
n
=
t
n
t
n−1
, F =
2 −1
1 0
, G =
1
0
(11.30)
H = [ 1 0 ].
Once the order k of the trend mod e l and the variances
τ
2
and
σ
2
have
been specified, the smoothed estimates x
1|N
,···, x
N|N
are obtained by the
Kalman filter and the fixed-interval smoothing algorithm presented in
Chapter 9 . Since the first component of the state vector is t
n
, th e first
component of x
n|N
, namely, Hx
n|N
, is the smoothed estimate of the trend
t
n|N
.
Example (Trend of maximum temperature data) Figure 11.2
shows various estimates of the tren d of the max imum temperature data
obtained by changing the variance of the system noise
τ
2
for th e first
order trend model, k = 1. The variance of the observation noise
σ
2
is
estimated by the maximum likelihood method. Plot (a) shows the ca se of
τ
2
= 0.223 ×10
−2
. The estimated trend reason ablly captures the annual
cycles of the temperature data. In plot (b) where the model is k = 1 and