Discrepancy function¶
A scalar covariance-mismatch objective minimized when fitting a structural equation model.
Core Idea¶
In structural equation modeling, a discrepancy function turns a covariance-reproduction problem into a scalar optimization objective. It compares observed covariances S with those implied by a model Sigma(theta); estimation searches free parameters for a small value. The definition must state the fitting convention, because maximum likelihood and least-squares methods do not weight mismatch identically.
In an official lavaan confirmatory-factor-analysis example, a three-factor model on nine test indicators yields fmin 0.142 and a separately reported chi-square statistic of 85.306. These are different outputs of the same fitted analysis. A small minimum alone does not certify the psychological model, and a p-value is a subsequent inferential judgment rather than the fitting function itself.
How would you explain it like I'm…
The How-Far-Off Number
The Model Mismatch Score
Covariance Fitting Objective
Scope of Application¶
The fitting convention and sample matter; a minimized objective is not by itself an adequacy verdict.
- Confirmatory factor analysis. Estimate constrained measurement models and examine reproduced covariances.
- Path and SEM models. Optimize covariance fit under structural restrictions.
- Method comparison. Specify how different fitting functions weight residuals.
- Model diagnostics. Use the minimized objective alongside residuals and substantive theory.
Clarity¶
A structural-equation-model discrepancy function scores the gap between observed covariance S and model-implied covariance Sigma(theta). Model parameters are fitted to reduce the score. It differs from a scaled chi-square test statistic and from a judgment that the model is true.
Manages Complexity¶
The scalar objective compresses many covariance residuals into one optimizable number. That makes estimation tractable while risking concealment of the particular residuals, assumptions, or theory constraints responsible for a mismatch.
Abstract Reasoning¶
Specify S, Sigma(theta), and the estimator; evaluate mismatch, fit model parameters, then interpret the minimum alongside residuals and theory. Compare objective values only when their fitting conventions support comparison.
Knowledge Transfer¶
The optimization idea transfers to other model-fitting settings, but the term here applies literally when observed and model-implied covariance structures are compared under an SEM estimator. A generic prediction error need not satisfy those typed roles.
Relationships to Other Abstractions¶
Current abstraction Discrepancy function Domain-specific
Parents (1) — more general patterns this builds on
-
Discrepancy function is a kind of Function (Mapping) Prime
It is a scalar objective function.
Hierarchy path (1) — routes to 1 parentless root
- Discrepancy function → Function (Mapping)
Neighborhood in Abstraction Space¶
Discrepancy function sits in a moderately populated region (53rd percentile for distinctiveness): it has near-neighbors but no dense thicket of look-alikes.
Family — Domain-Specific Indicators & Measurement Methods (26 abstractions)
Nearest neighbors
- Estimation of Covariance Matrices — 0.90
- Inferential Error — 0.86
- Self-supervised learning — 0.85
- M-Estimator — 0.85
- Factor Regression Model — 0.85
Computed from structural-signature embeddings · 2026-10-08