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]
st: merge strategy
From
Dimitri Szerman <[email protected]>
To
statalist <[email protected]>
Subject
st: merge strategy
Date
Wed, 19 Jan 2011 19:52:17 +0000
Hello,
I'm merging two data sets on a varlist -- say v1 v2 v3. Sometimes
there's a mismatch because of a problem in v3, so for a given v1 v2 v3
I might end up with, say, 5 observation with _merge==3; 1 observation
with _merge==1; and 1 observation with _merge==2. *I know* that the
two unmatched observation should actually match -- in one of the
datasets, there was a problem in v3. Any ideas on how to correct this
in a concise and robust way?
Many thanks,
Dimitri
*
* 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/