<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Help please !! PHREG LIFEREG LIFETEST in SAS Health and Life Sciences</title>
    <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/Help-please-PHREG-LIFEREG-LIFETEST/m-p/32188#M1168</link>
    <description>Hi Doc,&lt;BR /&gt;
Thank you very much ! &lt;BR /&gt;
&lt;BR /&gt;
I have Paul's book, he used only one summary row for one person. He also embedded data steps inside Phreg to utilize the time-dependent predictors.&lt;BR /&gt;
&lt;BR /&gt;
According to him, the computation efficiency is very low with this structure, since I have millions of rows and hundreds of variables... That's why I hope to change data structure if I could.&lt;BR /&gt;
&lt;BR /&gt;
Thanks anyway ! I appreciate your kind help !&lt;BR /&gt;
Shelia</description>
    <pubDate>Tue, 22 Jul 2008 12:42:19 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2008-07-22T12:42:19Z</dc:date>
    <item>
      <title>Help please !! PHREG LIFEREG LIFETEST</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/Help-please-PHREG-LIFEREG-LIFETEST/m-p/32184#M1164</link>
      <description>Hi folks,&lt;BR /&gt;
Does anyone know whether I can use phreg or lifereg or lifetest to model following survival analysis data structure?&lt;BR /&gt;
&lt;BR /&gt;
ID    DUR  DEAD    AGE ...&lt;BR /&gt;
1        1       0             15&lt;BR /&gt;
1        2       0             16&lt;BR /&gt;
1        3       1             17&lt;BR /&gt;
2        1       0             22&lt;BR /&gt;
2        2       0             23&lt;BR /&gt;
2        3       0             24&lt;BR /&gt;
2        4       0             25&lt;BR /&gt;
3        1       0             33&lt;BR /&gt;
3        2       0             34&lt;BR /&gt;
3        3       0             35&lt;BR /&gt;
3        4       1             36&lt;BR /&gt;
&lt;BR /&gt;
Dead:1 is dead, 0 is alive, used as status variable. &lt;BR /&gt;
DUR is survival time.&lt;BR /&gt;
&lt;BR /&gt;
Normally I just use the last row of each ID(see below), and use data step inside PHREG to add time-dependent variable (Age in this case). Now I hope to model this data structure directly, but couldn't figure out how. Thank you so much if anyone could help !!!&lt;BR /&gt;
&lt;BR /&gt;
ID    DUR  DEAD    AGE ...&lt;BR /&gt;
1        3       1             17&lt;BR /&gt;
2        4       0             25&lt;BR /&gt;
3        4       1             36&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Shelia</description>
      <pubDate>Thu, 17 Jul 2008 20:00:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/Help-please-PHREG-LIFEREG-LIFETEST/m-p/32184#M1164</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-07-17T20:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: Help please !! PHREG LIFEREG LIFETEST</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/Help-please-PHREG-LIFEREG-LIFETEST/m-p/32185#M1165</link>
      <description>This looks like a straightforward PHREG analysis.  You may need to restructure your data to use age at onset as a covariate,  but it is not time dependent.&lt;BR /&gt;
&lt;BR /&gt;
I don't generally use the other two procedures (It's an age thing, I learned the Cox model before the other two SAS Procedures were available, way back in V 5.....).&lt;BR /&gt;
&lt;BR /&gt;
BTW, DR Cox gave a great talk about the Student's t (William Gosset) and the relationships between Gosset, Fisher, and Pearson at the International Biometrics Society Conference in Dublin (home of Gosset's employer, Guiness).  I'm afraid that we won't have too many more opportunities to hear some of these stories from first-hand observers.  We added a plaque to him the Guiness Storehouse; look for it at your next visit.&lt;BR /&gt;
&lt;BR /&gt;
Doc Muhlbaier&lt;BR /&gt;
Duke</description>
      <pubDate>Fri, 18 Jul 2008 22:59:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/Help-please-PHREG-LIFEREG-LIFETEST/m-p/32185#M1165</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2008-07-18T22:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: Help please !! PHREG LIFEREG LIFETEST</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/Help-please-PHREG-LIFEREG-LIFETEST/m-p/32186#M1166</link>
      <description>Hi Doc,&lt;BR /&gt;
Thanks a lot for your help !!&lt;BR /&gt;
&lt;BR /&gt;
I understand what you said of using last record of each person, and treat AGE as time independent. However, AGE is just one of the time-dependent variables in my dataset. I have over hundred of variables in my dataset, lots of them are time-dependent.&lt;BR /&gt;
&lt;BR /&gt;
My data structure is one row for one person at each time point(see below). That's why I'm asking whether PHREG have a way to model this data structure directly, so that I don't need to restructure and aggregate my dataset into only one row for one person regardless of time points.&lt;BR /&gt;
&lt;BR /&gt;
Thank you so much for your reply ! Hope you can help me with this question !!&lt;BR /&gt;
&lt;BR /&gt;
Thanks a lot !&lt;BR /&gt;
Shelia&lt;BR /&gt;
&lt;BR /&gt;
ID DUR DEAD AGE ...&lt;BR /&gt;
1 1 0 15&lt;BR /&gt;
1 2 0 16&lt;BR /&gt;
1 3 1 17&lt;BR /&gt;
&lt;BR /&gt;
2 1 0 22&lt;BR /&gt;
2 2 0 23&lt;BR /&gt;
2 3 0 24&lt;BR /&gt;
2 4 0 25&lt;BR /&gt;
&lt;BR /&gt;
3 1 0 33&lt;BR /&gt;
3 2 0 34&lt;BR /&gt;
3 3 0 35&lt;BR /&gt;
3 4 1 36</description>
      <pubDate>Tue, 22 Jul 2008 01:50:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/Help-please-PHREG-LIFEREG-LIFETEST/m-p/32186#M1166</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-07-22T01:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: Help please !! PHREG LIFEREG LIFETEST</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/Help-please-PHREG-LIFEREG-LIFETEST/m-p/32187#M1167</link>
      <description>Shelia,&lt;BR /&gt;
&lt;BR /&gt;
I can't help you much further, I haven't done time-dependent covariates in a long time.  One possibility is to look at Paul Allison's book on survival analysis (mine is out right now, or I'd look); he has good advice for solving problems; if you don't have one available locally, you can get it from the SAS bookstore.&lt;BR /&gt;
&lt;BR /&gt;
Also, I will repeat, Age is NOT a time-dependent covariate.  Age is a linear function of the age at time 0 and the difference from time 0 to time k.  If you model it as time-dependent, you will have an over specified model and the results might be unreliable.&lt;BR /&gt;
&lt;BR /&gt;
Doc</description>
      <pubDate>Tue, 22 Jul 2008 12:11:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/Help-please-PHREG-LIFEREG-LIFETEST/m-p/32187#M1167</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2008-07-22T12:11:09Z</dc:date>
    </item>
    <item>
      <title>Re: Help please !! PHREG LIFEREG LIFETEST</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/Help-please-PHREG-LIFEREG-LIFETEST/m-p/32188#M1168</link>
      <description>Hi Doc,&lt;BR /&gt;
Thank you very much ! &lt;BR /&gt;
&lt;BR /&gt;
I have Paul's book, he used only one summary row for one person. He also embedded data steps inside Phreg to utilize the time-dependent predictors.&lt;BR /&gt;
&lt;BR /&gt;
According to him, the computation efficiency is very low with this structure, since I have millions of rows and hundreds of variables... That's why I hope to change data structure if I could.&lt;BR /&gt;
&lt;BR /&gt;
Thanks anyway ! I appreciate your kind help !&lt;BR /&gt;
Shelia</description>
      <pubDate>Tue, 22 Jul 2008 12:42:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/Help-please-PHREG-LIFEREG-LIFETEST/m-p/32188#M1168</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-07-22T12:42:19Z</dc:date>
    </item>
  </channel>
</rss>

