Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Merge??


From   "Raphael Fraser" <[email protected]>
To   [email protected]
Subject   st: Merge??
Date   Wed, 14 Feb 2007 11:43:54 -0500

I would like to merge data1 and data2:

data1,
time d1
82    1
90    0

data2,
time d2
82    1
82    1
89    0

The result should look like this
time d1 d2
82    1   1
82     .   1
89     .   0
90    0    .

Can any one help?

Raphael
*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index