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: Date from Intial visit
From
Sergiy Radyakin <[email protected]>
To
[email protected]
Subject
Re: st: Date from Intial visit
Date
Thu, 27 Jan 2011 09:30:35 -0500
On Wed, Jan 26, 2011 at 2:11 PM, Clinton D. Bullock, RPH, NCPS, CDR,
USPHS <[email protected]> wrote:
> Hi all, similiar to the last question, I'm trying to get the results of a outcome (in this case smoking=0 not smoking=1) 6 months from an initial date (the patients first clinic visit). The date is coded in the format <10sep2008> in stata. Is it possible to do this? Thank in advance for any help.
Sure.
newdate=visitdate1+6*30
merge patid newdate using outcomes, keep(result)
Best, Sergiy
>
> Clinton Bullock
> [email protected]
> *
> * 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/