- Introduced by
- Multiple contributors; foundational DIF methods by Lord (1980) extended to longitudinal designs
- Year
- 1980s–2000s
- Type
- Item-level bias detection across time
- Family
- Scale / measurement
What does it do?
Longitudinal differential item functioning (DIF) checks whether individual items behave differently across measurement occasions for the same respondents.
It extends DIF methodology to repeated-measures designs, so an analyst can judge whether each item's link to the underlying construct is stable before interpreting observed change over time. The check is a diagnostic step; it does not by itself establish that change scores reflect construct change.
The intuition behind the method
Consider a depression scale given to the same participants at baseline, six months and twelve months. If one item becomes easier or harder to endorse over time, independent of any real change in depression, part of the observed trend may come from that item rather than from the clinical state. Longitudinal DIF asks whether each item's relationship to the underlying construct stays the same across time points. An item showing such DIF introduces measurement bias that can distort growth curves, change scores and conclusions about an intervention, so checking it is a sensible step before drawing longitudinal conclusions from the scale.
History
Differential item functioning methods were developed in educational and psychological testing mainly to detect item bias across demographic groups. Their extension to longitudinal data followed the growth of panel and repeated-measures research in the social and clinical sciences. Vandenberg and Lance (2000) reviewed measurement invariance practice in organizational research, including an empirical example of longitudinal measurement invariance. The specific originators of the longitudinal DIF procedures described here are not verified.
When to use it
Use longitudinal DIF when scale scores or latent trait estimates are compared across two or more occasions for the same sample, as in panel studies, pre-post intervention designs, ecological momentary assessment and growth-curve research. It matters most when conclusions depend on the size of change rather than only its direction. A cross-sectional DIF check with no problems does not rule out longitudinal DIF, because item behaviour can shift over time even when it is stable across demographic groups. The method has little to offer when there is only one occasion, since no comparison is possible. It is also unreliable when the sample at each occasion is too small for stable parameter estimates; the sample requirement should be checked for the specific IRT or CFA model being fitted rather than assumed.
Limitations and considerations
- Item-level DIF estimates are unstable when the sample at any occasion is small, and a small panel gives limited precision for the parameters being compared.
- Detection depends on anchor items assumed to be DIF-free; if the anchors are not invariant, the reference frame for every other item is biased.
- Testing many items across many occasions multiplies significance tests, so Type I error grows unless a correction such as Bonferroni or Benjamini-Hochberg is applied systematically.
- Non-uniform longitudinal DIF is generally harder to detect and interpret than uniform DIF, and standard chi-square tests may have lower power for it.
- Separating true DIF from genuine construct change over time is statistically and conceptually difficult, because both alter the same observed item responses.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Addresses measurement bias in repeated-measures designs directly, which bears on the validity of inferences about change.
- Can be applied within either IRT or CFA frameworks, so it can be integrated with existing longitudinal modelling of the same items.
- Partial invariance allows items with freed parameters to be retained, so the remaining constrained items continue to support comparison over time.
- Gives item-level and occasion-level diagnostics that can inform revision of the scale for later waves.
- Can expose practice effects and response-shift artifacts that would otherwise appear as change in growth trajectories.
Applications
- Clinical trials and intervention research, verifying that pre-post symptom scale comparisons are not confounded by item response shift.
- Panel surveys and cohort studies, ensuring that attitude or well-being items retain consistent meaning across years or decades.
- Educational assessment, detecting whether item difficulty changes across grade levels or testing occasions in longitudinal achievement studies.
- Developmental psychology, examining whether cognitive ability items function consistently from childhood to adolescence.
- Health-related quality-of-life measurement, identifying items that are interpreted differently by respondents before and after a health event.
- Program evaluation, protecting pre-post comparisons from measurement artifacts that would mimic or mask true program effects.
How it works
How it works
A measurement model is specified for the repeated-measures data, typically as a multi-occasion confirmatory factor analysis (CFA) or item response theory (IRT) model. Items are treated as indicators of the latent construct at each time point. Because the same respondents are measured on every occasion, the model must account for within-person dependence, for example through residual covariances for the same item across occasions in a CFA, or through person-level random effects in an IRT model. Treating occasions as independent groups would ignore this dependence. Ordinal or binary items call for categorical estimation, such as WLSMV in CFA or graded-response and two-parameter logistic models in IRT; linear maximum-likelihood CFA is not appropriate for such items. The configural model, in which the same factor structure holds at every occasion, is fitted first and serves as the reference model.
Item parameters (factor loadings in CFA, discrimination and difficulty parameters in IRT) are estimated simultaneously across all occasions. Under the null hypothesis of no DIF, these parameters are constrained to be equal across time. A free (DIF-present) model is then estimated in which the parameters of a focal item are allowed to vary across occasions while all other items remain anchored.
Model fit is compared between the constrained and free models using a chi-square difference test or an equivalent likelihood-ratio statistic, following the difference formula given for this step. A significant difference indicates that the item's parameters are not stable across time, which is the signal of longitudinal DIF. Because a significant test in a large sample can reflect a trivial departure, an effect-size index is usually reported alongside it to gauge practical magnitude. Raju's area measure is one such index; its suitability for a given longitudinal model should be justified rather than assumed.
Formula
\Delta\chi^2 = \chi^2_{\text{constrained}} - \chi^2_{\text{free}}Detected DIF is described by type and size. Uniform longitudinal DIF means the item is consistently easier or harder at one occasion than another across the trait range. Non-uniform longitudinal DIF means the difference varies with trait level, which appears as item characteristic curves that cross across occasions. Magnitude should be judged against effect-size criteria set in advance. For CFA-based models, changes in fit indices such as CFI and RMSEA are also used to judge invariance; their cut-off values are conventions that depend on the model and on sample size, so they should be justified and reported rather than applied as fixed rules. The A/B/C severity grades sometimes used for DIF were defined for other DIF procedures, so their use for longitudinal models needs to be justified rather than assumed.
Interpretation asks whether the DIF is artifactual, for example due to item wording fatigue, practice effects or context shifts, or whether it reflects genuine multidimensionality. Items with large DIF are candidates for revision, removal or partial invariance treatment. When only some items show DIF, a partial invariance model can keep the remaining items constrained while freeing the parameters of the offending items.
Common pitfalls
- Assuming measurement invariance across occasions without testing it, which can hide DIF and bias estimates of growth.
- Relying on significance tests alone: in large samples a statistically significant difference can be practically negligible.
- Using too few anchor items, or anchors that themselves show DIF, which corrupts the reference frame used to detect DIF in the remaining items.
- Reporting only whether DIF is present, without its direction or magnitude, leaves readers unable to judge practical impact.
- Confusing longitudinal DIF (item behaviour changing over time within the same respondents) with cross-group DIF (item behaviour differing between subgroups at one occasion).
Frequently asked questions
How is longitudinal DIF different from measurement invariance testing?
They address the same core question, the stability of item parameters across occasions, but at different levels of granularity. Measurement invariance testing typically evaluates whether entire sets of loadings and intercepts are equal across time (configural, metric, scalar hierarchy). Longitudinal DIF analysis focuses on individual items, identifying which specific items are non-invariant and quantifying the size of each item's departure, which makes it more diagnostic and actionable.
Can I run longitudinal DIF if I have only two time points?
Yes. Two occasions is the minimum that allows a comparison, and the analysis is workable: parameters at occasion 2 are tested against those at occasion 1. However, power to detect small DIF effects is lower with two points than with three or more, and with two occasions it is not possible to tell a gradual drift from an abrupt shift. Three or more occasions are preferred whenever feasible.
Which software can I use for longitudinal DIF analysis?
CFA-based longitudinal DIF can be estimated in Mplus, lavaan (R), or OpenMx using multi-group or multi-occasion SEM syntax. IRT-based approaches are available in the ltm, mirt, and TAM packages in R. The choice depends on whether a CFA or IRT framework is used, and the models each package can fit should be checked in its documentation.
What do I do when I find significant longitudinal DIF in several items?
First, assess the practical magnitude using effect-size criteria set in advance. If DIF is large, consider removing those items from the longitudinal composite, or refit the model under partial invariance by freeing only the DIF parameters while keeping the other items constrained. Millsap and Kwok (2004) note that the factorial invariance literature is unclear about what to do when only partial invariance is found; their analysis concerns two groups and selection accuracy rather than repeated measures, so it does not settle the question for longitudinal item models. The choice should therefore be justified and, where feasible, the alternative reported. Comparing latent means under partial invariance is generally considered defensible only when enough DIF-free anchor items remain to define the reference frame.
Is longitudinal DIF the same as response-shift analysis?
They overlap but are not identical. Response-shift analysis is a broader theoretical framework distinguishing recalibration, reprioritization, and reconceptualization of a construct over time. Longitudinal DIF is one statistical tool for detecting and quantifying measurement non-equivalence across occasions, and it corresponds mainly to the recalibration component. Other approaches, such as response-shift structural equation models, address the framework more fully.
Related methods
Sources
Millsap, R. E., & Kwok, O. M. (2004). Evaluating the impact of partial factorial measurement invariance on selection in two groups. Psychological Methods, 9(1), 93–115.
Open DOI referenceVandenberg, R. J., & Lance, C. E. (2000). A review and synthesis of the measurement invariance literature: Suggestions, practices, and recommendations for organizational research. Organizational Research Methods, 3(1), 4–70.
Open DOI reference