metaSDTcontrol {metaSDTreg} | R Documentation |
Control for metaSDTreg
Description
Control function for metaSDTreg. The function allows passing arguments to the maxLik and clm procedure used for optimisation and starting values, respectively.
Usage
metaSDTcontrol(
meth = "BFGS",
start.vals = NULL,
hessianMeth = TRUE,
returnMaxLik = FALSE,
loglikUse = c("R", "C++"),
scoreFun = FALSE,
c.maxLik = list(),
c.clm = list(maxIter = 1000, maxModIter = 20),
...
)
Arguments
meth |
Method used by maxLik to perform maximisation, which must support constrained optimisation, see |
start.vals |
Starting values for the maximisation algorithm. Any NA entries will be set to zero. Defaults to NULL, in which case starting values will be obtained from the partial proportional odds model as implemented in the package ordinal using |
hessianMeth |
Method to compute the Hessian of the optimisation. Passed to the argument finalHessian in |
returnMaxLik |
Should the function return the fit object from |
loglikUse |
For testing purposes. The C++ option is not presently included. Should the procedure use the log-likelihood implemented in R (default), or that in C++? Option will be dropped in future versions. |
scoreFun |
For testing purposes. Should the optimisation procedure use the analytic score function? If FALSE (and 'meth' relies on gradients) numerical methods are used. Presently, only numerical methods are implemented. Defaults to FALSE. Option default may change in future versions. |
c.maxLik |
A list that is passed to the 'MaxControl' object in |
c.clm |
A list that is passed to clm.control containing controls to be used by |
... |
For future methods. |
Value
A list of class 'metaSDTcontrol' containing the control arguments.
Examples
names(metaSDTcontrol())