<?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 Proc logistic for three levels of outcomes? in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-logistic-for-three-levels-of-outcomes/m-p/325033#M17164</link>
    <description>&lt;P&gt;Hello:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the following modeling would like to use proc logistic to analyze. &amp;nbsp;&lt;SPAN&gt;I don't have SAS in installed in my computer, my data set is mega-dataset. &amp;nbsp;&lt;/SPAN&gt;I am not sure whether the code I write is correct? &amp;nbsp;Please correct me if I am wrong. &amp;nbsp;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;Three categorical response variables: Y1 (normal), &amp;nbsp;Y2 ( medium), Y3 (Severe)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Explanatory variables: &amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;variable X1 (categorical): &amp;nbsp;yes or no&lt;/DIV&gt;&lt;DIV&gt;variable X2 (categorical): &amp;nbsp;yes or no&lt;/DIV&gt;&lt;DIV&gt;variable X3 (categorical): &amp;nbsp;little, medium, most and all.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;proc logistic data=test descending;&lt;/DIV&gt;&lt;DIV&gt;class X1 (ref="no") X2 (ref="no") X3 (ref="little") / param=ref;&lt;/DIV&gt;&lt;DIV&gt;model Y = X1 X2 X3;&lt;/DIV&gt;&lt;DIV&gt;format X1 yesno. X2 yesno. X3 degree. ;&lt;/DIV&gt;&lt;DIV&gt;title3 "Ordinal outcome (cumulative logit)";&lt;/DIV&gt;&lt;DIV&gt;run;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
    <pubDate>Mon, 16 Jan 2017 14:16:56 GMT</pubDate>
    <dc:creator>ybz12003</dc:creator>
    <dc:date>2017-01-16T14:16:56Z</dc:date>
    <item>
      <title>Proc logistic for three levels of outcomes?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-logistic-for-three-levels-of-outcomes/m-p/325033#M17164</link>
      <description>&lt;P&gt;Hello:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the following modeling would like to use proc logistic to analyze. &amp;nbsp;&lt;SPAN&gt;I don't have SAS in installed in my computer, my data set is mega-dataset. &amp;nbsp;&lt;/SPAN&gt;I am not sure whether the code I write is correct? &amp;nbsp;Please correct me if I am wrong. &amp;nbsp;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;Three categorical response variables: Y1 (normal), &amp;nbsp;Y2 ( medium), Y3 (Severe)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Explanatory variables: &amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;variable X1 (categorical): &amp;nbsp;yes or no&lt;/DIV&gt;&lt;DIV&gt;variable X2 (categorical): &amp;nbsp;yes or no&lt;/DIV&gt;&lt;DIV&gt;variable X3 (categorical): &amp;nbsp;little, medium, most and all.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;proc logistic data=test descending;&lt;/DIV&gt;&lt;DIV&gt;class X1 (ref="no") X2 (ref="no") X3 (ref="little") / param=ref;&lt;/DIV&gt;&lt;DIV&gt;model Y = X1 X2 X3;&lt;/DIV&gt;&lt;DIV&gt;format X1 yesno. X2 yesno. X3 degree. ;&lt;/DIV&gt;&lt;DIV&gt;title3 "Ordinal outcome (cumulative logit)";&lt;/DIV&gt;&lt;DIV&gt;run;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Mon, 16 Jan 2017 14:16:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-logistic-for-three-levels-of-outcomes/m-p/325033#M17164</guid>
      <dc:creator>ybz12003</dc:creator>
      <dc:date>2017-01-16T14:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: Proc logistic for three levels of outcomes?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-logistic-for-three-levels-of-outcomes/m-p/325180#M17179</link>
      <description>&lt;DIV&gt;What you had was fine. I assume that Y which your dependent variable has three levels (normal, medium and severe). In that case, Y should be listed in the class statement&amp;nbsp; too.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;PROC LOGISTIC DATA = test DESCENDING;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;CLASS&amp;nbsp;X1 (ref="no") X2 (ref="no") X3 (ref="little") &lt;FONT color="#ff00ff"&gt;Y (ref = "normal")&lt;/FONT&gt;/ param=ref;&lt;/DIV&gt;&lt;DIV&gt;model Y = X1 X2 X3;&lt;/DIV&gt;&lt;DIV&gt;format X1 yesno. X2 yesno. X3 degree. ;&lt;/DIV&gt;&lt;DIV&gt;title3 "Ordinal outcome (cumulative logit)";&lt;/DIV&gt;&lt;DIV&gt;run;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;# Modify &lt;FONT color="#ff00ff"&gt;Y (ref = "normal") to Y (ref = "medium")/&amp;nbsp;&lt;/FONT&gt;if you want to change your reference group&lt;/DIV&gt;&lt;DIV&gt;Hope it helps!&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 17 Jan 2017 05:39:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-logistic-for-three-levels-of-outcomes/m-p/325180#M17179</guid>
      <dc:creator>clim072</dc:creator>
      <dc:date>2017-01-17T05:39:39Z</dc:date>
    </item>
  </channel>
</rss>

