[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: Query: survival analysis
Hello! I have run in to a problem in STATA and was wondering if anyone could
I have been asked to generate a Kaplan Meyer curve incorporating the number
of subjects at risk at various time points along the curve and I am not sure
how to proceed. The dataset is of a group of subjects who are followed-up
until death or until the end of the follow-up period (subjects cannot
re-enter the study). If I specify the "lost" option in sts graph (STS GRAPH,
BY(GROUP) LOST) then STATA provides the number of subjects at various points
who have been lost to follow-up, but not the ones who died. Is there a way
of requesting the number of patients who are at risk (beginning total from
the sts list) rather than the number lost? I am also curious whether it is
routine to do this only at select points to avoiding cluttering the graph.
Thank you for your help!
* For searches and help try: