I was trying to fit several mixed linear models, however for 2 (out of 4) I am getting quite strange results.
The point is that I've collected data from two courses (a few students were the same in both courses). The idea is to predict students' position in social graph based on certain linguistic characteristics. Graph metrics (closeness, betweenness, etc.) are considered dependent variables, while measures of linguistic characteristics are considered independent variables (and fixed effects). I defined 1+course|student as a random effect and it seems that this model is better than 1|student (compared by ICC values). However, the model for betweenness centrality yields the following results:
Random effects:
Groups Name Variance Std.Dev. Corr
student (Intercept) 8563 92.54
courseCourse2 8521 92.31 -1.00
Residual 27714 166.47
Number of obs: 3066, groups: student, 1353
What could be a cause for this perfect negative correlation? Should I remove course from random effects? Any suggestions what could be wrong with the data/analysis?