Dear list,
When running two separate multilevel models (2 levels: student within schools; hours homework as fixed predictor) one for girls and the other for boys, I get two (different) effect parameters for homework, one for girls, one for boys. Also, tehre are two different between-school variances, as well as between students (within schools) variances.
Then I pool the two datasets and run a multilevel model in which a fixed effect of homework, sex and the interaction sex*homework is included. Also, a random school intercept and a random sex effect (both across schools) are added to the model, which (if I'm right, please correct me) results in different between-school variances for girls ans boys, just as the two separate analyses above allow for. Finally, the model allows for different between-student variances for girls and boys. Having taken all these "precautions", I hoped to find exactly the same results for this pooled analysis as I got from the two separate ones.
However ... this appears not to be so. Though similar, results are definitely not equal. What could be the reason for the differences between the separate and pooled analyses? Thanks for any enlightenment!!