gt.control: Auxiliary for Controlling Group Testing Regression
Description
Auxiliary function to control fitting parameters of EM algorithm used internally in gtreg.mp
and EM.mp
or gtreg
, EM
, and EM.ret
.
Usage
gt.control(tol = 0.0001, n.gibbs = 1000, n.burnin = 20,
maxit = 500, trace = FALSE, time = TRUE)
Value
A list with components named as the arguments
Arguments
- tol
convergence criterion
- n.gibbs
the Gibbs sample size to be used in each E step for the EM algorithm (default is 1000), for matrix pooling
- n.burnin
the number of samples in the burn-in period (default is 20), for matrix pooling
- maxit
maximal number of iterations in the EM algorithm
- trace
logical indicating if output should be printed for each iteration, defaults to FALSE
- time
logical indicating if the length of time for the model fitting should be printed, defaults to TRUE
Examples
Run this code# The default settings:
gt.control()
Run the code above in your browser using DataLab