Differential Item Functioning (Mantel-Haenszel and Logistic Regression)
Differential item functioning (DIF) analysis tests whether examinees of equal overall ability but different groups have different probabilities of answering an item correctly.
차별문항기능(DIF) 분석은 전체 능력이 같은데도 집단에 따라 어떤 문항의 정답 확률이 달라지는지를 검정하는 방법입니다.
Are any of my test items biased against one group after matching on total score?
총점을 맞춘 뒤에도 특정 집단에 불리한 문항이 있는지 확인하고 싶어요.
DIF analysis matches reference and focal group members on their total score and checks whether an item is still easier for one group. The Mantel-Haenszel common odds ratio with the ETS A/B/C delta classification and logistic regression likelihood-ratio tests with Nagelkerke R² effect sizes identify uniform and non-uniform DIF.
When to use Differential Item Functioning (Mantel-Haenszel and Logistic Regression)
- You have dichotomously scored items and two groups (for example gender or language)
- You need to screen a test for item bias before comparing groups
- You want ETS A/B/C or Jodoin-Gierl effect size classes
When to use something else
- Items are polytomous: use ordinal logistic DIF or IRT-based DIF
- You want to test equivalence of a whole factor model: use Measurement Invariance Testing
Assumptions and requirements
- Items scored 0/1
- The total (purified) score is a valid matching criterion
- Enough examinees per score stratum in both groups
What the analysis reports
- Mantel-Haenszel chi-square, common odds ratio, delta and ETS class per item
- Logistic regression uniform, non-uniform and total LR tests with delta Nagelkerke R²
- Benjamini-Hochberg adjusted p-values and flagged item lists
- Number of purification iterations
- Optional IRT-based DIF (irt=True): separate 2PL calibrations linked by Stocking–Lord or mean/sigma, Lord's chi-square and Raju's signed and unsigned areas with BH-adjusted p values
- Optional multigroup 2PL likelihood-ratio DIF (irt_method='lr'): concurrent marginal-ML calibration with a freely estimated focal-group latent mean and SD, G² on 2 df per item against an all-other-items or user-chosen anchor, BH-adjusted p values
How to report it
Mantel-Haenszel DIF analysis (reference n = [n1], focal n = [n2]) flagged [k] item(s); item [name] showed category C DIF, Δ_MH = [value], χ²_MH(1) = [value], adjusted p = [value].
Common variants
자주 쓰는 설정
The same analysis with settings already chosen. Each runs Differential Item Functioning (Mantel-Haenszel and Logistic Regression) itself, at the same price.
- DIF by IRT Parameter Comparison (Lord, Raju) — irt set to “on”
- DIF by Mantel–Haenszel — method set to “mh”
- DIF by Logistic Regression — method set to “logistic”
- Multiple-group IRT (two-group 2PL) — multigroup set to “on”
Related methods
- Measurement Invariance Testing (Configural, Metric, Scalar, Strict)
- Rasch Model Analysis
- Cochran-Mantel-Haenszel Test
How this method is validated
이 방법의 검증 근거
- Independent computation. 2 reference tests compare the results with direct computations (formulas, enumeration or simulation) at a stated tolerance of 2e-3.
독립 계산. 직접 계산(식·열거·모의실험) 대조 참조 시험 2건 통과(허용오차 2e-3).
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run Differential Item Functioning (Mantel-Haenszel and Logistic Regression) on Quorant
- Data you need
- a table (CSV or Excel) with item columns (e.g. questionnaire items) and a grouping variable
- Price
- 400 credits for one analysis up to 10,000 rows (complexity level 3); larger or wider data costs more. Optional methodologist review: 1800 credits.
- Checking
- Compared with independent computations
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.