| RankControlKendall-class {rankdist} | R Documentation |
RankControlKendall Class
Description
A S4 class to store control parameters for Kendall distance model fitting (Mallow's Phi Model).
It is derived from class RankControl-class.
Details
RankControlKendall is derived from virtual class RankControl.
This control class tells the solver to fit a model based on Kendall distance.
The control parameters that start with prefix EM_ are intended for the EM iteration. The ones with prefix SeachPi0 control the behaviour of searching model ranking.
Slots
EM_limitmaximum number of EM iteration
EM_epsilonconvergence error for weights and cluster probabilities in EM iteration
SearchPi0_limitmaximum number of iterations in the local search of pi0.
SearchPi0_FUNa function object that gives a goodness of fit criterion. The default is log likelihood.
SearchPi0_fast_traversala logical value. If TRUE (by default), immediately traverse to the neighbour if it is better than the current pi0. Otherwise, check all neighbours and traverse to the best one.
SearchPi0_show_messagea logical value. If TRUE, the location of the current pi0 is shown.
SearchPi0_neighboura character string specifying which type of neighbour to use in the local search. Supported values are: "Cayley" to use neighbours in terms of Cayley distance or "Kendall" to use neighbours in terms of Kendall distance. Note that Kendall neighbours are a subset of Cayley neighbours
See Also
RankData, RankInit, RankControl
Examples
# enabling messages
testctrl = new("RankControlKendall",SearchPi0_show_message=TRUE)