Iva wrote:
I have an issue with the merge options. I want to force the merge to
take the match variable from the master file since it is not an
unique identifier in the using file. In other words, I want to all
all observations that have the same hqduns as those in the master
file. But the option uniqmaster gives me the comment below as if I
never even attached the option. And the output shows that it did not
merge anything from the using file. Any suggestions?
I have up-to-date stata 10.
. merge hqduns using sm_NETS, uniqmaster
variable hqduns does not uniquely identify observations in sm_NETS.dta
===================================================================
The message
variable hqduns does not uniquely identify observations in
sm_NETS.dta
is not an error message, but just informs you about the fact which may
be of interest.
If the -merge- did not happen, there must be other reasons - I will
refrain from guesswork.
Hope this helps
Svend
__________________________________________
Svend Juul
Institut for Folkesundhed, Afdeling for Epidemiologi
(Institute of Public Health, Department of Epidemiology)
Vennelyst Boulevard 6
DK-8000 Aarhus C, Denmark
Phone: +45 8942 6090
Home: +45 8693 7796
Email: [email protected]
__________________________________________
*
* 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/