Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: merging datasets
From
Prakash Singh <[email protected]>
To
[email protected]
Subject
Re: st: merging datasets
Date
Tue, 4 Sep 2012 09:07:13 +0530
Dear Khalida,
What I suspect from information you have provided that one data set is
at household level and the other is at individual level. SO if you
have to work on individual level information you need to make unique
id in such a way that it takes care of individual in the family and
then merge it.
Otherwise, you need to collapse the individual level file to household
level file and then merge.
Hope it works for you.
Prakash
On Sat, Sep 1, 2012 at 8:03 PM, Khalida Akhtar Choudhury
<[email protected]> wrote:
> Hi,
>
> I need to merge household head in my dataset. In one of my datasets, I
> have a variable which describes the household head, however, in my
> other datasets, I do not. The id that is used across all datasets is
> not unique, so that individuals from the same household have the same
> id.
>
> I don't know how to merge for household head across all the datasets.
>
> Can someone help
> *
> * For searches and help try:
> * http://www.stata.com/help.cgi?search
> * http://www.stata.com/support/statalist/faq
> * http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/