<?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 can I compare two Poisson models (nested)? in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-can-I-compare-two-Poisson-models-nested/m-p/914399#M45391</link>
    <description>Thank you,  sbxkoenk! This is a great and detailed help! I can use it my entire life as long as I get troubled by Poisson! &lt;BR /&gt;&lt;BR /&gt;KS -</description>
    <pubDate>Sat, 03 Feb 2024 20:30:21 GMT</pubDate>
    <dc:creator>KS99</dc:creator>
    <dc:date>2024-02-03T20:30:21Z</dc:date>
    <item>
      <title>How can I compare two Poisson models (nested)?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-can-I-compare-two-Poisson-models-nested/m-p/914179#M45379</link>
      <description>&lt;P&gt;Hi, all, dear SAS community,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please bear with me if I returned with too simple a stats question.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I ran two Poisson models, one simply with controls, the other with controls plus variables of interest.&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/** Model (1) **/
proc genmod data = dataset;
model Y = X1  X2  X3  X4  X5  year1-year9 ind1-ind63 / dist=poisson link=log; run;  

/** Model (2) **/
proc genmod data = dataset;
model Y = X1  X2  X3  X4  X5  X6  X7  X8  X9   X10  year1-year9 ind1-ind63 / dist=poisson link=log; run;
  &lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;I want to check whether one model is more significant (in terms of fit) than the other. In other words, I want to perform a model test like F-Test when comparing OLS models. According to my internet search, Poisson works differently; they suggest using CONTRAST option in PROC GENMOD but I am not really sure. And the ways they show how to use CONTRAST options look so complicated. Please help! I really appreciate you, SAS community!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sincerely,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;KS -,&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2024 10:04:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-can-I-compare-two-Poisson-models-nested/m-p/914179#M45379</guid>
      <dc:creator>KS99</dc:creator>
      <dc:date>2024-02-02T10:04:54Z</dc:date>
    </item>
    <item>
      <title>Re: How can I compare two Poisson models (nested)?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-can-I-compare-two-Poisson-models-nested/m-p/914227#M45381</link>
      <description>&lt;P&gt;See &lt;A href="http://support.sas.com/kb/24449" target="_self"&gt;this note&lt;/A&gt; and the examples it links to.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2024 15:33:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-can-I-compare-two-Poisson-models-nested/m-p/914227#M45381</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2024-02-02T15:33:39Z</dc:date>
    </item>
    <item>
      <title>Re: How can I compare two Poisson models (nested)?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-can-I-compare-two-Poisson-models-nested/m-p/914256#M45383</link>
      <description>&lt;P&gt;Indeed, you need a&amp;nbsp;&lt;SPAN&gt;a &lt;STRONG&gt;likelihood ratio test&lt;/STRONG&gt;.&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Like is said on this page:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;SAS® 9.4 and SAS® Viya® 3.5 Programming Documentation&lt;BR /&gt;SAS Visual Statistics Programming Guide&lt;BR /&gt;Regression Action Set&lt;BR /&gt;Poisson Regression&lt;BR /&gt;&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/casactstat/casactstat_regression_examples02.htm" target="_blank"&gt;https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/casactstat/casactstat_regression_examples02.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL class="lia-list-style-type-square"&gt;
&lt;LI&gt;See the "Fit Statistics" table. The –2 log likelihood at the converged estimates is a certain numeric value (the lower the better -- a perfect fitting model would have a value of 0). You can use this –2 log likelihood value &lt;STRONG&gt;to compare the model to &lt;FONT color="#008000"&gt;nested&lt;/FONT&gt; model alternatives&lt;/STRONG&gt; by means of a &lt;STRONG&gt;&lt;FONT color="#008000"&gt;likelihood ratio test&lt;/FONT&gt;&lt;/STRONG&gt;.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;To compare models that are &lt;FONT color="#FF0000"&gt;&lt;EM&gt;not&lt;/EM&gt; nested&lt;/FONT&gt;&lt;/STRONG&gt;, information criteria such as AIC (Akaike’s information criterion), AICC (Akaike’s bias-corrected information criterion), and BIC (Schwarz Bayesian information criterion) are used. These criteria penalize the –2 log likelihood for the number of parameters.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN&gt;Koen&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2024 17:30:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-can-I-compare-two-Poisson-models-nested/m-p/914256#M45383</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2024-02-02T17:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: How can I compare two Poisson models (nested)?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-can-I-compare-two-Poisson-models-nested/m-p/914397#M45390</link>
      <description>Thank you StatDave! This is a great help! Somebody expanded what you hinted at. I can consult them all!</description>
      <pubDate>Sat, 03 Feb 2024 20:29:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-can-I-compare-two-Poisson-models-nested/m-p/914397#M45390</guid>
      <dc:creator>KS99</dc:creator>
      <dc:date>2024-02-03T20:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: How can I compare two Poisson models (nested)?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-can-I-compare-two-Poisson-models-nested/m-p/914399#M45391</link>
      <description>Thank you,  sbxkoenk! This is a great and detailed help! I can use it my entire life as long as I get troubled by Poisson! &lt;BR /&gt;&lt;BR /&gt;KS -</description>
      <pubDate>Sat, 03 Feb 2024 20:30:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-can-I-compare-two-Poisson-models-nested/m-p/914399#M45391</guid>
      <dc:creator>KS99</dc:creator>
      <dc:date>2024-02-03T20:30:21Z</dc:date>
    </item>
  </channel>
</rss>

