<?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: Negative Binomial and Incidence in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Negative-Binomial-and-Incidence/m-p/602742#M29299</link>
    <description>&lt;P&gt;That is done in exactly the same way as with a Poisson model as discussed in &lt;A href="http://support.sas.com/kb/24188" target="_self"&gt;this note&lt;/A&gt;. Simply change the response distribution in GENMOD to DIST=NEGBIN. Otherwise, use the same LSMEANS statement.&lt;/P&gt;</description>
    <pubDate>Fri, 08 Nov 2019 14:57:52 GMT</pubDate>
    <dc:creator>StatDave</dc:creator>
    <dc:date>2019-11-08T14:57:52Z</dc:date>
    <item>
      <title>Negative Binomial and Incidence</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Negative-Binomial-and-Incidence/m-p/602304#M29290</link>
      <description>&lt;P&gt;Hi everyone:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd like to calculate incidence rates. I know it can be done using Proc GENMOD with Poisson and lsmeans, however my data is over-dispersed and it looks like negative binomial is the way I need to go. Is there a way to calculate incidence using negative binomial in Proc GENMOD?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My variables are as follows:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Events: dependent variable, gives a count of events per 1000 person days&lt;/LI&gt;&lt;LI&gt;Disease: predictor variable, yes/no&lt;/LI&gt;&lt;LI&gt;Days: days of follow-up&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I'd like the incidence for the whole group as well as stratified by disease status. Suggestions?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2019 03:34:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Negative-Binomial-and-Incidence/m-p/602304#M29290</guid>
      <dc:creator>EpiNovice</dc:creator>
      <dc:date>2019-11-07T03:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: Negative Binomial and Incidence</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Negative-Binomial-and-Incidence/m-p/602656#M29297</link>
      <description>&lt;P&gt;Take a look here:&amp;nbsp;&lt;A href="https://stats.idre.ucla.edu/sas/dae/negative-binomial-regression/" target="_blank"&gt;https://stats.idre.ucla.edu/sas/dae/negative-binomial-regression/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is an example of using proc genmod with a negative binomial distribution&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc genmod data = nb_data;
  class prog (param=ref ref=first);
  model daysabs = math prog / type3 dist=negbin;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-unison&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2019 01:02:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Negative-Binomial-and-Incidence/m-p/602656#M29297</guid>
      <dc:creator>unison</dc:creator>
      <dc:date>2019-11-08T01:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: Negative Binomial and Incidence</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Negative-Binomial-and-Incidence/m-p/602742#M29299</link>
      <description>&lt;P&gt;That is done in exactly the same way as with a Poisson model as discussed in &lt;A href="http://support.sas.com/kb/24188" target="_self"&gt;this note&lt;/A&gt;. Simply change the response distribution in GENMOD to DIST=NEGBIN. Otherwise, use the same LSMEANS statement.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2019 14:57:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Negative-Binomial-and-Incidence/m-p/602742#M29299</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2019-11-08T14:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: Negative Binomial and Incidence</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Negative-Binomial-and-Incidence/m-p/603010#M29305</link>
      <description>&lt;P&gt;My suggestion is to use the poisson regression model - no matter whether you see overdisperson or not.&lt;/P&gt;
&lt;P&gt;The reason for that that overdispersion is something that measure variance relative to mean for count-data. But here the data was time-to-event, which has been summarized by number of events and person-time. It can be analyzed with poisson regression assuming piecewice constant incidence rates, because the likelihood function for will be similar to what you would have if you assumed the count-data was poisson distributed. As you dont need the assumption of distribution it you also dont need to check for overdispersion.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It quite easy to simulate time to event data with some incidence rate, and estimate the incidencerate with confidence interval correctly, even that you may have a big over dispersion. The dispersion will depend on how much you have aggreated (for example 5 agegroup instead of 10), which can be completely arbitrary and irrelevant for the rate estimate and it std error. So, just use proc genmod with the dist=poisson, and remember the offset=logtime.&lt;/P&gt;</description>
      <pubDate>Sat, 09 Nov 2019 20:18:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Negative-Binomial-and-Incidence/m-p/603010#M29305</guid>
      <dc:creator>JacobSimonsen</dc:creator>
      <dc:date>2019-11-09T20:18:59Z</dc:date>
    </item>
  </channel>
</rss>

