On entry: the dimension of the array
WA as declared in the (sub)program from which G13BJF is called.
It is not practical to outline a method for deriving the exact minimum permissible value of
IWA, but the following gives a reasonably good approximation which tends to be on the conservative side.
Note: there are three error indicators associated with
IWA. These are
,
or
. The first of these probably indicates an abnormal entry value of
NFV, while the second indicates that
IWA is much too small and needs to be increased by a substantial amount. The last of these indicates that
IWA is too small but returns the necessary minimum value in
.
Let and , where the output noise ARIMA model orders are , , , , , , .
Let there be
input series, where
.
Let | , | if
, for , if |
| , | if
, for , if |
where the transfer function model orders of input series
are given by
,
,
,
.
Let
Let and .
Finally, let , and then increment by every time any of the following conditions are satisfied. (The last two conditions should be applied separately to each input series, so that for example if we have two input series and and , then is incremented by in respect of these.)
The conditions are:
- , separately, for , if
- , separately, for , if ,
then .