Construct a control object to pass additional arguments to a number of functions in the package.
get.control(
ymax = 1e+06,
optim.method = "L-BFGS-B",
optim.control = list(maxit = 150),
hybrid.tol = 0.01,
truncate.tol = 1e-06
)
List of controls.
Truncate counts to maximum value of y
.
Optimization method for maximum likelihood. See the
method
argument in optim.
control
argument for optim.
Tolerance to decide when to use truncation method versus approximation method to compute quantities based on the normalizing constant. See details.
Tolerance for truncation method. See details.
A hybrid method is used throughout the package to compute the CMP normalizing
constant and related quantities. When \(\lambda^{-1/\nu}\) is smaller than
hybrid.tol
, an asymptotic approximation is used; otherwise, infinite
series are truncated to finite summations. More information is given in the
COMPoissonReg
vignette.
The element ymax
protects against very long computations. Users
should beware when increasing this significantly beyond the default, as it
may result in a session which needs to be terminated.