<?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: Deviance in output of Poisson regression model with repeated subject statement in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Deviance-in-output-of-Poisson-regression-model-with-repeated/m-p/259766#M13723</link>
    <description>&lt;P&gt;Thank you for your reply.&amp;nbsp; Do you know how I can run this type of model with the repeated subject statement and force SAS to output the deviance?&amp;nbsp; Or do you have a suggestion of another model that would be better for this situation?&amp;nbsp; Thank you.&lt;/P&gt;</description>
    <pubDate>Tue, 29 Mar 2016 16:23:12 GMT</pubDate>
    <dc:creator>mbcox</dc:creator>
    <dc:date>2016-03-29T16:23:12Z</dc:date>
    <item>
      <title>Deviance in output of Poisson regression model with repeated subject statement</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Deviance-in-output-of-Poisson-regression-model-with-repeated/m-p/258648#M13682</link>
      <description>&lt;P&gt;I am running a poisson regression model for the&amp;nbsp;number of admissions for a group of patients (identified by "ID").&amp;nbsp; The explanatory variables are post (pre vs post period) and case (case vs control) with an interaction term post*case.&amp;nbsp; As each patient can have more than one admission, I have added a repeated subject statement to the model.&amp;nbsp; However, after adding the repeated subject statement to the&amp;nbsp;code the output for the model no longer&amp;nbsp;gives the deviance.&amp;nbsp; How can I specify that the output for the model include the deviance?&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;genmod&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;data&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;=alldata;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;class&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; ID;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;model&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; admit = post case post*case / &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;dist&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;=poisson &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;link&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;=log &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;offset&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;=logtime&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;repeated&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;subject&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;=ID;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;Any suggestions would be appreciated!&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2016 21:44:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Deviance-in-output-of-Poisson-regression-model-with-repeated/m-p/258648#M13682</guid>
      <dc:creator>mbcox</dc:creator>
      <dc:date>2016-03-23T21:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: Deviance in output of Poisson regression model with repeated subject statement</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Deviance-in-output-of-Poisson-regression-model-with-repeated/m-p/258965#M13694</link>
      <description>&lt;P&gt;When you add a repated statement, you are perform GEE, which involves a quasi-likeliood (not a true likelihood or true distribution). Thus, the deviance (which is based on a true likelihood) is not printed.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2016 20:41:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Deviance-in-output-of-Poisson-regression-model-with-repeated/m-p/258965#M13694</guid>
      <dc:creator>lvm</dc:creator>
      <dc:date>2016-03-24T20:41:04Z</dc:date>
    </item>
    <item>
      <title>Re: Deviance in output of Poisson regression model with repeated subject statement</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Deviance-in-output-of-Poisson-regression-model-with-repeated/m-p/259766#M13723</link>
      <description>&lt;P&gt;Thank you for your reply.&amp;nbsp; Do you know how I can run this type of model with the repeated subject statement and force SAS to output the deviance?&amp;nbsp; Or do you have a suggestion of another model that would be better for this situation?&amp;nbsp; Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2016 16:23:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Deviance-in-output-of-Poisson-regression-model-with-repeated/m-p/259766#M13723</guid>
      <dc:creator>mbcox</dc:creator>
      <dc:date>2016-03-29T16:23:12Z</dc:date>
    </item>
  </channel>
</rss>

