statable Statistics for study and research

Who affects whom? Path model (structural equation model, SEM)

In brief

A path model calculates several regressions at once and shows how variables act through others, for example study time → motivation → grade. You get the direct paths, the indirect routes via other variables and the total effect. If invisible quantities are added that several questions measure together (latent variables, factors), it is called a structural equation model (SEM).

When

How it works in Statable

  1. "New analysis", card "Can something be predicted?" (or mediation), with number columns. Under the result open the section "Path model: who affects whom? (several equations together)".
  2. Optionally add factors under "Latent factors (optional)" with "Add factor" (up to three) and assign questions: at least two, better three questions per factor. The factor then stands as its own row and column in the table; "Remove last factor" takes it back.
  3. In the table "Which column acts on which row" tick a box if the column should act on the row.
  4. Optionally a model comparison ("Model comparison (optional): which paths should be missing in the comparison model?", as soon as more than one path is chosen) and the box for bootstrap intervals of the indirect effects (500 draws, takes longer).
  5. Click "Calculate path model with … paths". Statable calculates with R (package lavaan, maximum likelihood); R is loaded once the first time.

Reading the result

What is often misunderstood

Paths are no proof of causes. They show what fits the data if the direction of the arrows is right. A good fit does not mean that the model is right; other arrows can fit just as well.

Reporting the result

Report: software and estimation method (lavaan, maximum likelihood), sample size, how gaps were handled, the model idea (best as a figure with all arrows), then the fit: χ² with degrees of freedom and p, CFI, TLI, RMSEA (with its 90% interval if available) and SRMR. Then the paths (coefficient, standard error, p; standardized if wanted), R² per target and the indirect effects with a bootstrap interval (Preacher & Hayes 2008, Behavior Research Methods 40, 879-891). Also: a model comparison (Δχ² with Δdf and p, AIC or BIC) and the sentence that paths do not prove causes. CFI and TLI from 0.95, RMSEA up to 0.06 and SRMR up to 0.08 are rules of thumb (Hu & Bentler 1999, Structural Equation Modeling 6, 1-55). What an SEM report should contain: McDonald & Ho 2002, Psychological Methods 7, 64-82.

The path model was estimated with lavaan (maximum likelihood) (N = …; gaps: …). The fit was [good/borderline/insufficient], χ²(…) = …, p = …, CFI = …, TLI = …, RMSEA = …, SRMR = …. The path from … to … was B = … (SE = …), p = …; R² for … = …. The indirect effect of … via … on … was … (95% bootstrap CI […, …], … draws).

For specialists

lavaan::sem, ML, with observed variables and optional factors (measurement model). Indirect effects as products along the routes; delta method or percentile bootstrap with 500 draws. Model comparison: χ² difference test of the model without the chosen paths, plus AIC and BIC.

Sources

Rosseel, Y. (2012). lavaan: An R package for structural equation modeling. Journal of Statistical Software, 48(2), 1-36. Hu, L. & Bentler, P. M. (1999). Cutoff criteria for fit indexes in covariance structure analysis. Structural Equation Modeling, 6, 1-55. Kline, R. B. (2023). Principles and practice of structural equation modeling (5th ed.). Guilford.

Related

Open in Statable