<?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: Multinomial logistic regression in JMP in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Multinomial-logistic-regression-in-JMP/m-p/8677#M8668</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I think you can specify the reference level by using the Value Ordering column property for &lt;STRONG&gt;prog&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;For the &lt;STRONG&gt;ses&lt;/STRONG&gt; variable, JMP and SAS use different parameterizations, so to get JMP to match, you would need to create indicator columns yourself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the &lt;STRONG&gt;prog&lt;/STRONG&gt; Value Ordering property, make sure that the column is Nominal or Ordinal. Then make sure that the value '2' is listed last in the Value Ordering property (right click on the column heading, select Column Info, Column Properties, Value Ordering to add/edit the property).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the &lt;STRONG&gt;ses&lt;/STRONG&gt; indicator columns, create a column &lt;STRONG&gt;ses2&lt;/STRONG&gt; that equals 1 if &lt;STRONG&gt;ses&lt;/STRONG&gt;=2 and 0 otherwise. Create an analogous column &lt;STRONG&gt;ses3&lt;/STRONG&gt; set equal to 1 if &lt;STRONG&gt;ses&lt;/STRONG&gt;=3 and 0 otherwise. Then run Fit Model with Y=&lt;STRONG&gt;prog&lt;/STRONG&gt; and Effects &lt;STRONG&gt;ses2&lt;/STRONG&gt;, &lt;STRONG&gt;ses3&lt;/STRONG&gt;, and &lt;STRONG&gt;write&lt;/STRONG&gt;.&amp;nbsp; The resulting logistic regression should match what is on the IDRE-UCLA page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A colleague at JMP that helped me with this also pointed out that you can get SAS to match JMP's default results by using the &lt;STRONG&gt;param=effect&lt;/STRONG&gt; option in the&lt;STRONG&gt; class &lt;/STRONG&gt;statement in PROC LOGISTIC, like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;proc&lt;/STRONG&gt; &lt;STRONG style="color: navy; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;logistic&lt;/STRONG&gt; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;data&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; = hsbdemo;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;class&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; prog ses / &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;param&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;=effect;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;model&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; prog = ses write / &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;link&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; = glogit;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;run&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Aug 2014 20:04:33 GMT</pubDate>
    <dc:creator>michael_jmp</dc:creator>
    <dc:date>2014-08-18T20:04:33Z</dc:date>
    <item>
      <title>Multinomial logistic regression in JMP</title>
      <link>https://community.jmp.com/t5/Discussions/Multinomial-logistic-regression-in-JMP/m-p/8676#M8667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;I am trying to perform multinomial logistic regression in JMP.&amp;nbsp; I am using example from IDRE-UCLA (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.ats.ucla.edu/stat/sas/dae/mlogit.htm" rel="nofollow" target="_blank"&gt;http://www.ats.ucla.edu/stat/sas/dae/mlogit.htm&lt;/A&gt;&lt;SPAN&gt;).&amp;nbsp; In this this example (hsbdemo data set) how can I specify the baseline category for &lt;/SPAN&gt;&lt;STRONG&gt;prog&lt;/STRONG&gt; using (ref = "2") and the reference group for &lt;STRONG&gt;ses&lt;/STRONG&gt; using (ref = "1") while working in JMP?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2014 02:07:58 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Multinomial-logistic-regression-in-JMP/m-p/8676#M8667</guid>
      <dc:creator>abba0046</dc:creator>
      <dc:date>2014-06-09T02:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: Multinomial logistic regression in JMP</title>
      <link>https://community.jmp.com/t5/Discussions/Multinomial-logistic-regression-in-JMP/m-p/8677#M8668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I think you can specify the reference level by using the Value Ordering column property for &lt;STRONG&gt;prog&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;For the &lt;STRONG&gt;ses&lt;/STRONG&gt; variable, JMP and SAS use different parameterizations, so to get JMP to match, you would need to create indicator columns yourself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the &lt;STRONG&gt;prog&lt;/STRONG&gt; Value Ordering property, make sure that the column is Nominal or Ordinal. Then make sure that the value '2' is listed last in the Value Ordering property (right click on the column heading, select Column Info, Column Properties, Value Ordering to add/edit the property).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the &lt;STRONG&gt;ses&lt;/STRONG&gt; indicator columns, create a column &lt;STRONG&gt;ses2&lt;/STRONG&gt; that equals 1 if &lt;STRONG&gt;ses&lt;/STRONG&gt;=2 and 0 otherwise. Create an analogous column &lt;STRONG&gt;ses3&lt;/STRONG&gt; set equal to 1 if &lt;STRONG&gt;ses&lt;/STRONG&gt;=3 and 0 otherwise. Then run Fit Model with Y=&lt;STRONG&gt;prog&lt;/STRONG&gt; and Effects &lt;STRONG&gt;ses2&lt;/STRONG&gt;, &lt;STRONG&gt;ses3&lt;/STRONG&gt;, and &lt;STRONG&gt;write&lt;/STRONG&gt;.&amp;nbsp; The resulting logistic regression should match what is on the IDRE-UCLA page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A colleague at JMP that helped me with this also pointed out that you can get SAS to match JMP's default results by using the &lt;STRONG&gt;param=effect&lt;/STRONG&gt; option in the&lt;STRONG&gt; class &lt;/STRONG&gt;statement in PROC LOGISTIC, like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;proc&lt;/STRONG&gt; &lt;STRONG style="color: navy; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;logistic&lt;/STRONG&gt; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;data&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; = hsbdemo;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;class&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; prog ses / &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;param&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;=effect;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;model&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; prog = ses write / &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;link&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; = glogit;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;run&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Aug 2014 20:04:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Multinomial-logistic-regression-in-JMP/m-p/8677#M8668</guid>
      <dc:creator>michael_jmp</dc:creator>
      <dc:date>2014-08-18T20:04:33Z</dc:date>
    </item>
  </channel>
</rss>

