<?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: How to plot survival estimates from the model / excess hazard ratio in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-plot-survival-estimates-from-the-model-excess-hazard/m-p/565420#M27878</link>
    <description>&lt;P&gt;It appears that Dickman suggested to use poisson regression to model and output relative excess risks. Please let me know if this might be the way to obtain estimates to graph in SAS. I'll keep testing in the meantime. Thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc genmod data=&amp;amp;grouped(where=(fu le 5)) order=formatted;
title2 'Poisson error model fitted to collapsed data';
title3 'Main effects model (follow-up, sex, age, and dgnyear)';
fwdlink link = log(_MEAN_-d_star);
invlink ilink= exp(_XBETA_)+d_star;
class fu sex age yydx;
model d = fu sex yydx age / error=poisson offset=ln_y type3;
format fu fu. age age. yydx yydx.;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 11 Jun 2019 21:39:55 GMT</pubDate>
    <dc:creator>Cruise</dc:creator>
    <dc:date>2019-06-11T21:39:55Z</dc:date>
    <item>
      <title>How to plot survival estimates from the model / excess hazard ratio</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-plot-survival-estimates-from-the-model-excess-hazard/m-p/565416#M27877</link>
      <description>&lt;P&gt;Hello folks,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm trying to reproduce the graph below (Woods et al.,2012) attached to this post. And I read and produced the cumulative relative risk tables following Dr. Dickman's resources for&amp;nbsp; &lt;A href="http://www.pauldickman.com/survival/sas/relative_survival_using_sas.pdf" target="_blank"&gt;http://www.pauldickman.com/survival/sas/relative_survival_using_sas.pdf&lt;/A&gt;. Now I'm getting into the Chapter: Modelling relative survival hoping that I'm pursuing the right direction to find a way to reproduce the graph.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My question is:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Do you recognize this graph as a SAS output? or you think that authors might have created this plot from any output estimates data?&lt;/P&gt;
&lt;P&gt;2. Does proc phreg produce "excess hazard ratio" as used on the y-axis int he plot below over a survival time in weeks?&lt;/P&gt;
&lt;P&gt;I know these authors mostly use stata software. But I can't imagine that SAS wouldn't have a way to produce something close. I keep reading Dr. Dickman's manual. In the meantime, I greatly appreciate to hear from your educated suggestions as to how I should approach to produce a similar plot like below. I use comparable data to that of Woods et al., and datasets that Dr. Dickman used in his tutorial.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PICTURE_WOODS.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/30228iA185DA1DFEA736E2/image-size/large?v=v2&amp;amp;px=999" role="button" title="PICTURE_WOODS.png" alt="PICTURE_WOODS.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2019 21:29:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-plot-survival-estimates-from-the-model-excess-hazard/m-p/565416#M27877</guid>
      <dc:creator>Cruise</dc:creator>
      <dc:date>2019-06-11T21:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to plot survival estimates from the model / excess hazard ratio</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-plot-survival-estimates-from-the-model-excess-hazard/m-p/565420#M27878</link>
      <description>&lt;P&gt;It appears that Dickman suggested to use poisson regression to model and output relative excess risks. Please let me know if this might be the way to obtain estimates to graph in SAS. I'll keep testing in the meantime. Thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc genmod data=&amp;amp;grouped(where=(fu le 5)) order=formatted;
title2 'Poisson error model fitted to collapsed data';
title3 'Main effects model (follow-up, sex, age, and dgnyear)';
fwdlink link = log(_MEAN_-d_star);
invlink ilink= exp(_XBETA_)+d_star;
class fu sex age yydx;
model d = fu sex yydx age / error=poisson offset=ln_y type3;
format fu fu. age age. yydx yydx.;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 11 Jun 2019 21:39:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-plot-survival-estimates-from-the-model-excess-hazard/m-p/565420#M27878</guid>
      <dc:creator>Cruise</dc:creator>
      <dc:date>2019-06-11T21:39:55Z</dc:date>
    </item>
  </channel>
</rss>

