<?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: Comparing IRR and crude rates over time in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Comparing-IRR-and-crude-rates-over-time/m-p/888680#M44014</link>
    <description>&lt;P&gt;I just provided an answer to &lt;A href="https://communities.sas.com/t5/Statistical-Procedures/Creating-and-Comparing-Rates-between-Groups/m-p/888354#M44000" target="_self"&gt;this post&lt;/A&gt; which sounds essentially identical to yours.&lt;/P&gt;</description>
    <pubDate>Wed, 09 Aug 2023 20:52:47 GMT</pubDate>
    <dc:creator>StatDave</dc:creator>
    <dc:date>2023-08-09T20:52:47Z</dc:date>
    <item>
      <title>Comparing IRR and crude rates over time</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Comparing-IRR-and-crude-rates-over-time/m-p/888667#M44012</link>
      <description>&lt;P&gt;I have run PROC GENMOD to obtain IRRs for two sets of incidents.&lt;/P&gt;
&lt;P&gt;Event A year estimate is 0.2445, standard error 0.04648, IRR 1.27692. Crude rate went from 2.27 per million to 12.63 per million over 7 years.&lt;/P&gt;
&lt;P&gt;Event B year estimate is -.01152, standard error 0.05574, IRR 0.89118. Crude rate went from 15.3 per million to 6.17 per million over the same period.&lt;/P&gt;
&lt;P&gt;Is there a test which allows me to compare the IRRs or the growth in the 2 crude rates over time?&lt;BR /&gt;Thanks in advance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2023 20:33:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Comparing-IRR-and-crude-rates-over-time/m-p/888667#M44012</guid>
      <dc:creator>newtriks</dc:creator>
      <dc:date>2023-08-09T20:33:25Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing IRR and crude rates over time</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Comparing-IRR-and-crude-rates-over-time/m-p/888680#M44014</link>
      <description>&lt;P&gt;I just provided an answer to &lt;A href="https://communities.sas.com/t5/Statistical-Procedures/Creating-and-Comparing-Rates-between-Groups/m-p/888354#M44000" target="_self"&gt;this post&lt;/A&gt; which sounds essentially identical to yours.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2023 20:52:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Comparing-IRR-and-crude-rates-over-time/m-p/888680#M44014</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2023-08-09T20:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing IRR and crude rates over time</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Comparing-IRR-and-crude-rates-over-time/m-p/888862#M44027</link>
      <description>&lt;P&gt;Thanks for responding.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's my code, tailored (I think) to yours. Crude rate dividend is the same for both incidents ("Visits"):&lt;/P&gt;
&lt;P&gt;DATA NPS;&lt;BR /&gt;INPUT Year Visits EFG STU;&lt;BR /&gt;YearIndx = Year-2012;&lt;BR /&gt;LogVisits = Log(Visits/1000000);&lt;BR /&gt;Event=1; Incident=EFG; Rate=EFG/(Visits/1000000); OUTPUT;&lt;BR /&gt;Event=0; Incident=STU; Rate=STU/(Visits/1000000); OUTPUT;&lt;BR /&gt;DATALINES;&lt;BR /&gt;2013 273630895 4187 620&amp;nbsp;&lt;BR /&gt;2014 292800082 5498 796&amp;nbsp;&lt;BR /&gt;2015 307247252 6160 1283&amp;nbsp;&lt;BR /&gt;2016 330971689 6753 3196&amp;nbsp;&lt;BR /&gt;2017 330882751 6605 3114&amp;nbsp;&lt;BR /&gt;2018 318211833 6111 3214&amp;nbsp;&lt;BR /&gt;2019 327516619 2820 2976&amp;nbsp;&lt;BR /&gt;2020 237064332 1463 2993&amp;nbsp;&lt;BR /&gt;;&lt;/P&gt;
&lt;P&gt;PROC SGPLOT data=NPS;&lt;BR /&gt;scatter y = Rate x = year / Group=Event;&lt;BR /&gt;series y = Rate x = year / Group=Event;&lt;BR /&gt;RUN;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm having an issue trying to duplicate your GENMOD code with this dataset - not sure what type of transformation, if any, I should try here.&lt;/P&gt;
&lt;P&gt;Thanks for your help!&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2023 22:20:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Comparing-IRR-and-crude-rates-over-time/m-p/888862#M44027</guid>
      <dc:creator>newtriks</dc:creator>
      <dc:date>2023-08-10T22:20:31Z</dc:date>
    </item>
  </channel>
</rss>

