Mplus Code for Measurement invariance and LCS model

Info

Click this link to access the file OSF link

Reference:

Li, W.-D., Wang, J., Allen, T., Zhang, X., Yu, K., Zhang, H., Huang, J. L., Liu, M., & Li, A. (2024). Getting under the skin? Influences of work–family experiences on personality trait adaptation and reciprocal relationships. Journal of Personality and Social Psychology, 126(4), 694–718. https://doi.org/10.1037/pspp0000476

Strongly Recommend Prof. Wendong Li's Website for longitudinal research: https://www.wendongli.com/index.php/for-sharing/

Latent change score model

A Replication of Matusik et al (2021)

The results and Mplus code can be found in this repo:

Mplus Code of  Steffen et al (2021)

syntax
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Mplus syntax for hypothesis 1 sensitivity analysis

TITLE:
Merger paper H1

DATA:
FILE IS 'g:/my drive/merger/latent.dat';

VARIABLE:
NAMES ARE merge size js5 js7 abs5 abs7 ss5 ss7;
USEVARIABLES ARE merge size js5 js7;

MODEL:
!Latent True Scores
js1 BY js5@1;
js2 BY js7@1;

!Specifies the mean and variance of js1.
[js1]; js1;
!Fixes the mean and variance of js2 to 0.
[js2@0]; js2@0;
[js5-js7@0];
!Sets the residual variances of js5 and js7 to be equal and labels them as resvar.
js5-js7 (resvar);

!Autoregressions
js2 ON js1@1;

!Latent Change Factors
jsd BY js2@1;
!Fixes the mean and variance of jsd to 0.
[jsd@0];
jsd@0;

!Hypothesis
jsd ON merge size;


OUTPUT:
STAND CINT;