I am doing a study about an intervention targeting pupils of schools, in different cities. Thus, it is a multilevel structure and I am using mixed models for regression analyses. Contextual factors, related with cities, could be explanatory variables for the outcome. In this manner, the variable “city” is a proxy of such contextual factors. But, the variable “city” is also a clustering variable of the multilevel model.
Now, the question:
Is it appropriate to include the clustering variable “city” as confounder variable in the multilevel mixed models when “city” is also included as a hierarchical cluster variable?
Thank you very much.
Andrés.