Hello,
My research team is interested in testing a mediation model and comparing the coefficients of A paths (from IV to Mediators) as well as the coefficients of B paths (from Mediators to DV). To do so, we estimated a model without B paths and constrained all A paths to be equal and then compared the fit of that model to one where A paths were not constrained. Similarly, we tested a model (including A paths) where B paths were constrained versus one where they were not.
However, we want to test for partial invariance by relaxing each constraint one at a time to see which significantly differ and which do not. We believe the lavTestScore function (from lavaan) would allow us to do so, but we’re unsure whether this is possible in metaSEM or which function would facilitate such a test. We would appreciate any help on this issue!
In addition, because we are only interested in the A paths (without B paths or the direct effect of the IV on the DV) in the first test, we wanted to ask whether it was possible to fit a model that does not include a path to the DV or that does not make use of a variable included in the correlation matrix? We got an error message (when calling tssem2) that the model specifications imply a 7x7 correlation matrix but the pooled correlation matrix (output of tssem1) is an 8x8 matrix, so clarity on this issue would be appreciated as well!
Thank you!
John Aitken