Runs ordinal logistic regression DIF
rundif(item, resp, theta, gr, criterion, alpha, beta.change, pseudo.R2, R2.change, wt)
Returns a list of the following components:
a data frame containing output statistics
a logical vector of DIF flags
a selection of items to be analyzed
a data frame containing item responses
a conditioning (matching) variable
a vector of group identifiers
criterion for flagging (i.e., "CHISQR", "R2", or "BETA")
significance level for Chi-squared criterion
proportional change for Beta criterion
pseudo R-squared measure (i.e., "McFadden", "Nagelkerke", or "CoxSnell")
R-squared change for pseudo R-squared criterion
optional sample weights
Seung W. Choi <choi.phd@gmail.com>
The argument item lists the column numbers of the data frame resp to be included in the analysis.
Choi, S. W., Gibbons, L. E., Crane, P. K. (2011). lordif: An R Package for Detecting Differential Item Functioning Using Iterative Hybrid Ordinal Logistic Regression/Item Response Theory and Monte Carlo Simulations. Journal of Statistical Software, 39(8), 1-30. URL http://www.jstatsoft.org/v39/i08/.
Crane, P. K., Gibbons, L. E., Jolley, L., and van Belle, G. (2006). Differential item functioning analysis with ordinal logistic regression techniques: DIF detect and difwithpar. Medical Care, 44(11 Suppl 3), S115-S123.
runolr
, lordif
if (FALSE) rundif(item,resp,theta,gr)
Run the code above in your browser using DataLab