<?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: Zero Inflated Poisson using Proc Genmod in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Zero-Inflated-Poisson-using-Proc-Genmod/m-p/49261#M2189</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your responses Steve and Dave.&amp;nbsp; Both were very helpful!!&amp;nbsp; I was able to pull together the full model for nlmixed ZIP regression with a random effect and much research. &lt;/P&gt;&lt;P&gt;It can be done!! &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Jun 2012 17:40:06 GMT</pubDate>
    <dc:creator>Jason</dc:creator>
    <dc:date>2012-06-18T17:40:06Z</dc:date>
    <item>
      <title>Zero Inflated Poisson using Proc Genmod</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Zero-Inflated-Poisson-using-Proc-Genmod/m-p/49258#M2186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp; I have a question regarding an outcomes analysis we are conducting on an HIV intervention project.&amp;nbsp; Using Genmod and trying to see if there is a difference at sixmonth follow-up (totwocnds) by group assigned (group) controlling for pretest value (totwocnd), age (yrs), duration to follow-up (fu3), and number of intervention sessions they attended (sessioncount).&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The distribution appears skewed towards zero, and therfore we decided to use a zero inflated poisson (ZIP) distribution for the outcomes count variable (totwocnds).&amp;nbsp; Everything seems to work well in the model.&amp;nbsp; However additionally we are required to control for possible clustering effects of the subjects within their cohorts.&amp;nbsp; I attempted to use the repeated statement, however I receive the following error that it can not be used with a ZIP distribution:&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;ERROR: Zero-inflated distributions are not available for models fit with GEEs.&lt;/P&gt;&lt;SPAN style="color: #000080; font-size: 10pt; background-color: white; font-family: 'Courier New';"&gt;title 'Maales outcomes -- ITT Analysis - Full set those enrolled';&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is the code I used:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 10pt; background-color: white; font-family: 'Courier New';"&gt;proc&lt;/STRONG&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; font-size: 10pt;"&gt; &lt;STRONG&gt;genmod&lt;/STRONG&gt; data=maales.itt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; class subject group (ref='1') cohort/ param=ref;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; model totwocnds= group totwocnd yrs fu3 sessioncount / dist = zip link = log;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; zeromodel malep90s tgp_90s fmalp90s /link = logit;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *repeated subject = subject(cohort);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; estimate 'group log(RR)' group &lt;STRONG&gt;1&lt;/STRONG&gt;/ exp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;run&lt;/STRONG&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;SPAN style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Is there a way around this?&amp;nbsp; I tried using Proc Glimmix as well that has a random effect statement to control for clustering of subjects within cohort, however this procedure does not have an option for the ZIP distribution. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&amp;nbsp; &lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008080; font-size: 10pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Courier New; color: #000080; font-size: 10pt;"&gt;&lt;SPAN style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008080; font-size: 10pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2012 21:48:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Zero-Inflated-Poisson-using-Proc-Genmod/m-p/49258#M2186</guid>
      <dc:creator>Jason</dc:creator>
      <dc:date>2012-02-08T21:48:28Z</dc:date>
    </item>
    <item>
      <title>Zero Inflated Poisson using Proc Genmod</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Zero-Inflated-Poisson-using-Proc-Genmod/m-p/49259#M2187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I don't have a good answer, but I know who does and how to find their answers: Head over to the archives for the SAS listserv at&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.listserv.uga.edu/cgi-bin/wa?S1=sas-l"&gt;http://www.listserv.uga.edu/cgi-bin/wa?S1=sas-l&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and search on ZIP and NLMIXED.&amp;nbsp; You should find a ton of entries, many of which address your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2012 12:58:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Zero-Inflated-Poisson-using-Proc-Genmod/m-p/49259#M2187</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2012-02-09T12:58:43Z</dc:date>
    </item>
    <item>
      <title>Zero Inflated Poisson using Proc Genmod</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Zero-Inflated-Poisson-using-Proc-Genmod/m-p/49260#M2188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You would need to do this in PROC NLMIXED by specifying the log likelihood for the ZIP model and then including a RANDOM statement to deal with your clustering.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2012 15:31:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Zero-Inflated-Poisson-using-Proc-Genmod/m-p/49260#M2188</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2012-02-09T15:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: Zero Inflated Poisson using Proc Genmod</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Zero-Inflated-Poisson-using-Proc-Genmod/m-p/49261#M2189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your responses Steve and Dave.&amp;nbsp; Both were very helpful!!&amp;nbsp; I was able to pull together the full model for nlmixed ZIP regression with a random effect and much research. &lt;/P&gt;&lt;P&gt;It can be done!! &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2012 17:40:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Zero-Inflated-Poisson-using-Proc-Genmod/m-p/49261#M2189</guid>
      <dc:creator>Jason</dc:creator>
      <dc:date>2012-06-18T17:40:06Z</dc:date>
    </item>
  </channel>
</rss>

