<?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 Main Effects for Zero-Inflated Models in Proc GENMOD in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Main-Effects-for-Zero-Inflated-Models-in-Proc-GENMOD/m-p/471177#M24538</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a variety of related variables,&amp;nbsp;the minority&amp;nbsp;of which warrant analysis with a zero-inflated model. To facilitate presentation of test statistics and P-values, it would be nice if I could present results from the omnibus model and/or the main effects and their interaction for all variables. I'm posting this thread to see if that is possible with zero-inflated models. For this study, I measured vegetation on 3&amp;nbsp;locations over 2 months. Samples are independent across months and there are&amp;nbsp;no&amp;nbsp;repeated measures.&amp;nbsp;I'm using the following code for this analysis:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt; &lt;STRONG&gt;genmod&lt;/STRONG&gt; data=all;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; class Location Month;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; model AboveAvg = Location Month Location*Month/ dist=zinb;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; zeromodel Location;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I include the class statement, test statistics and p-values correspond to pairwise comparisons with the variable level listed last in the dataset (top output, not complete but illustrates the point). When I omit the class statement,&amp;nbsp;&lt;SPAN&gt;test statistics and p-values correspond to the variables and their interaction (bottom output), but all have 1 degree of freedom so I'm not sure if this is actually a measure of the main effects of Location and Month. Is it possible to test main effects or&amp;nbsp;the&amp;nbsp;omnibus&amp;nbsp;model for zero-inflated models? Thank you for any help you can provide.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 18 Jun 2018 20:38:46 GMT</pubDate>
    <dc:creator>ROC1</dc:creator>
    <dc:date>2018-06-18T20:38:46Z</dc:date>
    <item>
      <title>Main Effects for Zero-Inflated Models in Proc GENMOD</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Main-Effects-for-Zero-Inflated-Models-in-Proc-GENMOD/m-p/471177#M24538</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a variety of related variables,&amp;nbsp;the minority&amp;nbsp;of which warrant analysis with a zero-inflated model. To facilitate presentation of test statistics and P-values, it would be nice if I could present results from the omnibus model and/or the main effects and their interaction for all variables. I'm posting this thread to see if that is possible with zero-inflated models. For this study, I measured vegetation on 3&amp;nbsp;locations over 2 months. Samples are independent across months and there are&amp;nbsp;no&amp;nbsp;repeated measures.&amp;nbsp;I'm using the following code for this analysis:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt; &lt;STRONG&gt;genmod&lt;/STRONG&gt; data=all;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; class Location Month;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; model AboveAvg = Location Month Location*Month/ dist=zinb;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; zeromodel Location;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I include the class statement, test statistics and p-values correspond to pairwise comparisons with the variable level listed last in the dataset (top output, not complete but illustrates the point). When I omit the class statement,&amp;nbsp;&lt;SPAN&gt;test statistics and p-values correspond to the variables and their interaction (bottom output), but all have 1 degree of freedom so I'm not sure if this is actually a measure of the main effects of Location and Month. Is it possible to test main effects or&amp;nbsp;the&amp;nbsp;omnibus&amp;nbsp;model for zero-inflated models? Thank you for any help you can provide.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jun 2018 20:38:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Main-Effects-for-Zero-Inflated-Models-in-Proc-GENMOD/m-p/471177#M24538</guid>
      <dc:creator>ROC1</dc:creator>
      <dc:date>2018-06-18T20:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: Main Effects for Zero-Inflated Models in Proc GENMOD</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Main-Effects-for-Zero-Inflated-Models-in-Proc-GENMOD/m-p/471303#M24550</link>
      <description>&lt;P&gt;I figured it out. The model line should read as:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;model AboveAvg = Location Month Location*Month/ dist=zinb type3;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jun 2018 04:45:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Main-Effects-for-Zero-Inflated-Models-in-Proc-GENMOD/m-p/471303#M24550</guid>
      <dc:creator>ROC1</dc:creator>
      <dc:date>2018-06-19T04:45:47Z</dc:date>
    </item>
  </channel>
</rss>

