<?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: Using proc logistic in SAS in SAS Data Science</title>
    <link>https://communities.sas.com/t5/SAS-Data-Science/Using-proc-logistic-in-SAS/m-p/265025#M3925</link>
    <description>&lt;P&gt;Thanks for your help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have for one variable different parameters in the model depending on the range of value of the variable. That is:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/2857i34D397627B0C8480/image-size/medium?v=mpbl-1&amp;amp;px=-1" border="0" alt="estimadores.png" title="estimadores.png" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My question is...can I force procc logistic to get only one parameter for variable??&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Other question:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What output coeficients are good to validate the model?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/2858i6AA1AC00BD3E0797/image-size/medium?v=mpbl-1&amp;amp;px=-1" border="0" alt="coefs.png" title="coefs.png" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Wed, 20 Apr 2016 08:11:19 GMT</pubDate>
    <dc:creator>juanvg1972</dc:creator>
    <dc:date>2016-04-20T08:11:19Z</dc:date>
    <item>
      <title>Using proc logistic in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Using-proc-logistic-in-SAS/m-p/264899#M3922</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using proc logistic in order to create a logistic regression to predict a var called res1 base in some variables called var1,var2...., var8 ( 8 vars)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc logistic data=test outmodel=modelo plots=ROC ;&lt;BR /&gt;class var1 var2 ............... var8;&lt;BR /&gt;model res1 = &amp;nbsp;var1 var2 ............... var8 /* selection=forward */;&lt;BR /&gt;quit;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to know which is the best way to notice which are the most important variables in my modelo, the vars that have more prediction capacity. &amp;nbsp;Prior to execute the proc logistic I do a "proc discrim" in order to get the most important vars, but I don't know if is the best way...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also I would like to know if there is anyway to gest the most important vars for the model, the most importance vars for proc logistics. For example in R y do importance(name_of_model)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any advice will be greatly apreciatted&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Apr 2016 20:42:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Using-proc-logistic-in-SAS/m-p/264899#M3922</guid>
      <dc:creator>juanvg1972</dc:creator>
      <dc:date>2016-04-19T20:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: Using proc logistic in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Using-proc-logistic-in-SAS/m-p/264969#M3923</link>
      <description>&lt;P&gt;1)You can check ODDS RATIO of each variable, the most of it has the most power .&lt;/P&gt;
&lt;P&gt;2)&lt;SPAN&gt;selection=stepwise , the first one enter the model should be the most important ? Just guess.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;E.X.&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc logistic data=sashelp.class;
model sex(ref='M')=age weight height/clodds=both;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN&gt;Seems AGE is the most import variable.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Apr 2016 01:31:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Using-proc-logistic-in-SAS/m-p/264969#M3923</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2016-04-20T01:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: Using proc logistic in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Using-proc-logistic-in-SAS/m-p/265025#M3925</link>
      <description>&lt;P&gt;Thanks for your help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have for one variable different parameters in the model depending on the range of value of the variable. That is:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/2857i34D397627B0C8480/image-size/medium?v=mpbl-1&amp;amp;px=-1" border="0" alt="estimadores.png" title="estimadores.png" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My question is...can I force procc logistic to get only one parameter for variable??&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Other question:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What output coeficients are good to validate the model?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/2858i6AA1AC00BD3E0797/image-size/medium?v=mpbl-1&amp;amp;px=-1" border="0" alt="coefs.png" title="coefs.png" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 20 Apr 2016 08:11:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Using-proc-logistic-in-SAS/m-p/265025#M3925</guid>
      <dc:creator>juanvg1972</dc:creator>
      <dc:date>2016-04-20T08:11:19Z</dc:date>
    </item>
    <item>
      <title>Re: Using proc logistic in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Using-proc-logistic-in-SAS/m-p/265028#M3926</link>
      <description>&lt;P&gt;"&lt;SPAN&gt;My question is...can I force procc logistic to get only one parameter for variable??"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Sorry. I can't understand what is your mean. If that variable was category variable, maybe you could check EFFECT statement.&lt;/P&gt;
&lt;P&gt;Something like. maybe you could try other combination.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc logistic data=sashelp.class;
class age;
effect new_age=collection(age);
model sex(ref='M')=new_age weight height/clodds=wald;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"&lt;SPAN&gt;What output coeficients are good to validate the model?"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;About C, as far as I know it is the area under ROC curve. which means it is bigger ,the model is better .&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Apr 2016 08:26:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Using-proc-logistic-in-SAS/m-p/265028#M3926</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2016-04-20T08:26:06Z</dc:date>
    </item>
    <item>
      <title>Re: Using proc logistic in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Using-proc-logistic-in-SAS/m-p/265602#M3933</link>
      <description>&lt;P&gt;In the below screen your C statistic is very high and ideally it should be more than 0.5 for the model to be fit.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also the concordarnce statistics is robust at 97+ which shows the probability of events where discordance is non event. so in your case you have a very high probability of events.&lt;/P&gt;
&lt;P&gt;To check which var are significant or insignificant check the parameter estimate of each independent var &amp;amp; its corresponding p value as well.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2016 08:41:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Using-proc-logistic-in-SAS/m-p/265602#M3933</guid>
      <dc:creator>Shivi82</dc:creator>
      <dc:date>2016-04-22T08:41:09Z</dc:date>
    </item>
    <item>
      <title>Re: Using proc logistic in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Using-proc-logistic-in-SAS/m-p/265605#M3936</link>
      <description>&lt;P&gt;Thanks very much...., very useful&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you know how to interpret this coeffs?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;AIC, SC , -2LogL&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2016 08:54:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Using-proc-logistic-in-SAS/m-p/265605#M3936</guid>
      <dc:creator>juanvg1972</dc:creator>
      <dc:date>2016-04-22T08:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: Using proc logistic in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Using-proc-logistic-in-SAS/m-p/265613#M3940</link>
      <description>That is model goodness-fit statistic. The lower imply the model is better.</description>
      <pubDate>Fri, 22 Apr 2016 09:21:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Using-proc-logistic-in-SAS/m-p/265613#M3940</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2016-04-22T09:21:25Z</dc:date>
    </item>
  </channel>
</rss>

