View source: R/autoRasch_options.R
autoRaschOptions | R Documentation |
Returns and updates the default settings used by the functions in autoRasch package.
autoRaschOptions(x = NULL)
x |
A name of single parameter setting that is wanted to be shown. |
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 is 1
.
scale.down
A constant value to scale down the updating step. The default is 0.5
.
maxit.cd.higher
Maximum iteration in the higher level coordinate descent. The default is 500
.
maxit.cd.lower
Maximum iteration for every coordinate optimization in the lower level coordinate descent. The default is 500
.
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 is 1e-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 is 1e-8
.
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 n x f to map the subject into DIF groups, where n is number of subjects and f is number of focal groups. |
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. |
### 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.