Attachment | Size |
---|---|
OpenMX_code [6] | 6.91 KB |
Allison et al. 2017 - ML for Cross-Lagged Panel Models with Fixed Effects [7] | 776.15 KB |
Hey all,
I just started recently to use OpenMx for academic reasons. I'm currently trying to reproduce the empirical example of the paper of Allison et al. 2017 in which they use a Maximum Likelihood Structural Equation Model (ML-SEM) for dynamic panel models.
The authors provide the code of the following software packages: R-lavaan, Stata, Mplus, SAS-Proc Calis. However, I'm using OpenMx in R since it seems to be more flexible for changes and adjustments than lavaan.
You can find my code and the paper in the attachment. Unfortunately I get the following error message, but I can't find my error:
Error: The job for model 'Test1' exited abnormally with the error message: fit is not finite (The continuous part of the model implied covariance (loc2) is not positive definite in data 'Test1.data' row 499.
However, even if I delete row 499, the error remains. I hope that someone here in the forum can help me. Thank you very much in advance!