Hi,
I used the one to many formula to merge two data sets. Once done, how can I keep only the matched observations?
merge 1:m hhcode using "xyz.dta"
(label province already defined)
(label region already defined)
Result # of obs.
-----------------------------------------
not matched 379,662
from master 142 (_merge==1)
from using 379,520 (_merge==2)
matched 120,347 (_merge==3)
-----------------------------------------
Best,
Shehryar
0 Response to How do I keep only the matched observation after data set merge (STATA 15)
Post a Comment