lrControl(start = 0, end = 0, iter = 0, earlyout = 0, update = 0, treesize = 8, opers = 1, minmass = 0, nburn = 1000, hyperpars = 0, output = 4)
end
. If both start = 0
and end = 0
, these temperatures will be chosen automatically
(which is not the optimal way to specify these parameters).
start
. If both start = 0
and end = 0
, these temperatures will be chosen automatically (which is not
the optimal way to specify these parameters).
search
in trioLR
or trioFS
is set to "sa"
) or
in MCMC (if search = "mcmc"
). If iter = 0
, iter
will be chosen automatically (similar to start
and end
)
when simulated annealing is used, and will be set to iter = 50000
when MCMC is employed.
iter
iterations in simulated annealing are considered.
If during five consecutive blocks of earlyout
iterations, 10 or fewer moves proposed in simulated annealing are accepted in
each of the blocks, then the search will terminate. Can help to stop the search earlier, when there is no progress in the search
anymore. By default, all iter
iterations are considered.
opers = 1
), or only the AND operator
(opers = 2
), or only the OR operator (opers = 3
) is considered when building the logic tree.
minmass
is either set to 20% of the trios or to 15, whatever is less.
hyperpars
is assumed to be $log(P(size = k) / P(size = k+1))$, where $P$ is the prior on the model size.
output > 0
, then all
fitted models are saved in a text file called "triolrlisting.tmp" in the current working directory. By setting output < 0
, this
can be avoided. If abs(output) > 1
, bivariate statistics are gathered. If abs(output) > 2
, trivariate statistics are
gathered. Otherwise, only univariate statistics are determined.
logreg.anneal.control
, logreg.tree.control
, and logreg.mc.control
for the different
types of control parameters available in the R
package LogicReg
for a standard logic regressions.
# The default values for the parameters in trio logic regression
# can be specified by
myControl <- lrControl()
# If the starting temperature of Simulated Annealing should be set
# to 100 and the lowest temperature to 0.001, then this can be done by
myControl2 <- lrControl(start = 2, end = -3)
Run the code above in your browser using DataLab