Hello,
I am quite new at stata so please forgive the trivial question!
I am working in a dataset containing household data (multiples individuals within each household responded to the questionnairs)
I want to compare the individual scores to that of their household.
How would I go about generating a new variable that is the average of scoreA for all individuals with the same household ID?
Thank you
Alix
I am quite new at stata so please forgive the trivial question!
I am working in a dataset containing household data (multiples individuals within each household responded to the questionnairs)
I want to compare the individual scores to that of their household.
How would I go about generating a new variable that is the average of scoreA for all individuals with the same household ID?
Thank you
Alix
Comment