TITLE: CSC(M-1) change model with multiple groups and ordinal indicators. There are 2 constructs each measured by 6 items from 2 raters - PROSOCIAL BEHAVIOR (PB) - RELATIONAL AGGRESSION (RA) All lines beginning with an exclamation mark represent comments Least restrictive model (1) with the following restrictions a) residual variances = 1 in first group b) factor means = 0 in first group c) one loading per factor = 1 in each group d) two thresholds per indicator invariant across groups ! Definition of the ASCII data file to be used DATA: FILE = Papilio.dat; ! Naming of the variables in the file VARIABLE: NAMES = treat group tPB13 tPB12 tPB11 pPB13 pPB12 pPB11 tPB23 tPB22 tPB21 pPB23 pPB22 pPB21 tRA11 tRA12 tRA13 pRA11 pRA12 pRA13 tRA21 tRA22 tRA23 pRA21 pRA22 pRA23; ! Observed variables (items) to be used in the analysis ! Yijkl: i = indicator, j = construct, k = method, l = time point USEVARIABLES = ! Prosocial Behavior teacher ratings (time point 1) ! represent Y1111, Y2111, and Y3111 tPB11 tPB12 tPB13 ! Prosocial Behavior parent ratings (time point 1) ! represent Y1121, Y2121, and Y3121 pPB11 pPB12 pPB13 ! Prosocial Behavior teacher ratings (time point 2) ! represent Y1112, Y2112, and Y3112 tPB21 tPB22 tPB23 ! Prosocial Behavior parent ratings (time point 2) ! represent Y1122, Y2122, and Y3122 pPB21 pPB22 pPB23 ! Relational Aggression teacher ratings (time point 1) ! represent Y1211, Y2211, and Y3211 tRA11 tRA12 tRA13 ! Relational Aggression parent ratings (time point 1) ! represent Y1221, Y2221, and Y3221 pRA11 pRA12 pRA13 ! Relational Aggression teacher ratings (time point 2) ! represent Y1212, Y2212, and Y3212 tRA21 tRA22 tRA23 ! Relational Aggression parent ratings (time point 2) ! represent Y1222, Y2222, and Y3222 pRA21 pRA22 pRA23; ! Definition of observed variables as ordinal CATEGORICAL = tPB11 tPB12 tPB13 pPB11 pPB12 pPB13 tPB21 tPB22 tPB23 pPB21 pPB22 pPB23 tRA11 tRA12 tRA13 pRA11 pRA12 pRA13 tRA21 tRA22 tRA23 pRA21 pRA22 pRA23; ! Missing value flag ! All missing values are coded -9 MISSING = all(-9); ! Definition of the cluster variable ! Children where nested within groups CLUSTER = group; ! Definition of the grouping variable ! This indicates control group (CG) and intervention group (IG) GROUPING = treat (0 = CG 1 = IG); ! This type of analysis takes clustering of observations into account ANALYSIS: TYPE = COMPLEX; ! The WLSMV is the default estimator for this analysis ! when at least one dependent categorical variable is involved ESTIMATOR = WLSMV; ! Change the default Delta parameterization to Theta PARAMETERIZATION = THETA; DIFFTEST = 2_invariance_neu.dat; ! Model specification MODEL: ! The first method k = 1 is selected as reference method ! Definiton of a Prosocial Behavior factor PB1 at time point 1 PB1 by tPB11 tPB12 (1) tPB13 (2) pPB11 (3) pPB12 (4) pPB13 (5); ! Definiton of a Prosocial Behavior factor PB2 at time point 2 PB2 by tPB21 tPB22 (1) tPB23 (2) pPB21 (3) pPB22 (4) pPB23 (5); ! Definition of a Relational Aggression factor RA1 at time point 1 RA1 by tRA11 tRA12 (6) tRA13 (7) pRA11 (8) pRA12 (9) pRA13 (10); ! Definition of a Relational Aggression factor RA2 at time point 2 RA2 by tRA21 tRA22 (6) tRA23 (7) pRA21 (8) pRA22 (9) pRA23 (10); ! For indicators belonging to the non-reference method k = 2 ! a construct-specific method factor is defined ! Prosocial Behavior Method factor MPB1 time point 1 MPB1 by pPB11 pPB12 (11) pPB13 (12); ! Prosocial Behavior Method factor MPB2 time point 2 MPB2 by pPB21 pPB22 (11) pPB23 (12); ! Relational Aggression Method factor MRA1 time point 1 MRA1 by pRA11 pRA12 (13) pRA13 (14); ! Relational Aggression Method factor MRA2 time point 2 MRA2 by pRA21 pRA22 (13) pRA23 (14); ! Item-specific factors !Item 3 PB teacher tPB3 by tPB13 tPB23@1; ! Item 3 PB parent pPB3 by pPB13 pPB23@1; ! Item 2 RA parent pRA2 by pRA12 pRA22@1; ! Item 3 RA parent pRA3 by pRA13 pRA23@1; ! Definition of change factor PBC PBC by; PB2 on PB1@1 PBC@1; PB2@0; [PB2@0]; ! Definition of change factor RAC RAC by; RA2 on RA1@1 RAC@1; RA2@0; [RA2@0]; ! Definition of change factor MPBC MPBC by; MPB2 on MPB1@1 MPBC@1; MPB2@0; [MPB2@0]; ! Definition of change factor MRAC MRAC by; MRA2 on MRA1@1 MRAC@1; MRA2@0; [MRA2@0]; ! Restrictions in the structural model PB1 with MPB1@0 MPB2@0 MPBC@0 RA2@0 MRA2@0 tPB3@0 pPB3@0; PBC with MPB1@0 MPB2@0 MPBC@0 RA2@0 MRA2@0 tPB3@0 pPB3@0; PB2 with MPB1@0 MPB2@0 MPBC@0 tPB3@0 pPB3@0 pRA2@0 pRA3@0 MRA1@0 MRA2@0 MRAC@0 RA1@0 RA2@0 RAC@0; RA1 with MRA1@0 MRA2@0 MRAC@0 MPB2@0 pRA2@0 pRA3@0; RAC with MRA1@0 MRA2@0 MRAC@0 MPB2@0 pRA2@0 pRA3@0; RA2 with MPB1@0 MPB2@0 MPBC@0 pRA2@0 pRA3@0 tPB3@0 pPB3@0 MRA1@0 MRA2@0 MRAC@0; MPB1 with MRA2@0 pPB3@0; MPBC with MRA2@0 pPB3@0; MPB2 with MRA1@0 MRA2@0 MRAC@0 pRA2@0 pRA3@0 tPB3@0 pPB3@0; MRA1 with pRA2@0 pRA3@0; MRAC with pRA2@0 pRA3@0; MRA2 with pRA2@0 pRA3@0 tPB3@0 pPB3@0; !Fix thresholds across time !RA [tRA11$1 tRA21$1] (15); [tRA11$2 tRA21$2] (16); [tRA12$1 tRA22$1] (17); [tRA12$2 tRA22$2] (18); [tRA13$1 tRA23$1] (19); [tRA13$2 tRA23$2] (20); [pRA11$1 pRA21$1] (21); [pRA11$2 pRA21$2] (22); [pRA12$1 pRA22$1] (23); [pRA12$2 pRA22$2] (24); [pRA13$1 pRA23$1] (25); [pRA13$2 pRA23$2] (26); !PB [tPB11$1 tPB21$1] (27); [tPB11$2 tPB21$2] (28); [tPB12$1 tPB22$1] (29); [tPB12$2 tPB22$2] (30); [tPB13$1 tPB23$1] (31); [tPB13$2 tPB23$2] (32); [pPB11$1 pPB21$1] (33); [pPB11$2 pPB21$2] (34); [pPB12$1 pPB22$1] (35); [pPB12$2 pPB22$2] (36); [pPB13$1 pPB23$1] (37); [pPB13$2 pPB23$2] (38); ! Fix means of residual factors to 0 [MPB1@0 MPBC@0 tPB3@0 pPB3@0]; [MRA1@0 MRAC@0 pRA2@0 pRA3@0]; ! Fix latent factor means to 0 in both groups [PB1@0 RA1@0 RAC@0]; ! Fix residual variances to 1 tPB11-pRA23@1; ! In the control (reference) group MODEL CG: [PBC] (99); MODEL IG: [PBC] (99); OUTPUT: SAMPSTAT STDYX TECH1 TECH4; SAVEDATA: DIFFTEST = 3_equal_change_neu.dat;