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]

Re: st: Date from Intial visit


From   Steven Samuels <[email protected]>
To   [email protected]
Subject   Re: st: Date from Intial visit
Date   Thu, 27 Jan 2011 10:16:36 -0500

In publishing our longitudinal studies, we customarily table and graph in multiples of 30 days. In figures, for example, our major tick marks are at multiples of 360 days. No journal has objected to this.

Steve
[email protected]



On Jan 27, 2011, at 9:30 AM, Sergiy Radyakin wrote:

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



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