Hello everybody,
I am a master student, working on my thesis. I do not know how to generate a variable that contains the hh size, I want to use it as a control variable for my regression.
Basically I have a roster dataset that contains 25,335 observations. Out of this individual observations I have 6,679 households.
The variable hhid shows me the codes for every household, for example: two individuals with the code 102 compromise one hh, and so on.
I need help in creating the new variable hh_size
I am a master student, working on my thesis. I do not know how to generate a variable that contains the hh size, I want to use it as a control variable for my regression.
Basically I have a roster dataset that contains 25,335 observations. Out of this individual observations I have 6,679 households.
The variable hhid shows me the codes for every household, for example: two individuals with the code 102 compromise one hh, and so on.
I need help in creating the new variable hh_size
Comment