soControl {CorrBin} | R Documentation |
Control values for order-constrained fit
Description
The values supplied in the function call replace the defaults and a list with
all possible arguments is returned. The returned list is used as the control
argument to the mc.est
, SO.LRT
, and
SO.trend.test
functions.
Usage
soControl(
method = c("ISDM", "EM"),
eps = 0.005,
max.iter = 5000,
max.directions = 0,
start = ifelse(method == "ISDM", "H0", "uniform"),
verbose = FALSE
)
Arguments
method |
a string specifying the maximization method |
eps |
a numeric value giving the maximum absolute error in the log-likelihood |
max.iter |
an integer specifying the maximal number of iterations |
max.directions |
an integer giving the maximal number of directions considered at one step of the ISDM method. If zero or negative, it is set to the number of non-empty cells. A value of 1 corresponds to the VDM algorithm. |
start |
a string specifying the starting setup of the mixing distribution; "H0" puts weight only on constant vectors (corresponding to the null hypothesis of no change), "uniform" puts equal weight on all elements. Only a "uniform" start can be used for the "EM" algorithm. |
verbose |
a logical value; if TRUE details of the optimization are shown. |
Value
a list with components for each of the possible arguments.
Author(s)
Aniko Szabo aszabo@mcw.edu
See Also
Examples
# decrease the maximum number iterations and
# request the "EM" algorithm
soControl(method="EM", max.iter=100)