Skip to content

CFA

Confirmatory factor analysis: each factor is named with its indicators; fit indices, standardized loadings, modification indices and measurement invariance across groups.

CFA /FACTORS name(varlist) [name(varlist) …] [/GROUP=var] [/ESTIMATOR=ML|MLR|GLS|ULS|WLSMV] [/ORDINAL=varlist] [/MISSING=LISTWISE|FIML] [/IDENTIFY=MARKER|STDLV] [/MEANS] [/EQUAL=LOADINGS INTERCEPTS MEANS THRESHOLDS REGRESSIONS RESIDUALS RESIDUAL.COVARIANCES LV.VARIANCES LV.COVARIANCES] [/INVARIANCE=CONFIGURAL METRIC SCALAR STRICT|ALL] [/PRINT=FIT ESTIMATES STANDARDIZED RSQUARE MODINDICES RESIDUALS ALL] [/BOOTSTRAP=n] [/SAVE=FSCORES] [/CRITERIA=ITERATE(500) CIN(95) MI(3.84) MITOP(20)] [/PLOT=DIAGRAM [STANDARDIZED|UNSTANDARDIZED]|NONE].
Kind Procedure (reads data, produces output)
Body main /SUBCOMMAND[=] …
Changes data no
Subcommands /BOOTSTRAP, /CRITERIA, /EQUAL, /ESTIMATOR, /FACTORS, /GROUP, /IDENTIFY, /INVARIANCE, /MEANS, /MISSING, /MODEL, /ORDINAL, /PARAMETERIZATION, /PLOT, /PRINT, /SAVE
Menu Analyze ▸ Structural Equation Models
Slot: Indicators 2+ variable(s); levels: nominal, ordinal, scale; types: numeric
  • FACTORS: name(indicators) per factor; TO lists are allowed. Factors covary freely
  • ESTIMATOR: ML (default; expected-information standard errors), MLR (robust standard errors and a Yuan-Bentler scaled χ²), GLS, ULS (robust standard errors, mean-and-variance adjusted χ²) or WLSMV for ordinal indicators (polychoric correlations, diagonally weighted least squares)
  • ORDINAL: with WLSMV, the ordinal variables (default: every observed variable of the model; at most 15 categories each)
  • MISSING: LISTWISE drops incomplete cases; FIML (ML or MLR) uses every observed value under MAR
  • IDENTIFY: MARKER fixes each latent variable’s first loading to 1; STDLV fixes latent variances to 1 and frees all loadings
  • GROUP: fits the model in every group; /EQUAL makes the named parameter types equal across groups
  • INVARIANCE: fits configural, metric (equal loadings), scalar (+ intercepts, latent means free in later groups) and strict (+ residual variances) models and compares each with the previous one
  • PRINT: FIT, ESTIMATES, STANDARDIZED and RSQUARE by default; MODINDICES lists fixed parameters with large modification indices; RESIDUALS shows correlation residuals
  • BOOTSTRAP: n case resamples within groups (20–100000): percentile intervals for every free and defined parameter
  • SAVE: FSCORES adds regression factor scores FS_k for each latent variable
CFA /FACTORS visual(x1 x2 x3) textual(x4 x5 x6) speed(x7 x8 x9) /PRINT=ALL.
CFA /FACTORS visual(x1 TO x3) textual(x4 TO x6) /GROUP=school /INVARIANCE=ALL /ESTIMATOR=MLR.
  • CFA /FACTORS f(a b c) is SEM /MODEL=‘f =~ a + b + c’; every SEM subcommand applies.

SEM, FACTOR, RELIABILITY


Generated from OrcStat’s command registry and reference. To suggest a change, open an issue.