Good morning everybody,
I have a household database and would like to create a new variable. This variable i call it "educHH". This variable should have the value of the level of education of the head of household. It is because I have another variable "men109" which represents the level of education of different members of HH and another one "men108" which represents the status of the member (whether he is the head of household or the son of the head of household,...). the household id is "codmen"
What I need is "educHH" takes the value of men109 if men108 is head of household. And all members of household should bear the same value.
I have a household database and would like to create a new variable. This variable i call it "educHH". This variable should have the value of the level of education of the head of household. It is because I have another variable "men109" which represents the level of education of different members of HH and another one "men108" which represents the status of the member (whether he is the head of household or the son of the head of household,...). the household id is "codmen"
What I need is "educHH" takes the value of men109 if men108 is head of household. And all members of household should bear the same value.
Comment