autoRaschOptions {autoRasch} | R Documentation |
autoRasch Optimization Parameters Setting
Description
Returns and updates the default settings used by the functions in autoRasch package.
Usage
autoRaschOptions(x = NULL)
Arguments
x |
A name of single parameter setting that is wanted to be shown. |
Details
cd_control
lists the parameters used to control the coordinate descent optimization procedure. The paramaters are:
init.step
Initial value of the delta parameters updating step. The default is1
.scale.down
A constant value to scale down the updating step. The default is0.5
.maxit.cd.higher
Maximum iteration in the higher level coordinate descent. The default is500
.maxit.cd.lower
Maximum iteration for every coordinate optimization in the lower level coordinate descent. The default is500
.abs.tol
The convergence tolerance. The algorithm stops if it is unable to reduce the negative log likelihood value by the given tolerance. The default is1e-12
.max.dif.par
The convergence tolerance. The algorithm stops if it is unable to update all of the parameters' value by the given tolerance. The default is1e-8
.
Value
fixed_par |
A vector of names of the parameter types that are set to be fixed. It means that these parameters are not going to be estimated. |
fixed_theta |
A vector of |
fixed_beta |
A vector of |
fixed_gamma |
A vector of |
fixed_delta |
A vector of |
isPenalized_theta |
It is a logical parameter whether, in the estimation procedure, |
isPenalized_gamma |
It is a logical parameter whether, in the estimation procedure, |
isPenalized_delta |
It is a logical parameter whether, in the estimation procedure, |
groups_map |
A matrix |
optz_method |
Options of the optimization method used. The default is |
optim_control |
A list of setting parameters of the |
lambda_theta |
The regularization parameter to the |
lambda_in |
The regularization parameter to the |
lambda_out |
The regularization parameter to the |
lambda_delta |
The regularization parameter to the |
randomized |
A logical parameter whether the initial values of the estimated parameters are randomized or not. |
random.init.th |
A threshold value to limit the range of the initial values. The default value is |
isHessian |
A logical parameter whether, in the estimation procedure, need to return the Hessian matrix or not. The default value is |
cd_control |
A list of coordinate descent optimization setting. |
mode |
An option setting to use "DIF" or "DSF" mode. |
isTraced |
A logical value whether the progress need to be tracked or not. |
Examples
### To show the default values
autoRaschOptions()
autoRaschOptions(x = "isHessian")
### To change the default values
adj_setting <- autoRaschOptions()
adj_setting$isHessian <- TRUE
pcm_res <- pcm(shortDIF, setting = adj_setting)