theta.control: Control arguments for theta update algorithm

View source: R/getTheta.R

theta.controlR Documentation

Control arguments for \theta update algorithm

Description

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.

Usage

theta.control(
  eps = 1e-10,
  maxiter = 100,
  maxhalf = 20,
  maxtheta = 500,
  logit = TRUE,
  logsumexp = FALSE
)

Arguments

eps

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.

maxiter

Maximum number of iterations.

maxhalf

Maximum number of half steps allowed per iteration if the convergence criterion does not improve.

maxtheta

Absolute value of theta is not allowed to exceed maxtheta.

logit

Logical for whether logit transformation should be used. Use of this stabilizing transformation appears to be faster in general. Default is TRUE.

logsumexp

Logical argument for whether log-sum-exp trick should be used. This may improve numerical stability at the expense of computational time.

Value

Object of S3 class "thetaControl", which is a list of control arguments.


gldrm documentation built on May 29, 2024, 4:28 a.m.

Related to theta.control in gldrm...