2-level multilevel model issues
Posted: Thu Aug 01, 2019 3:05 pm
I am a beginner with MLwiN and I am using version 3.04.
In the process of solving the issues with my own data, I followed the LEMMA online course (chapter 5.1 Comparing groups using multilevel modelling). When I tried to fit a 2-level multilevel model, I got an error term saying "explanatory variables are different lengths (offset 2)"
I saw that the system generated a new variable called "cons", with n = 1. I tried to delete it but it says it is part of the model.
Also, it seems like the model was not using all cases on both levels 1 and 2 (1 of 33988 cases in use, and schoolid: 1 (of 508) in use).
Can anyone please kindly offer some advice? Thank you!
In the process of solving the issues with my own data, I followed the LEMMA online course (chapter 5.1 Comparing groups using multilevel modelling). When I tried to fit a 2-level multilevel model, I got an error term saying "explanatory variables are different lengths (offset 2)"
I saw that the system generated a new variable called "cons", with n = 1. I tried to delete it but it says it is part of the model.
Also, it seems like the model was not using all cases on both levels 1 and 2 (1 of 33988 cases in use, and schoolid: 1 (of 508) in use).
Can anyone please kindly offer some advice? Thank you!