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]
Re: st: Merging observations based on plus-minus quantity
From
"Dimitriy V. Masterov" <[email protected]>
To
[email protected]
Subject
Re: st: Merging observations based on plus-minus quantity
Date
Thu, 17 Mar 2011 15:14:21 -0400
I believe this can be accomplished with nearmrg, which you can install from ssc.
DVM
On Thu, Mar 17, 2011 at 2:22 PM, Eduardo Nunez <[email protected]> wrote:
> 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/
>
*
* 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/