You can specify ANALYSIS: TYPE = TWOLEVEL BASIC; Mplus will then automatically compute the intraclass correlation coefficient for all variables that are listed under USEVARIABLES.
In order to use TYPE = TWOLEVEL BASIC, you need to specify a cluster variable in the VARIABLE command. Below is a complete example input:
title: Using the option "type = twolevel basic" to obtain cluster information
and intra-class correlation coefficients for variables math and kft
data: file = math_kft.dat;
variable: names = class ! school class (cluster variable)
math ! math score
kft ! KFT score
stype; ! school type: 0 = conventional high school, 1 = gymnasium
usevariables = math kft;
cluster = class; ! definition of the cluster variable
Dr. Christian Geiser If I'm not wrong by using this method we can get intraclass coefficient score for observed variables. can we calculate ICC1 and ICC2 scores using these values. Moreover can you please guide or share any source from where I can understand, How we can calculate rWG score for multilevel modeling using Mplus?