<?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: alprocsurvey logistic (multinomial regression) in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/alprocsurvey-logistic-multinomial-regression/m-p/702312#M33917</link>
    <description />
    <pubDate>Sun, 29 Nov 2020 16:30:25 GMT</pubDate>
    <dc:creator>amng</dc:creator>
    <dc:date>2020-11-29T16:30:25Z</dc:date>
    <item>
      <title>alprocsurvey logistic (multinomial regression)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/alprocsurvey-logistic-multinomial-regression/m-p/702220#M33908</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;For a class project I am modeling the impact of a binary health literacy variable (getadvice2) on the likelihood of completing up to 5 self-management behaviors for diabetic patients (manage5). I originally tried to run an ordinal logistic regression, but following the violation of the proportional odds assumption I instead modeled a multinomial regression. However, the odds ratios under "point estimate" are not showing up properly. I wanted to ask whether this is some kind of SAS Error? There is nothing out of the ordinary in the log.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROC LOGISTIC DATA=diabetes;&lt;BR /&gt;class getadvice2(ref=first) manage5(ref="0") / param=ref;&lt;BR /&gt;MODEL manage5(Desc) = getadvice2 / link=glogit;&lt;BR /&gt;title "Model 1";&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="amng_0-1606600475086.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/52072i7946A82171200984/image-size/medium?v=v2&amp;amp;px=400" role="button" title="amng_0-1606600475086.png" alt="amng_0-1606600475086.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 28 Nov 2020 21:54:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/alprocsurvey-logistic-multinomial-regression/m-p/702220#M33908</guid>
      <dc:creator>amng</dc:creator>
      <dc:date>2020-11-28T21:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: alprocsurvey logistic (multinomial regression)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/alprocsurvey-logistic-multinomial-regression/m-p/702222#M33910</link>
      <description>&lt;P&gt;When a SAS user says that there is an error in SAS, I generally believe SAS, and that the error is the user's fault, not SAS's fault.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But unless you can share your data with us, there's no way we can resolve this.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Does this help? &lt;A href="https://support.sas.com/kb/22/954.html" target="_blank" rel="noopener"&gt;https://support.sas.com/kb/22/954.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I also think you should not use your response variable MANAGE5 in the CLASS statement, but I don't know if that makes any difference here.&lt;/P&gt;</description>
      <pubDate>Sat, 28 Nov 2020 22:27:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/alprocsurvey-logistic-multinomial-regression/m-p/702222#M33910</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-11-28T22:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: alprocsurvey logistic (multinomial regression)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/alprocsurvey-logistic-multinomial-regression/m-p/702310#M33915</link>
      <description>&lt;P&gt;Hi thanks. I wasn't trying to suggest there was an error in SAS itself - just trying to understand why it was giving me these results. The data is attached here.&lt;/P&gt;</description>
      <pubDate>Sun, 29 Nov 2020 16:28:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/alprocsurvey-logistic-multinomial-regression/m-p/702310#M33915</guid>
      <dc:creator>amng</dc:creator>
      <dc:date>2020-11-29T16:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: alprocsurvey logistic (multinomial regression)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/alprocsurvey-logistic-multinomial-regression/m-p/702311#M33916</link>
      <description>Sorry - the dataset is too large to be posted. What is the best way to upload it in that case?</description>
      <pubDate>Sun, 29 Nov 2020 16:28:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/alprocsurvey-logistic-multinomial-regression/m-p/702311#M33916</guid>
      <dc:creator>amng</dc:creator>
      <dc:date>2020-11-29T16:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: alprocsurvey logistic (multinomial regression)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/alprocsurvey-logistic-multinomial-regression/m-p/702312#M33917</link>
      <description />
      <pubDate>Sun, 29 Nov 2020 16:30:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/alprocsurvey-logistic-multinomial-regression/m-p/702312#M33917</guid>
      <dc:creator>amng</dc:creator>
      <dc:date>2020-11-29T16:30:25Z</dc:date>
    </item>
    <item>
      <title>Re: alprocsurvey logistic (multinomial regression)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/alprocsurvey-logistic-multinomial-regression/m-p/702315#M33918</link>
      <description>&lt;P&gt;We need you to show us a portion of the data (not the whole thing) by providing the data in &lt;A href="https://blogs.sas.com/content/sastraining/2016/03/11/jedi-sas-tricks-data-to-data-step-macro/" target="_self"&gt;this format&lt;/A&gt; and not any other format.&lt;/P&gt;</description>
      <pubDate>Sun, 29 Nov 2020 16:54:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/alprocsurvey-logistic-multinomial-regression/m-p/702315#M33918</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-11-29T16:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: alprocsurvey logistic (multinomial regression)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/alprocsurvey-logistic-multinomial-regression/m-p/702331#M33919</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/298725"&gt;@amng&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;PROC LOGISTIC DATA=diabetes;&lt;BR /&gt;class getadvice2(ref=first) manage5(ref="0") / param=ref;&lt;BR /&gt;MODEL manage5(Desc) = getadvice2 / link=glogit;&lt;BR /&gt;title "Model 1";&lt;BR /&gt;RUN;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="amng_0-1606600475086.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/52072i7946A82171200984/image-size/medium?v=v2&amp;amp;px=400" role="button" title="amng_0-1606600475086.png" alt="amng_0-1606600475086.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/298725"&gt;@amng&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Look at a cross tabulation of &lt;FONT face="courier new,courier"&gt;getadvice2&lt;/FONT&gt; and &lt;FONT face="courier new,courier"&gt;manage5&lt;/FONT&gt; (PROC FREQ). If the cell &lt;FONT face="courier new,courier"&gt;getadvice2=0 &amp;amp; manage5=0&lt;/FONT&gt; is empty, the estimated &lt;EM&gt;odds&lt;/EM&gt; of &lt;FONT face="courier new,courier"&gt;manage5=5&lt;/FONT&gt; (and likewise &lt;FONT face="courier new,courier"&gt;4&lt;/FONT&gt;, &lt;FONT face="courier new,courier"&gt;3&lt;/FONT&gt;, &lt;FONT face="courier new,courier"&gt;2&lt;/FONT&gt;, &lt;FONT face="courier new,courier"&gt;1&lt;/FONT&gt;) vs. &lt;FONT face="courier new,courier"&gt;manage5=0&lt;/FONT&gt;, which you chose as the reference category, will have a zero in the denominator for &lt;FONT face="courier new,courier"&gt;getadvice2=0&lt;/FONT&gt;, leading to the "zero" odds &lt;EM&gt;ratio&lt;/EM&gt; estimates in your table. In this case, pick a different reference category for &lt;FONT face="courier new,courier"&gt;manage5&lt;/FONT&gt;, i.e., one with non-empty cells for both &lt;FONT face="courier new,courier"&gt;getadvice2&lt;/FONT&gt; categories, so that non-trivial odds ratio estimates (for &lt;FONT face="courier new,courier"&gt;manage5 ne 0&lt;/FONT&gt;) have a chance to occur.&lt;/P&gt;</description>
      <pubDate>Sun, 29 Nov 2020 18:34:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/alprocsurvey-logistic-multinomial-regression/m-p/702331#M33919</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2020-11-29T18:34:31Z</dc:date>
    </item>
  </channel>
</rss>

