9.2. APPLICATION OF HMM TO STOCHASTIC SIMULATION ALGORITHMS407
However, unlike standard examples of HMM, here we do not need to know what the
slow and fast variables are, in order to carry out the computation. The algorithm is
formulated in terms of the original variables. This is to be expected, since the effective
dynamics can also be formulated in terms of the original variables (see section 2.3.3).
Convergence and efficiency of the nested SSA
The original SSA is an exact realization of the stochastic chemical kinetic system.
The nested SSA, on the other hand, is an approximation. The errors in the nested SSA
can be analyzed using the general strategy for analyzing HMM (see section 6.7). The
details can be found in [13].
Assume as in section 2.3.3 that there is a complete set of slow variables of the form
{z
j
= b
j
· x, j = 1, ··· , J}, where {b
j
, j = 1, ··· , J} is a set of basis vectors in the
subspace of vectors that are orthogonal to all the vectors {ν
f
k
}. Let f be a smo oth
function. Denote by
˜
X
t
the solution of the n ested SSA. Consider the observable v(x, t) =
E
x
f(b ·
˜
X
t
) where the expectation is taken with respect to the randomness in the outer
SSA only. Let u(x, t) be the solution of the effective equation (2.3.82) with u(x, 0) =
f(b · x). The following result is proved in [12, 13]:
Theorem. For any T > 0, there exist constants C and α indepen dent of (N, T
0
, T
f
) such
that,
sup
0≤t≤T,x∈X
E |v(x, t) − u(x, t)| ≤ C
ε +
e
−αT
0
/ε
1 + T
f
/ε
+
1
p
N(1 + T
f
/ε)
!
. (9.2.6)
This result can be used to analyze the efficiency of the nested SSA. Given a chemical
kinetic system with R = {(a
j
, ν
j
)}, we assume that the total rate a(x) =
P
a
j
(x) does
not fluctuate a lot in time: a(x) ∼ O(ε
−1
). Given an error tolerance λ, we choose the
parameters in the nested SSA such that each term in (9.2.6) is less than O(λ). One
possible choice of the parameters is
T
0
= 0, N = 1 + ε
−1
T
f
=
1
λ
. (9.2.7)
The total cost for the nested SSA over a time interval of O(1) is
Cost = O(N(1 + T
0
/ε + T
f
/ε)) = O
1
λ
2
. (9.2.8)
In comparison, the cost for the direct SSA is
Cost = O
1
ε
. (9.2.9)