iterchoiceA
searches the interval from
mini
to maxi
for a minimum of the function
which calculates the chosen
criterion
(critAgcv
, critAaic
, critAbic
,
critAaicc
or critAgmdl
) with respect to its first
argument (a given iteration k
) using optimize
. This function is not
intended to be used directly.iterchoiceA(n, mini, maxi, eigenvaluesA, tPADmdemiY, DdemiPA,
ddlmini, ddlmaxi, y, criterion, fraction)
iter
and objective
which give the
(rounded) optimum number of iterations (between
Kmin
and Kmax
) and the value
of the function at that real point (not rounded).mini
,maxi
] is splitted into
subintervals using fraction
. In each subinterval the function
fcriterion
is minimzed using optimize
(with respect
to its first argument) and the minimum (and its argument) of the
result of these optimizations is returned.ibr
, iterchoiceA