just read this thread here (How do I estimate the mean of a variable for different groups by controlling for age, gender, education...?) and found it very helpful! First of all, thanks for that to the authors.
I have a question that is related to the question in the thread linked above:
In a paper I am reading it is said:
"The means for each Household-quintile were estimated from the regression intercept and coefficients controlling for all socio-demographic characteristics (i.e. median age (5 years), female, median birth order (2nd), mothers with primary education, crowding (3.6– 5 people ⁄ room), rural setting, and the most represented province (Toliary)), and adjusting for clustering at the household and community level."
Having read the post above, I do understand that they were doing a regression and using the intercept and the coefficient as the estimated means.
BUT 1) why are they using median age and median birth order and only the most represented province instead of a set of province indicator variables as in the regressions before?
AND 2) how can I cluster at the household and the community level at the same time?
I appreciate your help very much since I have been thinking about those questions quite a while already.
PS: I am using Stata in case this information is needed.