Pre-process data.
preprocess(
item.data,
pred.data,
prox.data,
item.type,
pen.type,
tau,
num.tau,
anchor,
stdz,
control,
call
)a "list" of default controls for "em_estimation"
Matrix or data frame of item responses.
Matrix or data frame of DIF and/or impact predictors.
Vector of observed proxy scores.
Character value or vector indicating the item response distributions.
Character indicating type of penalty.
Optional numeric vector of tau values.
Numeric indicating number of tau values to run Reg-DIF on.
Optional numeric value or vector indicating which item
response(s) are anchors (e.g., anchor = 1).
Logical value indicating whether to standardize DIF and impact predictors for regularization.
Optional list of additional model specification and optimization parameters.
Defined from regDIF.