You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: book/statistics/5_Path_Modelling/2_Example.md
+19-14Lines changed: 19 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ width: 80%
31
31
32
32
## Variables
33
33
34
-
- Physical Health ($X$): The number of illnesses experienced in the last 12 months.
34
+
- Physical Health ($X$): The number of illnesses experienced in the last 12 months (higher values indicate poorer physical health).
35
35
- Functional Health ($Y_1$): The sum score of the SF-36 questionnaire, which measures functional health.
36
36
- Subjective Health ($Y_2$): Self-reported subjective health, reflecting how individuals perceive their overall health.
37
37
@@ -102,7 +102,7 @@ The first ouput we looked at after defining the model was `info`, which contains
102
102
-**Objective Function**: Maximum Likelihood with Weights (MLW).
103
103
-**Optimization Algorithm**: Sequential Least Squares Quadratic Programming (SLSQP).
104
104
-**Iterations**: The model converged after 14 iterations.
105
-
-**Objective Value**: 0.000, indicating no detectable discrepancy between observed and predicted covariance matrices.
105
+
-**Objective Value**: 0.000, indicating that the model-implied covariance matrix closely reproduces the observed covariance matrix under the chosen estimation method.
106
106
107
107
### Parameter Estimates
108
108
@@ -120,7 +120,7 @@ The first ouput we looked at after defining the model was `info`, which contains
120
120
121
121
### Standardized Coefficients
122
122
123
-
Standardized coefficients (`Est.Std`) allow us to compare the relative influence of each predictor. They can be interpreted similarly to correlation coefficients, indicating the strength and direction of relationships on a standardized scale. However, unlike correlations, they reflect causal relationships within the model's structure and account for both direct and indirect effects.
123
+
Standardized coefficients (`Est.Std`) allow us to compare the relative influence of each predictor on a common scale. They can be interpreted similarly to correlation coefficients in terms of strength and direction. However, unlike correlations, they represent *model-implied directional associations* that depend on the assumed causal structure of the model. By themselves, they do not establish causality, but quantify effects conditional on the specified paths.
124
124
125
125
-**Physical Health → Functional Health**: **-0.451** (strong negative effect).
126
126
-**Physical Health → Subjective Health**: **-0.244** (moderate negative effect).
@@ -140,15 +140,19 @@ Standardized coefficients (`Est.Std`) allow us to compare the relative influence
140
140
141
141
### Fit Metrics
142
142
143
-
-**Chi-Square**: **0.0001** (p = **0.9915**), excellent fit.
144
-
-**CFI**: **1.0008**, **TLI**: **1.0033** (indicative of possible overfit).
145
-
-**RMSEA**: **0**, **GFI/AGFI**: **1.0**, perfect fit.
143
+
-**Chi-Square**: **0.0001** (p = **0.9915**).
144
+
-**CFI**: **1.0008**, **TLI**: **1.0033**.
145
+
-**RMSEA**: **0**, **GFI/AGFI**: **1.0**.
146
146
-**AIC**: **10**, useful for model comparison.
147
147
148
-
### Overfitting Concerns
148
+
### Interpretation of Model Fit
149
149
150
-
- High fit indices and low Chi-Square suggest potential overfitting.
151
-
-**Recommendation**: Test on an independent dataset or simplify the model.
150
+
The model shows near-perfect fit indices. However, this should be interpreted with caution. The model has very few degrees of freedom (DoF = 1), meaning that global fit indices are not very informative in this context. In small or nearly just-identified models, it is common to observe extremely high fit values, including CFI and TLI values above 1 and RMSEA values close to zero.
151
+
152
+
Therefore, the excellent fit does not necessarily indicate overfitting, but rather reflects the simplicity and identification properties of the model.
153
+
154
+
**Recommendation:**
155
+
Model evaluation should focus primarily on parameter estimates and theoretical plausibility. External validation using an independent dataset can still be useful to assess generalizability.
152
156
153
157
154
158
## Interpretation
@@ -161,20 +165,21 @@ Standardized coefficients (`Est.Std`) allow us to compare the relative influence
161
165
162
166
### Implications
163
167
164
-
-**Mediation**: Functional health mediates the effect of physical health on subjective health. In other words, apart from directly influencing subjective health, physical health also influences subjective health by influencing functional health (indirect effect).
168
+
-**Mediation**: The pattern of results is consistent with *partial mediation* by functional health. Physical health shows both a direct association with subjective health and an indirect association via functional health. A formal test of the indirect effect would be required to statistically confirm mediation.
165
169
-**Variance Explained**: Functional health (20.6%), subjective health (39.7%). Other factors likely influence outcomes. These percentages represent **R-squared** values (explained variance) and are calculated as 1 minus the standardized residual variance.
166
170
167
171
### Limitations
168
172
169
-
-**Overfitting**: Model fit metrics suggest overfitting risks.
173
+
-**Limited Model Complexity**: Due to the small number of variables and low degrees of freedom, global fit indices are of limited diagnostic value.
170
174
-**Self-reported Measures**: Subjective health may suffer from biases (e.g., recall bias).
171
175
-**Large Unexplained Variance**: Additional predictors (e.g., social factors) could enhance the model.
172
176
173
177
174
178
```{admonition} Caution
175
179
:class: warning
176
-
While the model demonstrates significant and meaningful relationships, the almost perfect fit (e.g., Chi-Square value close to zero, p-value very high, and objective value of 0.000) raises a valid question: **Is the model overfitting?**
180
+
While the model demonstrates significant and meaningful relationships, the almost perfect fit (e.g., Chi-Square value close to zero and very high p-value) primarily reflects the simplicity and low degrees of freedom of the model rather than clear evidence of overfitting.
181
+
182
+
- In small or nearly just-identified models, global fit indices tend to be inflated and should not be overinterpreted.
183
+
- Generalizability is better assessed through theoretical justification and, where possible, replication in an independent dataset.
177
184
178
-
- Overfitting could mean that the model may not generalize well to other datasets.
179
-
- To address this, consider testing the model on a different dataset or simplifying it to ensure robustness.
0 commit comments