Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: unexpected behavior with "merge, uniqusing"


From   "Danielle H. Ferry" <[email protected]>
To   [email protected]
Subject   st: unexpected behavior with "merge, uniqusing"
Date   Wed, 8 Feb 2006 09:28:51 -0500

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/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index