Control Parameters for GLMs with Extra Parameters
Various parameters that control fitting of generalized linear models
with extra parameters using glmx
.
glmx.control(profile = TRUE, nuisance = FALSE, start = NULL, xstart = NULL, hessian = TRUE, method = "BFGS", epsilon = 1e-8, maxit = c(500, 25), trace = FALSE, reltol = .Machine$double.eps^(1/1.2), ...)
profile |
logical. Should the extra parameters be optimized via profile likelihood (or via the full likelihood of all parameters)? |
nuisance |
logical. Should the extra parameters be treated as nuisance parameters (i.e., suppressed in subsequent output)? |
start |
an optional vector with starting values for the GLM coefficients. |
xstart |
an optional vector with starting values for the extra parameter(s). Must be supplied if there is more than one extra parameter. |
hessian |
logical or character. Should the hessian be computed
to estimate the covariance matrix? If character, |
method |
characters string specifying the |
epsilon |
numeric convergance tolerance passed to |
maxit |
integer specifying the |
trace |
logical or integer controlling whether tracing information on
the progress of the optimization should be produced (passed to
|
reltol, ... |
arguments passed to |
All parameters in glmx
are estimated by maximum likelihood
using optim
with control options set in glmx.control
.
Either the parameters can be found by only optimizing over the extra parameters
(and then using glm.fit
to estimate the GLM coefficients),
or alternatively all parameters can be optimized simultaneously.
Covariances are derived numerically using the Hessian matrix returned by
optim
.
A list with the arguments specified.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.