This function returns control arguments for the \(\theta\) update algorithm. Each argument has a default value, which will be used unless a different value is provided by the user.
theta.control(
eps = 1e-10,
maxiter = 100,
maxhalf = 20,
maxtheta = 500,
logit = TRUE,
logsumexp = FALSE
)Object of S3 class "thetaControl", which is a list of control arguments.
Convergence threshold for theta updates. Convergence is
evaluated separately for each observation. An observation has converged when
the difference between \(b'(\theta)\) and \(\mu\) is less than epsTheta.
Maximum number of iterations.
Maximum number of half steps allowed per iteration if the convergence criterion does not improve.
Absolute value of theta is not allowed to exceed maxtheta.
Logical for whether logit transformation should be used. Use of this stabilizing transformation appears to be faster in general. Default is TRUE.
Logical argument for whether log-sum-exp trick should be used. This may improve numerical stability at the expense of computational time.