A function to perform DIFboost, a method to detect DIF (Differential Item Functioning) in Rasch Models. It can handle settings with many covariates and also metric covariates simultaneously. The method is described in Tutz and Schauberger (2015). Model/variable selection is performed using stability selection.
DIFboost(Y, X, mstop = 400, trace = TRUE, cutoff = 0.9,
B = 500, mc.cores = 1, q = 0.6 * I)Model from inital gamboost fit
Estimates of the item-specific parameter estimates, with zeros for non-DIF items
coefficient vector with all estimates from refitted model
Estimated person abilities
Estimated item difficulties
Estimated item-specific parameters
Number of (valid) persons
Number of items
Names of the items
Names of the covariates
Design matrix for refitted model
upper bound for the per-family error rate. For details see stabsel.
linear predictor from refitted model
Which items have been detected to be DIF items?
Reference item
selection probabilities for single base learners in stability selection. For details see stabsel
cutoff value used for stability selection
Data frame (one row per person, one column per item) containing response. May only contain 0 or 1.
Data frame (one row per person, one column per covariate) containing covariates. Has to be standardized.
Number of boosting iterations maximally performed in one iteration of the stability selection.
Should the trace of the single boosting steps be printed?
Cutoff value for stability selection.
Number of subsamples used for stability selection.
Number of cores for parallelized stability selection. For windows machines, parallelization is not possible.
Maximum number of base learner to be included in the boosting algorithm for one subsample in stability selection. By default set to 60 percent of the total number of items.
Gunther Schauberger
gunther.schauberger@tum
https://www.sg.tum.de/epidemiologie/team/schauberger/
The method assumes the DIFmodel from Tutz and Schauberger (2015) where boosting is used for DIF detection. Computation is based on the functions gamboost and stabsel.
Schauberger, Gunther and Tutz, Gerhard (2016): Detection of Differential Item Functioning in Rasch Models by Boosting Techniques, British Journal of Mathematical and Statistical Psychology, 69(1), 80 - 103
print.DIFboost, gamboost, stabsel
if (FALSE) {
data(simul.data)
Y <- simul.data[,1:10]
X <- simul.data[,11:13]
m1 <- DIFboost(Y = Y, X = X)
print(m1)
}
Run the code above in your browser using DataLab