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
- There is a reasoned idea of who acts on whom. The direction of the arrows comes from theory, not from the data.
- Rule of thumb: at least about 10 cases per path, better 100 and more in total. Cases with gaps are left out.
How it works in Statable
- "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)".
- 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.
- In the table "Which column acts on which row" tick a box if the column should act on the row.
- 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).
- Click "Calculate path model with … paths". Statable calculates with R (package lavaan, maximum likelihood); R is loaded once the first time.
Reading the result
- Table "Direct paths" with coefficient, standard error and p; "Explained share (R²)" for each target variable; with factors "Measurement model: loadings of the questions on the factors", unstandardised and standardised.
- Table "Indirect routes and total effects": an indirect effect is the product of the coefficients along the route. Without bootstrap, standard errors and interval come from the delta method and are reliable only with large samples; for papers a bootstrap interval is usually required.
- Fit of the whole model: χ² with degrees of freedom and p, CFI, TLI, RMSEA and SRMR. Often named guides: CFI and TLI at least 0.95, RMSEA at most 0.06, SRMR at most 0.08. Statable says in words whether the fit is good, borderline or insufficient.
- If every path between all variables is free (a just-identified model) it always fits perfectly; then there are no fit figures.
- Model comparison: without the chosen paths χ² rises by an amount with the corresponding degrees of freedom. A small p means: without these paths the model fits clearly worse. A large p is no proof that they are zero. The smaller AIC or BIC favours the model with the smaller value.
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.