Creating a level 2 variable from level 1 data
Posted: Tue Mar 26, 2013 11:44 pm
Hi there,
I am currently looking at a 2-level dataset of individuals nested in neighbourhoods.
I have information on each individual's ethnicity as a categorical level 1 predictor (Asian, Black, White), but would like to aggregate this information on each individual, to the neighbourhood level, to obtain the percentage of individual's for a particular neighbourhood that are white for example - thus forming a level 2 variable.
Is there any advice on how to go about this?
Kind Regards
I am currently looking at a 2-level dataset of individuals nested in neighbourhoods.
I have information on each individual's ethnicity as a categorical level 1 predictor (Asian, Black, White), but would like to aggregate this information on each individual, to the neighbourhood level, to obtain the percentage of individual's for a particular neighbourhood that are white for example - thus forming a level 2 variable.
Is there any advice on how to go about this?
Kind Regards