Description Usage Arguments Value
View source: R/calculate_mantelhaenszel.R
Performs purification of the Mantel-Haenszel odds ratio in the Delta-scale
1 |
dat |
A dataframe with dichotomous item responses |
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 |
MH_stat |
A vector or dataframe including the Mantel-Haenszel odds ratio in the Delta-scale |
which_MH |
a vector containing the item numbers of items with Delta-MH > 1 |
A list with purified the Mantel-Haenszel odds ratio in the Delta-scale, standard deviation of purified the Mantel-Haenszel odds ratio in the Delta-scale, a vector indicating with items were purified
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.