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

st: merge/joinby with if condition


From   Kit Baum <[email protected]>
To   [email protected]
Subject   st: merge/joinby with if condition
Date   Wed, 17 Aug 2005 13:18:22 -0400

Taavi said

Tried to merge and used the condition afterwards. It seemed to work,
thank you.
However the section 2) below raised another question. I have several
observations per id in both files, does it matter?


If you have a many-to-many merge (ID not unique in either master or using file) read the manual description of many-to-many merges and the problems they involve. It is tricky to deal with that sort of thing.


Kit Baum, Boston College Economics
http://ideas.repec.org/e/pba1.html


*
* 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