<?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 set up cut-off value in PROC LOGISTIC in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-set-up-cut-off-value-in-PROC-LOGISTIC/m-p/316252#M16661</link>
    <description>&lt;P&gt;Thanks Ksharp,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As I have both training and validation set, I would be more interested in the confusion matrix for my validation data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you use proc logist data=taining; model y = x1 x2 x3 / CTABLE pprob=0.3; score data= validation; run;, then the confusion matrix from output would be probably for the training set instead of validation set. Am I right? So How can I create a confusion matrix for my validation data?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 02 Dec 2016 14:01:27 GMT</pubDate>
    <dc:creator>henryjing</dc:creator>
    <dc:date>2016-12-02T14:01:27Z</dc:date>
    <item>
      <title>How to set up cut-off value in PROC LOGISTIC</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-set-up-cut-off-value-in-PROC-LOGISTIC/m-p/316131#M16657</link>
      <description>&lt;P&gt;When I use proc logistic with SCORE&amp;nbsp;statement,&lt;/P&gt;&lt;P&gt;I wonder if there is a way of setting the cut-off value to help decision?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also saw a PRIOREVENT statement in the proc logistic,&lt;/P&gt;&lt;P&gt;I wonder what doese this statement mean?&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2016 03:14:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-set-up-cut-off-value-in-PROC-LOGISTIC/m-p/316131#M16657</guid>
      <dc:creator>henryjing</dc:creator>
      <dc:date>2016-12-02T03:14:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to set up cut-off value in PROC LOGISTIC</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-set-up-cut-off-value-in-PROC-LOGISTIC/m-p/316207#M16660</link>
      <description>&lt;PRE&gt;

proc logistic data=sashelp.class;
model sex=weight height age/ ctable;
run;
&lt;/PRE&gt;</description>
      <pubDate>Fri, 02 Dec 2016 11:09:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-set-up-cut-off-value-in-PROC-LOGISTIC/m-p/316207#M16660</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2016-12-02T11:09:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to set up cut-off value in PROC LOGISTIC</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-set-up-cut-off-value-in-PROC-LOGISTIC/m-p/316252#M16661</link>
      <description>&lt;P&gt;Thanks Ksharp,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As I have both training and validation set, I would be more interested in the confusion matrix for my validation data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you use proc logist data=taining; model y = x1 x2 x3 / CTABLE pprob=0.3; score data= validation; run;, then the confusion matrix from output would be probably for the training set instead of validation set. Am I right? So How can I create a confusion matrix for my validation data?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2016 14:01:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-set-up-cut-off-value-in-PROC-LOGISTIC/m-p/316252#M16661</guid>
      <dc:creator>henryjing</dc:creator>
      <dc:date>2016-12-02T14:01:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to set up cut-off value in PROC LOGISTIC</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-set-up-cut-off-value-in-PROC-LOGISTIC/m-p/316254#M16662</link>
      <description>&lt;PRE&gt;
No. If you put validate table in score statement, you can generate Confuse Matrix.


data train valid;
 set sashelp.class;
 if _n_ le 12 then output train;
  else output valid;
run;

proc logistic data=train;
model sex=weight height age/ ctable;
score data=valid out=score;
run;

proc tabulate data=score;
class f_sex i_sex;
table f_sex,i_sex;
run;

&lt;/PRE&gt;</description>
      <pubDate>Fri, 02 Dec 2016 14:16:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-set-up-cut-off-value-in-PROC-LOGISTIC/m-p/316254#M16662</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2016-12-02T14:16:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to set up cut-off value in PROC LOGISTIC</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-set-up-cut-off-value-in-PROC-LOGISTIC/m-p/316257#M16663</link>
      <description>&lt;P&gt;It looks like there is a complete explanation and example for &lt;STRONG&gt;multinomial&lt;/STRONG&gt;&amp;nbsp;response in the SAS note&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/kb/22/603.html" target="_self"&gt;Usage Note 22603: Producing an actual-by-predicted table (confusion matrix) for a multinomial response&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Most of the syntax and ideas should translate to the case of a binary response, since binary is a special case of multinomial.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2016 14:27:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-set-up-cut-off-value-in-PROC-LOGISTIC/m-p/316257#M16663</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-12-02T14:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to set up cut-off value in PROC LOGISTIC</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-set-up-cut-off-value-in-PROC-LOGISTIC/m-p/316270#M16664</link>
      <description>&lt;P&gt;Thanks KSharp,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I modified my input like the following:&lt;/P&gt;&lt;P&gt;proc logistic data=train des;&lt;BR /&gt;model default=&amp;amp;selected PLOTS / CTABLE pprob=0.5;&lt;BR /&gt;score data=valid&lt;BR /&gt;out=scoval&lt;BR /&gt;outroc=roc;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will have the following warning message:&lt;/P&gt;&lt;P&gt;WARNING: Some plots have more than 5000 observations and are suppressed. Specify the&lt;BR /&gt;PLOTS(MAXPOINTS=NONE) option in the PROC LOGISTIC statement to display the plots.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, this message will disappear if I remove the CTABLE STATMENT.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2016 15:10:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-set-up-cut-off-value-in-PROC-LOGISTIC/m-p/316270#M16664</guid>
      <dc:creator>henryjing</dc:creator>
      <dc:date>2016-12-02T15:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to set up cut-off value in PROC LOGISTIC</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-set-up-cut-off-value-in-PROC-LOGISTIC/m-p/316470#M16667</link>
      <description>&lt;PRE&gt;
You can use the following to suppress these warning info.


ods select none;
proc logistic.........

ods select all;

&lt;/PRE&gt;</description>
      <pubDate>Sat, 03 Dec 2016 08:35:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-set-up-cut-off-value-in-PROC-LOGISTIC/m-p/316470#M16667</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2016-12-03T08:35:17Z</dc:date>
    </item>
  </channel>
</rss>

