Notice that the list of cut off values returned by the function is not as
complete as the one computed for a VLMC without covariates. Indeed, pruning
the COVLMC tree creates new pruning opportunities that are not evaluated
during the construction of the initial model, while all pruning opportunities
are computed during the construction of a VLMC context tree. Nevertheless,
the largest value returned by the function is guaranteed to produce the least
pruned tree consistent with the reference one.
For large COVLMC, some cut off values 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 quantile scale, before transformations implemented when raw
is
FALSE
.
Notice that the loglikelihood scale is not directly useful in COVLMC as the
differences in model sizes are not constant through the pruning process. As a
consequence, this function does not provide mode
parameter, contrarily to
cutoff.vlmc()
.
Setting raw
to TRUE
removes the small perturbation that are subtracted
from the log-likelihood ratio values computed from the COVLMC (in quantile
scale).
As automated model selection is provided by tune_covlmc()
, 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_covlmc()
.