Statalist


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

Re: st: Problems with -merge


From   Svend Juul <[email protected]>
To   [email protected]
Subject   Re: st: Problems with -merge
Date   Fri, 21 Mar 2008 21:53:32 +0100

BPM wrote:
 
I need to match merge two datasets, one data is a subset of the other  
data at the individual level and contains with extra variable fields.   
The data read into STATA without issue, including attached labels. By  
all appearances and formats, the variables in question are similar  
across the datasets. However, when I match merge on the list of  
individual-episode identifiers, no merge occurs. I have tried  
combinations and ordering the match merge variables to no effect.  By  
the way, I do not get an error message. I just get _merge = 1 or 2 and  
not _merge = 3.
 
The variables to match include: lastname, firstname, ssn, incidentdate
 
===============================================================
 
Probably a human error. Please:
 
For each dataset show us the output from -describe- and from 
-summarize-, at least for the matching variables. Also show
the exact -merge- command you typed.
 
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, work:   +45 8942 6090 
Phone, home:   +45 8693 7796 
Fax:           +45 8613 1580 
E-mail:        [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/



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