Random effects for level 2 covariates
Posted: Wed May 28, 2014 11:10 am
Hi,
I have been reading through the online training course supplied with MLwiN and I was wondering if there was ever any reason to supply a level 2 covariate with level 1 random effects? For example if students were nested within a class would it be reasonable to allow random effects for a class level covariate if that covariate may have a differing effect within the class between students? Or would this be modelled using a level 2 covariate level 1 covariate interaction term? I couldn't see any examples of this in the course, and wasn't sure of the correct approach.
Many thanks
I have been reading through the online training course supplied with MLwiN and I was wondering if there was ever any reason to supply a level 2 covariate with level 1 random effects? For example if students were nested within a class would it be reasonable to allow random effects for a class level covariate if that covariate may have a differing effect within the class between students? Or would this be modelled using a level 2 covariate level 1 covariate interaction term? I couldn't see any examples of this in the course, and wasn't sure of the correct approach.
Many thanks