[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: unexpected behavior with "merge, uniqusing"
Hi all,
When I attempt to merge 2 data files, specifying uniqusing, I get the
following error message:
. merge year month using `tf_natl', uniqu;
variables year month do not uniquely identify observations in the master data
r(459);
Isn't the point of the uniqusing option to require that the "using" data be
unique, NOT the "master" data? (Both data files are sorted on the merge vars).
Am I misunderstanding something?
Please help! This has actually been plaguing me for some time, but I've been
ignoring it until now.
Danielle Ferry
--
National Bureau of Economic Research <http://www.nber.org>
*
* 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/