<?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 Schoenfeld residuals calculation in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Schoenfeld-residuals-calculation/m-p/524409#M26575</link>
    <description>&lt;P&gt;Does anyone know how SAS calculates Schoenfeld residuals in survival analysis? Are they scaled? My understanding is that it's the value of a covariate for a given individual subtracted by the weighted average of that covariate among individuals who failed (i.e. got the outcome of interest) at time T. I would think that in order to get the weighted average,&amp;nbsp;you would need to multiply the model coefficient times the individual covariate value, and then add that to the covariate to get an expected value, which you would then take the average of. The average expected value would be among those who did and did not get the outcome of interest at time T. However, when I tried calculating this by hand, it didn’t match with the results. I’m also unsure as to how SAS calculates a residual for binary or categorical variables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any insight would be appreciated. Thanks in advance!&lt;/P&gt;</description>
    <pubDate>Thu, 03 Jan 2019 22:56:26 GMT</pubDate>
    <dc:creator>Caetreviop543</dc:creator>
    <dc:date>2019-01-03T22:56:26Z</dc:date>
    <item>
      <title>Schoenfeld residuals calculation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Schoenfeld-residuals-calculation/m-p/524409#M26575</link>
      <description>&lt;P&gt;Does anyone know how SAS calculates Schoenfeld residuals in survival analysis? Are they scaled? My understanding is that it's the value of a covariate for a given individual subtracted by the weighted average of that covariate among individuals who failed (i.e. got the outcome of interest) at time T. I would think that in order to get the weighted average,&amp;nbsp;you would need to multiply the model coefficient times the individual covariate value, and then add that to the covariate to get an expected value, which you would then take the average of. The average expected value would be among those who did and did not get the outcome of interest at time T. However, when I tried calculating this by hand, it didn’t match with the results. I’m also unsure as to how SAS calculates a residual for binary or categorical variables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any insight would be appreciated. Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jan 2019 22:56:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Schoenfeld-residuals-calculation/m-p/524409#M26575</guid>
      <dc:creator>Caetreviop543</dc:creator>
      <dc:date>2019-01-03T22:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: Schoenfeld residuals calculation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Schoenfeld-residuals-calculation/m-p/524426#M26578</link>
      <description>&lt;P&gt;Does this help?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.2&amp;amp;docsetId=statug&amp;amp;docsetTarget=statug_phreg_details52.htm&amp;amp;locale=en" target="_blank"&gt;https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.2&amp;amp;docsetId=statug&amp;amp;docsetTarget=statug_phreg_details52.htm&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.2&amp;amp;docsetId=statug&amp;amp;docsetTarget=statug_phreg_details53.htm&amp;amp;locale=en" target="_blank"&gt;https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.2&amp;amp;docsetId=statug&amp;amp;docsetTarget=statug_phreg_details53.htm&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/86015"&gt;@Caetreviop543&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Does anyone know how SAS calculates Schoenfeld residuals in survival analysis? Are they scaled? My understanding is that it's the value of a covariate for a given individual subtracted by the weighted average of that covariate among individuals who failed (i.e. got the outcome of interest) at time T. I would think that in order to get the weighted average,&amp;nbsp;you would need to multiply the model coefficient times the individual covariate value, and then add that to the covariate to get an expected value, which you would then take the average of. The average expected value would be among those who did and did not get the outcome of interest at time T. However, when I tried calculating this by hand, it didn’t match with the results. I’m also unsure as to how SAS calculates a residual for binary or categorical variables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any insight would be appreciated. Thanks in advance!&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jan 2019 02:16:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Schoenfeld-residuals-calculation/m-p/524426#M26578</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-01-04T02:16:34Z</dc:date>
    </item>
    <item>
      <title>Re: Schoenfeld residuals calculation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Schoenfeld-residuals-calculation/m-p/524723#M26595</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, somewhat. Is the d in the formula (attached) the deviance of the residuals? Thanks for your help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jan 2019 22:05:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Schoenfeld-residuals-calculation/m-p/524723#M26595</guid>
      <dc:creator>Caetreviop543</dc:creator>
      <dc:date>2019-01-04T22:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: Schoenfeld residuals calculation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Schoenfeld-residuals-calculation/m-p/524805#M26601</link>
      <description>&lt;P&gt;No. In the previous paragraph, the function d(s) is defined as&lt;/P&gt;
&lt;P&gt;"&lt;SPAN&gt;Let&amp;nbsp;d(s) = \Sigma \Delta(_iit&lt;/SPAN&gt;&lt;SPAN&gt;, which is the number of subjects that have an event at&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=" aa-mathtext"&gt;t&lt;/SPAN&gt;&lt;SPAN&gt;. "&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Jan 2019 13:07:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Schoenfeld-residuals-calculation/m-p/524805#M26601</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2019-01-05T13:07:39Z</dc:date>
    </item>
  </channel>
</rss>

