Tools / DIF check (Mantel–Haenszel)
DIF check (Mantel–Haenszel)
Is any item quietly playing downhill for one group? This tool compares two groups of test-takers who have the same total score, item by item. If students with equal scores still answer an item differently, the item shows differential item functioning (DIF).
New to this? Read Fairness, DIF and bias first, then come back.
About this tool: what it does, when to use it, and its limits
- What it does
- The Mantel–Haenszel DIF test with purification, ETS A/B/C categories and a figure.
- When to use it
- To check whether any item is harder for one group (for example a first-language group) than for another group of equal ability.
- Data you need
- 0/1 item scores plus one group column with exactly two groups. At least 100 students per group.
- Limits
- It finds uniform DIF only. A flagged item is not automatically biased: a review panel must decide whether the cause is part of the construct.
Formulas and checks against R are on the Methods and formulas page.
One row per student. One column with exactly two groups (for example L1: Turkish/Arabic, or gender), plus 0/1 item columns. An ID column is fine.
Press Load sample data: 400 learners, two first-language groups and 20 items. One item has a hidden slope in its field.