Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

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

st: stptime person-time

From   Emilie Chary <>
Subject   st: stptime person-time
Date   Fri, 19 Feb 2010 15:57:55 +0000 (GMT)


I am working on survival data. When I use stset and then stptime, my
person-time results are huge numbers. Are they in days or years?  It seems
like I get the right incidence rates if I use per(365000).

Here are the two lines of code I'm using:
stset endfollowup, failure(fail) origin(time mdy(12,31,2002)) enter(time beginfollowup) id(idpatient)
stptime, by(vaccinated) per(365000) at (0 365 731 1096 1461 1826 2196 2557)

If I use per(1000), my rates are too small to be possible. And I need to have
the right number of person-time in years.

Thank you in advance,

*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index