Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: merging datasets

From   Prakash Singh <>
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.


On Sat, Sep 1, 2012 at 8:03 PM, Khalida Akhtar Choudhury
<> 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:
> *
> *
> *
*   For searches and help try:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index