Bin Ling posted on Saturday, November 04, 2017 - 9:47 pm
Dear professor Muthen I want to test the discriminant validity in a multilevel framework which has two level-1 variables and two level-2 variables.So the four cross-level factor model is our hypothesized model. I write the Mplus code for testing discriminant validity. I do not know whether it is accurate for the test. Could you give me a help. thank you. In the following code, AC and CE are level-1 variables and CL and CI are level-2 variables.
TITLE: This is Multilevel CFA for discriminant validity
DATA: FILE IS EmpDataCFA.csv;
VARIABLE: NAMES ARE group JI1 JI2 JI3 AC1 AC2 AC3 CE1 CE2 CE3 CI1 CI2 CI3 CL1 CL2 CL3 CL4 CL5; USEVAR ARE group AC1-AC3 CE1-CE3 CI1-CI3 CL1-CL5; WITHIN IS AC1-AC3 CE1-CE3; CLUSTER = group;
ANALYSIS: TYPE IS GENERAL TWOLEVEL; ESTIMATOR=ml;
ACW BY AC1-AC3; CEW BY CE1-CE3; CIW BY CI1-CI3; CLW BY CL1-CL5;