<?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: ERROR: Model hierarchy is violated with INCLUDE=1 in PROC LOGISTIC in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/ERROR-Model-hierarchy-is-violated-with-INCLUDE-1-in-PROC/m-p/141312#M7359</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In fact, the simple effects of the interaction term MUST be in the model, using the algorithms that SAS implements for model selection. See the HIERARCHY option for details, where HIERARCHY=SINGLE is given as the default. HIERARCHY=NONE ought to set things so that it would include the interaction but not the simple effects.&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>Fri, 20 Jun 2014 14:08:12 GMT</pubDate>
    <dc:creator>SteveDenham</dc:creator>
    <dc:date>2014-06-20T14:08:12Z</dc:date>
    <item>
      <title>ERROR: Model hierarchy is violated with INCLUDE=1 in PROC LOGISTIC</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/ERROR-Model-hierarchy-is-violated-with-INCLUDE-1-in-PROC/m-p/141309#M7356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can't find anything in SAS Documentation about this error.&amp;nbsp; What does it even mean?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the PROC LOGISTIC that gives the error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc logistic data=AnalyzeData desc;&lt;/P&gt;&lt;P&gt;&amp;nbsp; class Covar11 Covar12;&lt;/P&gt;&lt;P&gt;&amp;nbsp; model Outcome= Covar1*Covar2 ... Covar40&lt;/P&gt;&lt;P&gt;&amp;nbsp; / Selection=stepwise Include=1 SLStay=.2 SLEntry=.2 &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LackFit NoDummyPrint RSquare;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that the first argument is an interaction term.&amp;nbsp; Removing the interaction from the covariate list or switching the selection method to BACKWARD eliminates the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jun 2014 22:37:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/ERROR-Model-hierarchy-is-violated-with-INCLUDE-1-in-PROC/m-p/141309#M7356</guid>
      <dc:creator>Haris</dc:creator>
      <dc:date>2014-06-12T22:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Model hierarchy is violated with INCLUDE=1 in PROC LOGISTIC</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/ERROR-Model-hierarchy-is-violated-with-INCLUDE-1-in-PROC/m-p/141310#M7357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The INCLUDE option directs PROC LOGISTIC to keep the first variable listed in the MODEL Statement in every model it creates during execution of this task. Covar1 appears as a covariate with Covar2. Try putting like Covar1 Covar1*Covar2....may solve the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jun 2014 23:12:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/ERROR-Model-hierarchy-is-violated-with-INCLUDE-1-in-PROC/m-p/141310#M7357</guid>
      <dc:creator>stat_sas</dc:creator>
      <dc:date>2014-06-12T23:12:08Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Model hierarchy is violated with INCLUDE=1 in PROC LOGISTIC</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/ERROR-Model-hierarchy-is-violated-with-INCLUDE-1-in-PROC/m-p/141311#M7358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to force the interaction, not Covar1.&amp;nbsp; BTW, replacing the string '&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Covar1*Covar2' &lt;/SPAN&gt;with '&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Covar1|Covar2' also eliminates the error.&amp;nbsp; Even though the INCLUDE=1 statements specifies only 1 variable, all three components of the &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Covar1|Covar2&lt;/SPAN&gt; get forced into the model.&amp;nbsp; This happens to be what I want in this particular case, but what if I only wanted to force the multiplicative term?&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;I still don't understand what Hierarchy is violated.&amp;nbsp; Do the simple effects of the interaction term have to be in the model for it to run?&amp;nbsp; I can see how that makes sense statistically but not from the strict programming point of view.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 18:48:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/ERROR-Model-hierarchy-is-violated-with-INCLUDE-1-in-PROC/m-p/141311#M7358</guid>
      <dc:creator>Haris</dc:creator>
      <dc:date>2014-06-19T18:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Model hierarchy is violated with INCLUDE=1 in PROC LOGISTIC</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/ERROR-Model-hierarchy-is-violated-with-INCLUDE-1-in-PROC/m-p/141312#M7359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In fact, the simple effects of the interaction term MUST be in the model, using the algorithms that SAS implements for model selection. See the HIERARCHY option for details, where HIERARCHY=SINGLE is given as the default. HIERARCHY=NONE ought to set things so that it would include the interaction but not the simple effects.&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>Fri, 20 Jun 2014 14:08:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/ERROR-Model-hierarchy-is-violated-with-INCLUDE-1-in-PROC/m-p/141312#M7359</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2014-06-20T14:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Model hierarchy is violated with INCLUDE=1 in PROC LOGISTIC</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/ERROR-Model-hierarchy-is-violated-with-INCLUDE-1-in-PROC/m-p/141313#M7360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!&amp;nbsp; It would be helpful if SAS included the reference to the HIERARCHY option in the error message.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2014 14:22:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/ERROR-Model-hierarchy-is-violated-with-INCLUDE-1-in-PROC/m-p/141313#M7360</guid>
      <dc:creator>Haris</dc:creator>
      <dc:date>2014-06-20T14:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Model hierarchy is violated with INCLUDE=1 in PROC LOGISTIC</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/ERROR-Model-hierarchy-is-violated-with-INCLUDE-1-in-PROC/m-p/141314#M7361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, if they did that consistently across procedures, I guess half of the traffic in this forum would disappear :smileymischief:&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>Fri, 20 Jun 2014 14:25:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/ERROR-Model-hierarchy-is-violated-with-INCLUDE-1-in-PROC/m-p/141314#M7361</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2014-06-20T14:25:28Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Model hierarchy is violated with INCLUDE=1 in PROC LOGISTIC</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/ERROR-Model-hierarchy-is-violated-with-INCLUDE-1-in-PROC/m-p/141315#M7362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're right, Steve.&amp;nbsp; What would we do then?&amp;nbsp; Actual work!?!?!:smileyshocked:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2014 14:28:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/ERROR-Model-hierarchy-is-violated-with-INCLUDE-1-in-PROC/m-p/141315#M7362</guid>
      <dc:creator>Haris</dc:creator>
      <dc:date>2014-06-20T14:28:55Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Model hierarchy is violated with INCLUDE=1 in PROC LOGISTIC</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/ERROR-Model-hierarchy-is-violated-with-INCLUDE-1-in-PROC/m-p/141316#M7363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is what I do while PROC GLIMMIX is running&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And running&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And running&lt;/P&gt;&lt;P&gt;&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>Fri, 20 Jun 2014 14:32:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/ERROR-Model-hierarchy-is-violated-with-INCLUDE-1-in-PROC/m-p/141316#M7363</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2014-06-20T14:32:08Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Model hierarchy is violated with INCLUDE=1 in PROC LOGISTIC</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/ERROR-Model-hierarchy-is-violated-with-INCLUDE-1-in-PROC/m-p/141317#M7364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I recommend that you switch to PROC NLMIXED.&amp;nbsp; You'll have a lot more time for this &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2014 14:34:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/ERROR-Model-hierarchy-is-violated-with-INCLUDE-1-in-PROC/m-p/141317#M7364</guid>
      <dc:creator>Haris</dc:creator>
      <dc:date>2014-06-20T14:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Model hierarchy is violated with INCLUDE=1 in PROC LOGISTIC</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/ERROR-Model-hierarchy-is-violated-with-INCLUDE-1-in-PROC/m-p/141318#M7365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tried.&amp;nbsp; I usually spend a lot more time writing code with NLMIXED, so I can't just set something up and let it cook for a couple of hours.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was afraid you were going to point me at MCMC... (or even scarier point MCMC at me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oh yeah, one other thing.&amp;nbsp; Stopping Stepwise by Flom and Cassell.&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>Fri, 20 Jun 2014 14:38:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/ERROR-Model-hierarchy-is-violated-with-INCLUDE-1-in-PROC/m-p/141318#M7365</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2014-06-20T14:38:49Z</dc:date>
    </item>
  </channel>
</rss>

