<?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: PHREG output statement question in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/PHREG-output-statement-question/m-p/81819#M3928</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure, but here's what I'd try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The formula you have is the hazard function formula, h(t), not the survivor function. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The survivor is S(t)=S(baseline)(t)^exp(B1x.....)&lt;/P&gt;&lt;P&gt;from SAS docs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have your beta's from the output and you can get the baseline syntax in proc phreg&lt;/P&gt;&lt;P&gt;Baseline (out=)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know if you'd need to set values for the covariates or not, but that's where I'd start. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Nov 2012 22:44:55 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2012-11-27T22:44:55Z</dc:date>
    <item>
      <title>PHREG output statement question</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PHREG-output-statement-question/m-p/81816#M3925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In phreg, using the output statement with survival=&lt;BR /&gt;option, what is the formula to recreate the survival= calculation?&amp;nbsp; I cannot recreate it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2012 15:57:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PHREG-output-statement-question/m-p/81816#M3925</guid>
      <dc:creator>msecic</dc:creator>
      <dc:date>2012-11-27T15:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: PHREG output statement question</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PHREG-output-statement-question/m-p/81817#M3926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are a number of survivor functions available, and the calculations are available for each type in the documentation under Details: PHREG Procedure&amp;gt;Survivor Function Estimators.&amp;nbsp; There is a Breslow estimator, Flemin-Harrington estimator, and the product-limit estimator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should be able to check the calculation based on the formulas provided.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2012 20:19:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PHREG-output-statement-question/m-p/81817#M3926</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2012-11-27T20:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: PHREG output statement question</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PHREG-output-statement-question/m-p/81818#M3927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to use the betas from the model, plug in the individual patient data into a formula with the betas and try to recreate the exact values that I get in the survival=&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think i would use this, but what do I plug in for alpha?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: TT1689o00; font-size: 10pt;"&gt;h&lt;/SPAN&gt;&lt;SPAN style="font-family: TT1690o00; font-size: 7pt;"&gt;i&lt;/SPAN&gt;&lt;SPAN style="font-family: TT168Ao00; font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: TT1689o00; font-size: 10pt;"&gt;t&lt;/SPAN&gt;&lt;SPAN style="font-family: TT168Ao00; font-size: 10pt;"&gt;) = exp(&lt;/SPAN&gt;&lt;SPAN style="font-family: TT1689o00; font-size: 10pt;"&gt;α &lt;/SPAN&gt;&lt;SPAN style="font-family: TT168Ao00; font-size: 10pt;"&gt;+ &lt;/SPAN&gt;&lt;SPAN style="font-family: TT1689o00; font-size: 10pt;"&gt;β&lt;/SPAN&gt;&lt;SPAN style="font-family: TT168Fo00; font-size: 7pt;"&gt;1&lt;/SPAN&gt;&lt;SPAN style="font-family: TT1689o00; font-size: 10pt;"&gt;x&lt;/SPAN&gt;&lt;SPAN style="font-family: TT1690o00; font-size: 7pt;"&gt;i&lt;/SPAN&gt;&lt;SPAN style="font-family: TT168Fo00; font-size: 7pt;"&gt;1 &lt;/SPAN&gt;&lt;SPAN style="font-family: TT168Ao00; font-size: 10pt;"&gt;+ &lt;/SPAN&gt;&lt;SPAN style="font-family: TT1689o00; font-size: 10pt;"&gt;β&lt;/SPAN&gt;&lt;SPAN style="font-family: TT168Fo00; font-size: 7pt;"&gt;2&lt;/SPAN&gt;&lt;SPAN style="font-family: TT1689o00; font-size: 10pt;"&gt;x&lt;/SPAN&gt;&lt;SPAN style="font-family: TT1690o00; font-size: 7pt;"&gt;ik &lt;/SPAN&gt;&lt;SPAN style="font-family: TT168Ao00; font-size: 10pt;"&gt;+ &lt;/SPAN&gt;&lt;SPAN style="font-family: TT168Bo00; font-size: 10pt;"&gt;・ ・ ・&lt;SPAN style="font-family: TT168Ao00; font-size: 10pt;"&gt;+ &lt;/SPAN&gt;&lt;SPAN style="font-family: TT1689o00; font-size: 10pt;"&gt;β&lt;/SPAN&gt;&lt;SPAN style="font-family: TT1690o00; font-size: 7pt;"&gt;k&lt;/SPAN&gt;&lt;SPAN style="font-family: TT1689o00; font-size: 10pt;"&gt;x&lt;/SPAN&gt;&lt;SPAN style="font-family: TT1690o00; font-size: 7pt;"&gt;ik&lt;/SPAN&gt;&lt;SPAN style="font-family: TT168Ao00; font-size: 10pt;"&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: TT168Ao00;"&gt;Thoughts?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2012 20:31:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PHREG-output-statement-question/m-p/81818#M3927</guid>
      <dc:creator>msecic</dc:creator>
      <dc:date>2012-11-27T20:31:59Z</dc:date>
    </item>
    <item>
      <title>Re: PHREG output statement question</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PHREG-output-statement-question/m-p/81819#M3928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure, but here's what I'd try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The formula you have is the hazard function formula, h(t), not the survivor function. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The survivor is S(t)=S(baseline)(t)^exp(B1x.....)&lt;/P&gt;&lt;P&gt;from SAS docs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have your beta's from the output and you can get the baseline syntax in proc phreg&lt;/P&gt;&lt;P&gt;Baseline (out=)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know if you'd need to set values for the covariates or not, but that's where I'd start. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2012 22:44:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PHREG-output-statement-question/m-p/81819#M3928</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2012-11-27T22:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: PHREG output statement question</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PHREG-output-statement-question/m-p/81820#M3929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Expanding on Reeza's comment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some math thoughts: In exp(&lt;SPAN style="font-family: TT1689o00; font-size: 10pt;"&gt;α &lt;/SPAN&gt;&lt;SPAN style="font-family: TT168Ao00; font-size: 10pt;"&gt;+ &lt;/SPAN&gt;&lt;SPAN style="font-family: TT1689o00; font-size: 10pt;"&gt;β&lt;/SPAN&gt;&lt;SPAN style="font-family: TT168Fo00; font-size: 7pt;"&gt;1&lt;/SPAN&gt;&lt;SPAN style="font-family: TT1689o00; font-size: 10pt;"&gt;x&lt;/SPAN&gt;&lt;SPAN style="font-family: TT1690o00; font-size: 7pt;"&gt;i&lt;/SPAN&gt;&lt;SPAN style="font-family: TT168Fo00; font-size: 7pt;"&gt;1 &lt;/SPAN&gt;&lt;SPAN style="font-family: TT168Ao00; font-size: 10pt;"&gt;+ &lt;/SPAN&gt;&lt;SPAN style="font-family: TT1689o00; font-size: 10pt;"&gt;β&lt;/SPAN&gt;&lt;SPAN style="font-family: TT168Fo00; font-size: 7pt;"&gt;2&lt;/SPAN&gt;&lt;SPAN style="font-family: TT1689o00; font-size: 10pt;"&gt;x&lt;/SPAN&gt;&lt;SPAN style="font-family: TT1690o00; font-size: 7pt;"&gt;ik &lt;/SPAN&gt;&lt;SPAN style="font-family: TT168Ao00; font-size: 10pt;"&gt;+ &lt;/SPAN&gt;&lt;SPAN style="font-family: TT168Bo00; font-size: 10pt;"&gt;・ ・ ・&lt;SPAN style="font-family: TT168Ao00; font-size: 10pt;"&gt;+ &lt;/SPAN&gt;&lt;SPAN style="font-family: TT1689o00; font-size: 10pt;"&gt;β&lt;/SPAN&gt;&lt;SPAN style="font-family: TT1690o00; font-size: 7pt;"&gt;k&lt;/SPAN&gt;&lt;SPAN style="font-family: TT1689o00; font-size: 10pt;"&gt;x&lt;/SPAN&gt;&lt;SPAN style="font-family: TT1690o00; font-size: 7pt;"&gt;ik&lt;/SPAN&gt;&lt;SPAN style="font-family: TT168Ao00; font-size: 10pt;"&gt;), the first term &lt;/SPAN&gt;&lt;/SPAN&gt;exp(&lt;SPAN style="font-family: TT1689o00; font-size: 10pt;"&gt;α) is a constant that ends up as a multiplier of &lt;/SPAN&gt;exp(&lt;SPAN style="font-family: TT168Ao00; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family: TT1689o00; font-size: 10pt;"&gt;β&lt;/SPAN&gt;&lt;SPAN style="font-family: TT168Fo00; font-size: 7pt;"&gt;1&lt;/SPAN&gt;&lt;SPAN style="font-family: TT1689o00; font-size: 10pt;"&gt;x&lt;/SPAN&gt;&lt;SPAN style="font-family: TT1690o00; font-size: 7pt;"&gt;i&lt;/SPAN&gt;&lt;SPAN style="font-family: TT168Fo00; font-size: 7pt;"&gt;1 &lt;/SPAN&gt;&lt;SPAN style="font-family: TT168Ao00; font-size: 10pt;"&gt;+ &lt;/SPAN&gt;&lt;SPAN style="font-family: TT1689o00; font-size: 10pt;"&gt;β&lt;/SPAN&gt;&lt;SPAN style="font-family: TT168Fo00; font-size: 7pt;"&gt;2&lt;/SPAN&gt;&lt;SPAN style="font-family: TT1689o00; font-size: 10pt;"&gt;x&lt;/SPAN&gt;&lt;SPAN style="font-family: TT1690o00; font-size: 7pt;"&gt;ik &lt;/SPAN&gt;&lt;SPAN style="font-family: TT168Ao00; font-size: 10pt;"&gt;+ &lt;/SPAN&gt;&lt;SPAN style="font-family: TT168Bo00; font-size: 10pt;"&gt;・ ・ ・&lt;SPAN style="font-family: TT168Ao00; font-size: 10pt;"&gt;+ &lt;/SPAN&gt;&lt;SPAN style="font-family: TT1689o00; font-size: 10pt;"&gt;β&lt;/SPAN&gt;&lt;SPAN style="font-family: TT1690o00; font-size: 7pt;"&gt;k&lt;/SPAN&gt;&lt;SPAN style="font-family: TT1689o00; font-size: 10pt;"&gt;x&lt;/SPAN&gt;&lt;SPAN style="font-family: TT1690o00; font-size: 7pt;"&gt;ik&lt;/SPAN&gt;&lt;SPAN style="font-family: TT168Ao00; font-size: 10pt;"&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: TT1689o00; font-size: 10pt;"&gt;, and is thus just part of S(baseline).&amp;nbsp; You do not need alpha to calculate survivor functions.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: TT1689o00; font-size: 10pt;"&gt;Steve Denham&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Nov 2012 10:37:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PHREG-output-statement-question/m-p/81820#M3929</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2012-11-28T10:37:51Z</dc:date>
    </item>
  </channel>
</rss>

