David Hussey posted on Wednesday, November 03, 2010 - 8:58 am
I wish to model survey data for school pupils collected in 50 (sampled) schools, with two classes (sampled) in each school (one in each of two years). There was no sampling within classes. Please can you confirm that the most appropriate modeling framework for this data would be TYPE=COMPLEX TWOLEVEL.
Also, I would like to check my understanding of WITHIN and BETWEEN. I wish to model two independent varaiables (A and B say) where A varies within class and B is measured at the school-level. Clearly A should be specified as WITHIN but what about B given that it is measured at the school level and not the class level?
Finally, is there any way to run many models at once in MPlus or automate a process using some kind of macro? I wish to run the same model with about 100 different dependent variables.