I am conducting a multi-level SEM analysis in the education context with teacher-student clusters. My model runs and gives me errors like the following:
In lav_data_full(data = data, group = group, cluster = cluster, ... :lavaan WARNING: Level-1 variable “item” has no variance within some clusters. The cluster ids with zero within variance are: ID1, ID2.
We have zero/negative variance in 60 clusters. Is there a way to deal with this issue without having to omit these clusters?