By default, the function returns values that can be used directly to induce
pruning in the context tree. This is done by computing the log likelihood
ratios used by the context algorithm on the reference VLMC and by keeping the
relevant ones. From them the function selects intermediate values that are
guaranteed to generate via pruning all the VLMC models that could be
generated by using larger values of the cutoff
parameter that was used to
build the reference model (or smaller values of the alpha
parameter in
"quantile" scale).
Setting the raw
parameter to TRUE
removes this operation on the values
and asks the function to return the relevant log likelihood ratios.
For large VLMC, some log likelihood ratios can be almost identical, with a
difference of the order of the machine epsilon value. The tolerance
parameter is used to keep only values that are different enough. This is done
in the native scale, before transformations implemented when raw
is
FALSE
.
As automated model selection is provided by tune_vlmc()
, the direct use of
cutoff
should be reserved to advanced exploration of the set of trees that
can be obtained from a complex one, e.g. to implement model selection
techniques that are not provided by tune_vlmc()
.