Patterns › Dimension reduction

Moderated nonlinear factor analysis (MNLFA)

Moderated nonlinear factor analysis lets a latent factor's item intercepts, loadings and distribution depend on covariates — a unified test of measurement invariance and differential item functioning (DIF).

What is Moderated nonlinear factor analysis (MNLFA)?

Classical factor analysis assumes every item measures the latent construct the same way for everyone. MNLFA relaxes that: each item's intercept can shift with a covariate (uniform DIF) and, optionally, its loading can change too (nonuniform DIF). The factor's own mean and variance can also be modeled as functions of the covariates (impact), so genuine group differences on the construct are separated from item bias.

Continuous items use a linear factor model; binary items a two-parameter logistic (2PL) response model, so mixed item types are handled in one model. Covariates enter as linear predictors of each moderated parameter, which makes both categorical group contrasts and continuous moderators (age, time) natural.

Estimation is by marginal maximum likelihood: the latent factor is integrated out for each person with adaptive Gauss–Hermite quadrature (the integrand is re-centered at each person's posterior mode, so few nodes are needed), and the marginal likelihood is maximized over all parameters. Standard errors come from the observed information; DIF is tested with Wald statistics on the moderation coefficients. With no covariates the model reduces exactly to a single-factor model.

Identification: with the factor standardized (the default), the moderated measurement equations are identified without anchor items. Turning on factor mean/variance moderation adds impact estimation, which is only identified when some items are free of DIF and serve as anchors — the same requirement as in the wider MNLFA literature.

When should I use Moderated nonlinear factor analysis (MNLFA)?

  • Testing whether questionnaire items function equivalently across groups or along a continuous covariate (measurement invariance / DIF).
  • Harmonizing measures across studies or across development where items may drift.
  • Separating true construct differences (impact) from item-level bias.

What data does it need?

Numeric item columns (≥ 3) + optional covariate columns + item type (auto / continuous / binary) + toggles for moderating loadings and moderating factor mean/variance.

What does it report?

Parameter table (loadings, intercepts, moderation coefficients, residual variances, factor impact) with SEs / z / Wald p; per-item joint DIF tests; log-likelihood, AIC, BIC; convergence status.

What does it assume?

  • One underlying latent factor.
  • Continuous items conditionally normal; binary items follow a 2PL logistic model.
  • Correct functional form for the covariate moderation (linear in the predictors).
  • Anchor items free of DIF when factor impact is also estimated.

How do I interpret the result?

A significant moderation coefficient (or per-item DIF test) means that item's behavior changes with the covariate — the item is not invariant. Non-significant moderation across items supports measurement invariance. Compare nested models by AIC/BIC to decide how much moderation to retain.

See also

References

  • Bauer (2017). A more general model for testing measurement invariance and differential item functioning. Psychological Methods 22(3), 507–526.
  • Curran, McGinley, Bauer, Hussong, et al. (2014). A moderated nonlinear factor model for the development of commensurate measures in integrative data analysis. Multivariate Behavioral Research 49(3), 214–231.