Hi!
I am using the function MiPowerFit from semTools_0.4-15.926 (R version: 3.5.0) to detect local misspecifications on a multiple group model in lavaan.
I attach an example (R script), in which I first input the data as covariance matrices, then run the model in lavaan and then I compute the MiPowerFit test.
Following the model specified in the example, one can observe that there are some parameters constraint to be equal across groups.
* In the case where the parameter is already fixed to a certain value in group 1 (i.e. r(i), m(i), varF(i)), there is no problem. I get the all parameters in the different groups in the MiPowerFit output.
* However, in the case where the parameter is free in group 1 or 2 but is later constraint to be equal in the following groups, these do not appear in the MiPowerFit output. These are: the loadings from the F(i) to the TS(i) factors, the covariances between the F(i) factors, the error variances of the y(i) and the variances of the M(i) factors.
Is there a way I can get these parameters in the MiPowerFit output?
Thank you very much in advance.
Best,
Anna