Today, I tried to perform multilevel path-analyses using a SPSS-datafile saved as a .dat-file. Running the Mplus-imput file resulted in the next error: "One or more between-level variables have variation within a cluster for one or more clusters". However, inspecting the data-file made clear there are now differences within clusters.
Your data could be being read incorrectly for a variety of reasons -- blanks in the data set, commas in the data set instead of periods for decimals etc. Please send your input, data, output, and license number to firstname.lastname@example.org if you can't figure this out.
I got the same error-message, but I actually have real variations within clusters. I have a complex twolevel model with two clusters: - therapist - cohort (all families treated by the same therapist in the same year)
When I look up the error message, I see clients treated within the same cohort (thus by the same therapist in the same year), but the different families were treated in different teams, as the therapist changed team in that year.
Can I include or specificy this variation in the model? Or would I need to exclude all variation from my data before running the analyses?