purify_MH: Performs purification of the Mantel-Haenszel odds ratio in...

Description Usage Arguments Value

View source: R/calculate_mantelhaenszel.R

Description

Performs purification of the Mantel-Haenszel odds ratio in the Delta-scale

Usage

1
purify_MH(dat, group, sums, MH_stat, which_MH = which_MH)

Arguments

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

Value

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


mirka-henninger/raschTreeEffectSize documentation built on Nov. 14, 2021, 11:15 p.m.