<?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: How to fix Multinomial error in the output? in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-fix-Multinomial-error-in-the-output/m-p/399728#M20825</link>
    <description>&lt;P&gt;The classification variables X2-X12 do not appear in the model because you have not listed them on the MODEL statement. It sounds like you want:&lt;/P&gt;
&lt;P&gt;MODEL Y = X1-X12 / link=genlogit;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As to the Y variable,&amp;nbsp;each nonreference value of that variable get a separate set of parameter estimates. In the parameter estimates table you will see an intercept for Y=1, Y=2, etc. Similarly, a coefficient for X1 for Y=1, Y=2, etc.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Look at the output for this example and notice the second column&amp;nbsp;displays the&amp;nbsp;levels of Y to which the estimates are associated:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data Have;
call streaminit(123);
do i = 1 to 100;
   x1 = rand("Normal");
	y = rand("table", 0.3, 0.4, 0.2, 0.1);
	output;
end;
run;

proc logistic data=Have;
class Y (ref="3") /param=ref;
model Y = X1 / link =genlogit;
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 29 Sep 2017 09:40:15 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2017-09-29T09:40:15Z</dc:date>
    <item>
      <title>How to fix Multinomial error in the output?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-fix-Multinomial-error-in-the-output/m-p/399702#M20824</link>
      <description>&lt;P&gt;I have a problem. I made a multinomial logistic regression analysis using SAS (I'm new to this). A have a code like this:&lt;/P&gt;&lt;PRE&gt;proc print data=lasso;
run;

proc logistic data=lasso;
class Y (ref="3") X2(ref="1") X3(ref="3") X4(ref="4") X5(ref="3") X6(ref="3") X7(ref ="3") X8(ref ="3") X9(ref="3") X10(ref="2") X11(ref ="4") X12(ref ="3")/param=ref;
model Y = X1 / link =genlogit;
run;&lt;/PRE&gt;&lt;P&gt;In the output. My categorical predictor won't come out. Only X1 which is non categorical, that came out. What's wrong with this?&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2017 06:10:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-fix-Multinomial-error-in-the-output/m-p/399702#M20824</guid>
      <dc:creator>hafidwr</dc:creator>
      <dc:date>2017-09-29T06:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to fix Multinomial error in the output?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-fix-Multinomial-error-in-the-output/m-p/399728#M20825</link>
      <description>&lt;P&gt;The classification variables X2-X12 do not appear in the model because you have not listed them on the MODEL statement. It sounds like you want:&lt;/P&gt;
&lt;P&gt;MODEL Y = X1-X12 / link=genlogit;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As to the Y variable,&amp;nbsp;each nonreference value of that variable get a separate set of parameter estimates. In the parameter estimates table you will see an intercept for Y=1, Y=2, etc. Similarly, a coefficient for X1 for Y=1, Y=2, etc.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Look at the output for this example and notice the second column&amp;nbsp;displays the&amp;nbsp;levels of Y to which the estimates are associated:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data Have;
call streaminit(123);
do i = 1 to 100;
   x1 = rand("Normal");
	y = rand("table", 0.3, 0.4, 0.2, 0.1);
	output;
end;
run;

proc logistic data=Have;
class Y (ref="3") /param=ref;
model Y = X1 / link =genlogit;
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 29 Sep 2017 09:40:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-fix-Multinomial-error-in-the-output/m-p/399728#M20825</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2017-09-29T09:40:15Z</dc:date>
    </item>
  </channel>
</rss>

