Maximization step using coordinate descent optimization.
Mstep_cd(
p,
item_data,
pred_data,
mean_predictors,
var_predictors,
eout,
item_type,
pen_type,
tau_current,
pen,
alpha,
gamma,
anchor,
final_control,
samp_size,
num_responses,
num_items,
num_quad,
num_predictors,
num_tau,
max_tau
)a "list" of estimates obtained from the maximization step using univariate
Newton-Raphson (i.e., one step of coordinate descent)
List of parameters.
Matrix or data frame of item responses.
Matrix or data frame of DIF and/or impact predictors.
Possibly different matrix of predictors for the mean impact equation.
Possibly different matrix of predictors for the variance impact equation.
E step output, including matrix for item and impact equations, in addition to theta values (possibly adaptive).
Optional character value or vector indicating the type of item to be modeled.
Character value indicating the penalty function to use.
A single numeric value of tau that exists within
tau_vec.
Current penalty index.
Numeric value indicating the alpha parameter in the elastic net penalty function.
Numeric value indicating the gamma parameter in the MCP function.
Optional numeric value or vector indicating which item
response(s) are anchors (e.g., anchor = 1).
Control parameters.
Sample size in data set.
Number of responses for each item.
Number of items in data set.
Number of quadrature points used for approximating the latent variable.
Number of predictors.
Logical indicating whether the minimum tau value needs to be identified during the regDIF procedure.
Logical indicating whether to output the maximum tau value needed to remove all DIF from the model.