Error in ThreeLevel Model PreviousNext
Mplus Discussion > Multilevel Data/Complex Sample >
Message/Author
 Aidan Wright posted on Tuesday, August 14, 2018 - 12:02 pm
Hi,

I am trying to run a three-level model on time series data. One cluster is IDs and the second is based off of the variable DAYCOUNT which is the day (1-8) in which the survey was completed (e.g., I would like one level to cluster all surveys competed on day 2 for ID 18).

When I try to run that model, I get this error:

"Clusters for ID with the same IDs have been found in different clusters for DAYCOUNT.
These clusters must have different IDs because clusters for ID are not allowed to appear in
more than one cluster for DAYCOUNT. Check that the cluster variables are specified in the right order.
Alternately, create unique IDs for ID in DEFINE based on its original IDs and a multiple of DAYCOUNT."

Given that there will be multiple IDs with the same DAYCOUNT variables, is there a way around this?

Thanks!
 Tihomir Asparouhov posted on Tuesday, August 14, 2018 - 2:07 pm
This should resolve the issue:

define: DAYCOUNT=10000*ID+DAYCOUNT;

This way the DAYCOUNT values will be different for each individual. The error message was intended for some other situations and will be removed in the next version.
Back to top
Add Your Message Here
Post:
Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action: