View source: R/Logistic-Functions.R
dif_logistic | R Documentation |
Conducts DIF analysis with logistic regression
dif_logistic(item.data, dif.groups, match.type, match.scores)
item.data |
A |
dif.groups |
factor vector of group membership for which DIF is evaluated. |
match.type |
For the loess, MH, and logistic methods, a character indicating whether a
total summed score ( |
match.scores |
A numeric vector (if |
First conducts an omnibus test of DIF by comparing fit of no DIF, uniform DIF, and non-uniform DIF logistic
regression models. The no DIF model regresses the dichotomous item responses from item.data
on item, match.scores
, and the two-way interaction. The uniform DIF model adds dif.groups
and the interaction with item while the non-uniform model adds the three-way interaction. If DIF is
detected through the model comparisons, the specific item(s) with DIF are
identified in a two-stage process - initial detection stage and refinement stage.
list containing
DIF model comparisons
item-level DIF tests
integer vector of the items showing DIF (i.e., biased items)
type of DIF
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.