Statalist


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

st: Problems with -merge


From   [email protected]
To   [email protected]
Subject   st: Problems with -merge
Date   Fri, 21 Mar 2008 13:19:34 -0600

Hello,

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

I have read the manual and everything else I can find and nothing  
hints to me what may be wrong. Any suggestions. Is stata sensitive to  
left and right adjusted varables? Is there a problem if the data have  
been manipulated in Excel prior?

Thank you for any help on this matter.

BPM


*
*   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