Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[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


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,
*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index