MONTE CARLO FILTE R 229
standard normal distribution N(0,1), respectively. The initial state dis-
tribution p
0
(x
0
) is assumed to follow the standard normal d istribution.
However, it is evident that normality of the distribution is not essential
for the Monte Carlo filtering m ethod.
Under the above-mentioned assumptions, the one-step-ahead predic-
tive distribution p(x
1
|Y
0
) and the filter p(x
1
|Y
1
) were obtained. Here, a
small num ber of par ticles was used, that is, m was set to m = 100, in or-
der to make features of the illustrations clearly visible. In actual co mpu-
tations, however, we use a large number of particles for approximation.
The curve in Figure 15 .3(a) shows the assumed distribution of the
initial state p
0
(x
0
). The vertical lines show the locations of 100 real-
izations generated from p
0
(x
0
), and the histogram, which was o btained
from these particles, approximates the probability density function. The
bold curve in plot (b) d epicts the true distribution function of the initial
state and the fainter curve shows the empirical distribution function ob-
tained from the particles shown in plot (a). Similar to these plots, plots
(c) and (d) depict the p robability density function, the realizations and
the cumulative distribution, together with its empirica l counterpart of
the system noise.
Plots (e) and (f) illustrate the predictive distribution, p(x
1
|Y
0
). The
curve in plot ( e) shows the “true” probability function obtained by nu-
merical integration of the two density functions of plots (a) and (c). Plot
(f) shows the “true” cumulative distribution function obtained b y inte-
grating the de nsity function in plot (e). On the other hand, the vertical
lines in plot (e) indicate the location of the particles p
( j)
1
obtained by sub-
stituting a pair of particles shown in plots (a) and (c) into the eq uation
(D.4). The h istogram defined by the particles p
(1)
1
,.. ., p
(m)
1
approximates
the true density function shown in plot (e). The empirical distribution
function and the true distribution function are shown in plot (f).
The cu rve in plot (g) shows the filter d ensity function obtained from
the non-Gaussian filter using the equation (14.5), when the observation
y
1
= 2 is given. With respect to plot (g), the particles are lo cated in the
same place as plot (e); however, the heights of the lines are pr oportional
to the likelihood of the particle
α
( j)
n
. Different from plot (f), the c umula-
tive distribution function in plot (h) approximates the filter distribution,
although the steps of plot (h ) are located identically to those of plot (f).
Plot ( i) shows the locatio ns of the particles, the histogram a nd th e exact
filter distribution after re-sampling. Further it can be seen that the den-
sity function and the cumulative distribution function in plots (i) and (j)
are reasonable approximations to plots (g) and (h), respectively.