<?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 Scoring proc phreg in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Scoring-proc-phreg/m-p/60824#M2835</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, this is my first time using this website.&amp;nbsp; I am using proc phreg and outest function to build and output a model.&amp;nbsp; Then I am using proc score to score the model.&amp;nbsp; The scored observations are between 3 and 11 (as opposed to a probability between 0 and 1).&amp;nbsp; What does this represent?&amp;nbsp; Is there a formula to calculate probability of survival from these numbers?&amp;nbsp; Thank you in advance for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Sep 2011 15:43:02 GMT</pubDate>
    <dc:creator>GatorMiner</dc:creator>
    <dc:date>2011-09-06T15:43:02Z</dc:date>
    <item>
      <title>Scoring proc phreg</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Scoring-proc-phreg/m-p/60824#M2835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, this is my first time using this website.&amp;nbsp; I am using proc phreg and outest function to build and output a model.&amp;nbsp; Then I am using proc score to score the model.&amp;nbsp; The scored observations are between 3 and 11 (as opposed to a probability between 0 and 1).&amp;nbsp; What does this represent?&amp;nbsp; Is there a formula to calculate probability of survival from these numbers?&amp;nbsp; Thank you in advance for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Sep 2011 15:43:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Scoring-proc-phreg/m-p/60824#M2835</guid>
      <dc:creator>GatorMiner</dc:creator>
      <dc:date>2011-09-06T15:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: Scoring proc phreg</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Scoring-proc-phreg/m-p/60825#M2836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think I can answer the first part, but not the second at this moment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your getting the linear predictor, ie the xbeta. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can test this using the following code and the sample data from proc phreg provided in the SAS documentation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc phreg data=Myeloma outest=estimates;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; model Time*VStatus(0)=LogBUN HGB&amp;nbsp; SCalc;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; output out=estimates2 xbeta=sample1 ;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp; data sample;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; set Myeloma;&lt;BR /&gt;drop time;&lt;/P&gt;&lt;P&gt;if mod(_n_,2)=1 then output;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Score the data;&lt;/P&gt;&lt;P&gt;proc score data=sample out=results score=estimates TYPE=PARMS;&lt;BR /&gt;var logbun hgb scalc;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The xbeta (sample1) should be the same as the numbers in the results table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Proc SCORE seems to only multiply the parameters by the values, ie matrix math, so you'd need the linear estimators out of the proc Phreg which at this point I can't even recall is possible (just back from vacation). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also wouldn't the probablilty always be 1 (ie always die or answer a call if waiting long enough?) so you might need to clarify what you're looking for as well. Isn't that an assumption of survival analysis, without censoring present?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Sep 2011 22:15:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Scoring-proc-phreg/m-p/60825#M2836</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2011-09-06T22:15:28Z</dc:date>
    </item>
  </channel>
</rss>

