Description Usage Arguments Value
View source: R/calculate_mantelhaenszel.R
Calculates the Mantel-Haenszel statistic for Differential Item Functioning (DIF)
1 | calculate_mantelhaenszel(dat, split_group, sums, purification, ...)
|
dat |
A dataframe with dichotomous item responses |
split_group |
An indicator of the two groups for which DIF analyses should be performed |
sums |
A sum score used as a matching criterion for computing the Mantel Haenszel statistic |
purification |
A character indicating the type of purification that is used on the Mantel Haenszel statistic. Options are "none", "2step", or "iterative" |
... |
Further arguments |
A list with the Mantel-Haenszel effect size measure in the Delta scale, the classification based on the ETS guidelines and information on purification and convergence of purification if iterative purification was done.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.