<?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: Computations are terminated because the number of response levels, 264, exceeds MAXRESPON in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/ERROR-Computations-are-terminated-because-the-number-of-response/m-p/723041#M35050</link>
    <description>&lt;P&gt;The most common use of logistic regression is to predict a binary variable. Thus (often) your Y variable would have only two values 0 and 1.&lt;/P&gt;
&lt;P&gt;The error is saying that your Y variable has more than 100 levels. Probably you are either&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Using the wrong variable as the response. Is there a different variable that is binary?&lt;/P&gt;
&lt;P&gt;2/ Using the wrong procedure. If Y is a continuous variable (rather than binary), then you should use PROC GLM or some other variable that models continuous responses.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 03 Mar 2021 00:17:59 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2021-03-03T00:17:59Z</dc:date>
    <item>
      <title>ERROR: Computations are terminated because the number of response levels, 264, exceeds MAXRESPONSELE</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/ERROR-Computations-are-terminated-because-the-number-of-response/m-p/723038#M35049</link>
      <description>&lt;PRE&gt;proc logistic data=work.combine0002;
CLASS IstherespondenttheHHhea/ param=reference;
MODEL y =IstherespondenttheHHhea foodpast4wks_07_1a foodpast4wks_07_0a
foodpast4wks_07_3a /lackfit;
 run;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;ERROR: Computations are terminated because the number of response levels, 264, exceeds MAXRESPONSELEVELS=100.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;this is the error I am getting after running this code. I don't know what to do. Please help&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Mar 2021 00:07:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/ERROR-Computations-are-terminated-because-the-number-of-response/m-p/723038#M35049</guid>
      <dc:creator>Achieng</dc:creator>
      <dc:date>2021-03-03T00:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Computations are terminated because the number of response levels, 264, exceeds MAXRESPON</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/ERROR-Computations-are-terminated-because-the-number-of-response/m-p/723041#M35050</link>
      <description>&lt;P&gt;The most common use of logistic regression is to predict a binary variable. Thus (often) your Y variable would have only two values 0 and 1.&lt;/P&gt;
&lt;P&gt;The error is saying that your Y variable has more than 100 levels. Probably you are either&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Using the wrong variable as the response. Is there a different variable that is binary?&lt;/P&gt;
&lt;P&gt;2/ Using the wrong procedure. If Y is a continuous variable (rather than binary), then you should use PROC GLM or some other variable that models continuous responses.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Mar 2021 00:17:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/ERROR-Computations-are-terminated-because-the-number-of-response/m-p/723041#M35050</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2021-03-03T00:17:59Z</dc:date>
    </item>
  </channel>
</rss>

