Error Msg - Variation within a cluster PreviousNext
Mplus Discussion > Multilevel Data/Complex Sample >
Message/Author
 Patchara Popaitoon posted on Saturday, August 13, 2011 - 12:12 pm
Dear Linda,

I got this error in the analysis of the multilevel data. I have checked on cluster (I think the cluster is the entity at the group level) containing value '41' and found that all the variables at the group level belonging to this cluster including 'OCBSD1' and 'OCBSD2' contain identical values. I am not sure why this problem persists. Please advise if I have checked on the wrong spot. Thank you.

Below is the error obtained:
One or more between-level variables have variation within a cluster for
one or more clusters. Check your data and format statement.

Between Cluster ID with variation in this variable
Variable (only one cluster ID will be listed)

OCBSD1 41
OCBSD2 41
 Linda K. Muthen posted on Saturday, August 13, 2011 - 2:09 pm
Please send your data, output, and license number to support@statmodel.com.
 sunyoung yoon posted on Friday, January 20, 2012 - 6:32 pm
I have an exactly same problem with the above. Should I email? But I don't have a license number because I'm using Mplus through school server.
 Linda K. Muthen posted on Saturday, January 21, 2012 - 5:57 am
Variables on the BETWEEEN list must have the same value for each person in a cluster. Check your data.
 Sungchul Cho posted on Tuesday, May 15, 2012 - 2:03 am
Dear Linda,

I got this error massage from the analysis of the multilevel data (see below). I have checked my data but it seems fine. Could you please suggest how to deal with the issue?

Many thanks.


MODEL:
%WITHIN%
TE BY b1@1 b2 b3-b7;
NE BY n2@1 n3 n4 n5;
UP BY u1@1 u2-u4;
NExTE | NE XWITH TE;
UP ON NE TE NExTE;
%BETWEEN%
TEB BY b1@1 b2 b3 b4 b5 b6 b7;
NEB BY n2@1 n3 n4 n5;
NEB ON TEB rc1;
ANALYSIS: TYPE = TWOLEVEL RANDOM;
ALGORITHM = INTEGRATION;
INTEGRATION = 2;
MITERATIONS IS 10000;
MCONVERGENCE IS 0.001;

*** ERROR
One or more between-level variables have variation within a cluster for
one or more clusters. Check your data and format statement.

Between Cluster ID with variation in this variable
Variable (only one cluster ID will be listed)

RC1 336
 Linda K. Muthen posted on Tuesday, May 15, 2012 - 6:22 am
Please send your output, data, and license number to support@statmodel.com.
 Martin Steppan posted on Wednesday, June 13, 2012 - 8:46 am
Hello!
I have exactly the same problem as mentioned above. I get the following message, although I have checked the data several times.

One or more between-level variables have variation within a cluster for
one or more clusters. Check your data and format statement.
Can you help me?
 Linda K. Muthen posted on Wednesday, June 13, 2012 - 9:39 am
Please send your output, data, and license number to support@statmodel.com.
 christine meng posted on Monday, July 09, 2012 - 1:02 am
I have the same problem. I checked the data and found out that some clusters had the same value. What would you suggest? Should I group the clusters with the same value together?
 Linda K. Muthen posted on Monday, July 09, 2012 - 6:21 am
No. Between-level variables should have the same value for each member of a cluster. If two clusters coincidentally have the same values, they should not be grouped together.
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: