Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Merging observations based on plus-minus quantity


From   Eduardo Nunez <[email protected]>
To   [email protected]
Subject   st: Merging observations based on plus-minus quantity
Date   Thu, 17 Mar 2011 14:22:15 -0400

Dear Statalisters:

I have a panel data (panel_1) with information on patients
corresponding to medical visits (physician-patient encounter).
I also have data (panel_2) with information on lab and procedures from
these patients, but with dates that do not match with medical visit
dates.
I would like to merge observaciones from panel_2 into panel_1 only if
the dates are within (± 30 days) of the  medical visit dates.

I would appreciate any help on this issue,

Eduardo

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index