As in section
,
the first step to finding the optimal coding region R is to specify the
message length expression. The message length expression is an invariant
version of equation (
).
The expression is then minimised with respect to
.
This can be interpreted as the ``negative-log-likelihood'' at the boundary of
the coding region is equal to the expected (with respect to the prior)
``negative-log-likelihood'' throughout the region plus one [#!Dowe:private!#].
The optimal coding region is calculated from repeatedly solving equation
(
) until a convergent coding region is found
[#!Dowe:private!#]. This convergent coding region is the optimal coding region
R [#!Dowe:private!#]. Therefore, an efficient algorithm to find the region
would be as follows -
![]() |
(21) |
In practice, this method converges to a solution (the optimal region R) steadily. This numerical algorithm has shown itself to be numerically stable and well-behaved in experiments.
In numerical experiments later in this thesis, Simpson's rule has been used to integrate the expected ``negative-log-likelihood'' function. First order integration techniques (such as midpoint or trapezoidal rule) results in an unacceptably slow convergence rate compared with second order techniques. Step 4 was achieved using the bisection algorithm within the interval [amin, ai] and similarly for step 5 (within an interval of [bi, bmax]) where amin is the smallest value within the parameter-space and bmax is the largest. For the binomial problem later, amin = 0 and bmax = 1.