Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Questions on Merging Two Data sets(Individual and Household data)


From   "Lok Wong" <lokwong80@hotmail.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: Questions on Merging Two Data sets(Individual and Household data)
Date   Sat, 22 May 2004 02:05:53 -0700

Hi there,

I have two data sets: one individual, another household. The observations in
household data set are less than those in individual one
because household consists of more than one individual. Now, I want to merge
this two data sets. What should I do? In the invidiual data,
there are two variables  "household id" and "number in the household" which
could be used to identify invididuals uniquely. In the household
data, there is one variales "household id".

Individual

Household ID           Number
-----------------------------------------------------------------
11111                        1
11111                        2
11111                        3
12021                        1
12021                        2
  :                              :
  :                              :
  :                              :

Household

Household ID
------------------------
11111
12021
12099
35206


Thanks first

Best,

Lok
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index