Learn R Programming

DFIT (version 1.0-3)

DeltaMhIrt: Obtains the ETS Delta measure for Mantel-Haneszel DIF statistic effect size.

Description

Obtains the ETS Delta measure for Mantel-Haneszel DIF statistic effect size.

Usage

DeltaMhIrt(mh, logistic = FALSE)

Arguments

mh

A numeric vector containing the MH statistic values

logistic

A logical indicating whether the logistic or the normal metric should be used.

Value

delta A numeric vector containing the delta values

References

Holland, P.W., and Thayer, D.T. (1988). Differential Item Performance and the Mantel-Haenszel Procedure. In H. Wainer and H.I. Braun (Eds.), Test Validity. Hillsdale, NJ: Erlbaum.

Examples

Run this code
# NOT RUN {
data(dichotomousItemParameters)
threePlMh <- IrtMh(itemParameters = dichotomousItemParameters,  irtModel = "3pl",
                   focalDistribution = "norm",
                   referenceDistribution = "norm", focalDistrExtra = list(mean = 0, sd = 1),
                   referenceDistrExtra = list(mean = 0, sd = 1), groupRatio = 1,
                   logistic = FALSE)
delta3pl <- DeltaMhIrt(threePlMh)

# }

Run the code above in your browser using DataLab