Dealing with varied values within higher level units
Posted: Tue Sep 02, 2014 4:53 pm
I am trying to run two level logistic regression models in MLwiN on a dataset which merges data from two different years of interest (2001 and 2011). Level 1 is individuals and Level 2 is Local Authority Districts (LADs). The dataset has individual level variables (survey responses, age, gender, ethnic group etc) and LAD level variables (LAD deprivation, LAD population density etc). I have separately modelled the datasets for 2001 and 2011 and have the results for this. Now I have merged the datasets and want to look at whether the interaction between YEAR (as a variable in the merged dataset) and the main predictor variable of interest (LAD ethnic diversity) has a significant effect on the outcome variable. The problem is that in the merged dataset, each LAD-level variable now has two values (one for 2001 and one for 2011) and MLwiN is now treating these variables as individual-level rather than area-level. So I am looking for help with the following:
Is it possible to carry out multi-level modelling in MLwiN when the higher-level variables have varied values within each higher level unit?
Is there a way to make MLwiN treat the higher level variables as level 2 (i.e. as j rather than ij, which is what is happening now)?
I would be very grateful for any advice or information about this. Thank you. Liz
Is it possible to carry out multi-level modelling in MLwiN when the higher-level variables have varied values within each higher level unit?
Is there a way to make MLwiN treat the higher level variables as level 2 (i.e. as j rather than ij, which is what is happening now)?
I would be very grateful for any advice or information about this. Thank you. Liz