<?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 build the multiple logistic regrssion? in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-build-the-multiple-logistic-regrssion/m-p/261617#M13831</link>
    <description>Thank you! It works.</description>
    <pubDate>Wed, 06 Apr 2016 07:38:32 GMT</pubDate>
    <dc:creator>Ariel</dc:creator>
    <dc:date>2016-04-06T07:38:32Z</dc:date>
    <item>
      <title>How to build the multiple logistic regrssion?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-build-the-multiple-logistic-regrssion/m-p/260472#M13762</link>
      <description>&lt;P&gt;Hi, all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm a beginner of SAS. I meet a problem recently. My data is that some events happen on Good (G), Bad (B), Fair (F) dates. If events happen on G, then dependent variable (Y) is (G=1), when others equal 0.&amp;nbsp;&lt;SPAN&gt;If events happen on B, then dependent variable (Y) is (B=1), when others equal 0. I used the code as follows and generated&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt; two&lt;/STRONG&gt; &lt;/FONT&gt;regrssion results now. However, I need to combine them into &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;only one regression&lt;/STRONG&gt;&lt;/FONT&gt;, that is, y is (G=1, B=2). Could anyone give me some suggestions? Thank you very much!!!!!!!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc logistic descending data = logistic_data_dummy;
model Good(Event='1')= Size ROA EMI FSR FAM
Cement Semiconductor HM   Optoelectronic   othElectronic  Financial  Building  Textiles   Network   Trade /RSQ;
title "logistic_FAM";
output out= logistic_Good_FAM;
quit;
run;


proc logistic descending data = logistic_data_dummy;
model Bad(Event='1')= Size ROA EMI FSR FAM
Cement Semiconductor HM Optoelectronic othElectronic Financial Building Textiles Network Trade /RSQ;
title "logistic_FAM";
output out= logistic_Good_FAM;
quit;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2016 17:03:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-build-the-multiple-logistic-regrssion/m-p/260472#M13762</guid>
      <dc:creator>Ariel</dc:creator>
      <dc:date>2016-03-31T17:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to build the multiple logistic regrssion?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-build-the-multiple-logistic-regrssion/m-p/260594#M13772</link>
      <description>&lt;PRE&gt;
It is called General Logistic Regression.
SAS can built it by default, no need two individual proc logistic.

I will recode  the response variable as the following due to the order of response variable is very important.

Oh. I just saw your code. You need change your data structure, combine all these f Good (G), Bad (B), Fair (F)
into one variable _Y and recode it as:

 if _Y='Bad'  then Y=1;
 if _Y='Fair' then  Y=2;
 if _Y='Good' then Y=3;


Then build mode as :

model Y= Size ROA EMI FSR FAM
Cement Semiconductor HM   Optoelectronic   othElectronic  Financial  Building  Textiles   Network   Trade /selection=stepwise  RSQ;


&lt;/PRE&gt;</description>
      <pubDate>Fri, 01 Apr 2016 02:22:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-build-the-multiple-logistic-regrssion/m-p/260594#M13772</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2016-04-01T02:22:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to build the multiple logistic regrssion?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-build-the-multiple-logistic-regrssion/m-p/260606#M13773</link>
      <description>&lt;P&gt;The documentation for proc logistic has examples for both ordinal and generalized/nominal logistic regression.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Read over both and decide what will work for you. The main difference is in interpretation not the code.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PS I hope you have a lot of observations, that's a lot of variables to include.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Apr 2016 04:43:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-build-the-multiple-logistic-regrssion/m-p/260606#M13773</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-04-01T04:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to build the multiple logistic regrssion?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-build-the-multiple-logistic-regrssion/m-p/261617#M13831</link>
      <description>Thank you! It works.</description>
      <pubDate>Wed, 06 Apr 2016 07:38:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-build-the-multiple-logistic-regrssion/m-p/261617#M13831</guid>
      <dc:creator>Ariel</dc:creator>
      <dc:date>2016-04-06T07:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to build the multiple logistic regrssion?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-build-the-multiple-logistic-regrssion/m-p/261619#M13832</link>
      <description>Thank you! I will try.</description>
      <pubDate>Wed, 06 Apr 2016 07:39:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-build-the-multiple-logistic-regrssion/m-p/261619#M13832</guid>
      <dc:creator>Ariel</dc:creator>
      <dc:date>2016-04-06T07:39:18Z</dc:date>
    </item>
  </channel>
</rss>

