When to use it
Use for evaluating overall fit of structural equation models or covariance structures.
Required Inputs
- Observed correlation matrix
- Model-implied correlation matrix
- Degrees of freedom
Compute Standardized Root Mean Square Residual (SRMR) and Root Mean Square Error of Approximation (RMSEA) model fit indices.
Run this test live in StatLab npm i @statlab/coreUse for evaluating overall fit of structural equation models or covariance structures.
SRMR = √[ (2 / (p(p+1))) Σ Σ (r_ij - σ̂_ij)² ]
import semopy
# Compute SRMR and RMSEA model fit metrics
library(lavaan)
fitMeasures(fit_obj, c("srmr", "rmsea"))
import { semFit } from '@statlab/core';
const res = semFit(obs, exp, df);
Continuous A/B testing, statistical telemetry analysis, and automated feedback loops for live backend services.
Explore VoxelPulse →Fixed-price AI release-readiness sprints, automated regression testing, and reliability statistical benchmarks.
Explore VoxelAssurance →Explore static calculators across the StatLab inference engine suite.