114 4. The varieties of linear and nonlinear estimation
Exercise 4.4.7
Estimate the pdf of u, given that
log
e
u = f (4.4.59)
and that f is Gaussian.
This approach may be invaluable when f is a random field and D represents the
dynamics of an ocean model. Steady models can be particularly difficult to solve,
especially if they are nonlinear. Some time-dependent intermediate models include
diagnostic equations that are unwieldy. An obvious example is the stratified quasi-
geostrophic model. In particular, diagnosing (solving) the three-dimensional elliptic
equation ∇
2
ψ = ξ for the streamfunction ψ in a realistic ocean basin is nontrivial:
assembling sparse matrices requires great care. In comparison, it is relatively trivial to
substitute the streamfunction into the elliptic equation, and then substitute the vorticity
ξ into the first-order wave equation:
∂ξ
∂t
+ J (ψ, ξ + βy) = q, (4.4.60)
where β is the local meridional gradient of the Coriolis parameter, and where q is some
random source of vorticity.
4.4.6
Multivariate importance sampling
Thus far, u has been a single, real random variable. We are interested in random
multivariate fields: u = u(x, y, z, t), v = v(···), w = w(···), p = p(···), etc. In com-
putational practice, these fields are defined on grids, thus we have arrays u
ijkl
=
u(x
i
, y
j
, z
k
, t
l
), v
ijkl
= v(···), w
ijkl
= w(···), p
ijkl
= p(···), etc. For clarity, let us
condense all these into a single vector u = (u
1
,..., u
m
,...,u
M
). A Markov chain of
these vectors will be denoted by u
n
= (u
n
1
, u
n
2
,...,u
n
M
), for n = 1, 2, 3,.... Notice
that the upper index n is not the time index; the latter is included in the lower index.
Suppose that the multivariate probability distribution for u is factorable:
Q(u) = Q
1
(u
1
)Q
2
(u
2
) ...Q
M
(u
M
), (4.4.61)
in which case the components of u are independent. Consider, for example:
Q(u) = exp
'
− u
2
1
− u
2
2
−···−u
2
M
(
. (4.4.62)
Then we may apply importance sampling to each component independently. The
decision to accept a new value z
m
for u
n+1
m
would be based on the ratio
r
m
=
Q
m
(z
m
)
Q
m
u
n
m
. (4.4.63)