<?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 Using Classification Error Costs in Building Logistic Regression Models in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Using-Classification-Error-Costs-in-Building-Logistic-Regression/m-p/337307#M17790</link>
    <description>&lt;P&gt;When you use a Binary Logistic Regression Model to estimate the probability of an event you can then set a threshold value&lt;/P&gt;&lt;P&gt;for this probability so that if P &amp;gt; K then classify the case as Event = 1 otherwise classify the case as Event = 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are four possible decisions :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Classify the case as Event = 0 &amp;nbsp;when it is in fact Event = 0&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Classify the case as Event = 0 &amp;nbsp;when it is in fact Event =&amp;nbsp;1 &amp;nbsp; &amp;nbsp; TYPE 2&amp;nbsp;ERROR &amp;nbsp;[ Cost of False Negative Error = X ]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Classify the case as Event = 1 &amp;nbsp;when it is in fact Event = 0 &amp;nbsp; &amp;nbsp; TYPE 1&amp;nbsp;ERROR &amp;nbsp;[ Cost of False Positive &amp;nbsp; Error = Y ]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Classify the case as Event = 1 &amp;nbsp;when it is in fact Event =&amp;nbsp;1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Question:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If I can estimate the values of the Costs of making either a Type 1 Error or &amp;nbsp;a Type 2&amp;nbsp;Error before I start to build the Logistic Regression Model, how can I include this information in the Proc Logistic Code in order to optimise my model with respect to &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;the Error Costs.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Without this inclusion, the default is to assume that the costs are all the same, which in my project is clearly not the case.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I would appreciate it if you could provide guidance w.r.t. SAS Procedures, Documentation , SAS Code as well as Published Papers / Case Studies.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 02 Mar 2017 11:17:50 GMT</pubDate>
    <dc:creator>JonDickens1607</dc:creator>
    <dc:date>2017-03-02T11:17:50Z</dc:date>
    <item>
      <title>Using Classification Error Costs in Building Logistic Regression Models</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Using-Classification-Error-Costs-in-Building-Logistic-Regression/m-p/337307#M17790</link>
      <description>&lt;P&gt;When you use a Binary Logistic Regression Model to estimate the probability of an event you can then set a threshold value&lt;/P&gt;&lt;P&gt;for this probability so that if P &amp;gt; K then classify the case as Event = 1 otherwise classify the case as Event = 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are four possible decisions :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Classify the case as Event = 0 &amp;nbsp;when it is in fact Event = 0&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Classify the case as Event = 0 &amp;nbsp;when it is in fact Event =&amp;nbsp;1 &amp;nbsp; &amp;nbsp; TYPE 2&amp;nbsp;ERROR &amp;nbsp;[ Cost of False Negative Error = X ]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Classify the case as Event = 1 &amp;nbsp;when it is in fact Event = 0 &amp;nbsp; &amp;nbsp; TYPE 1&amp;nbsp;ERROR &amp;nbsp;[ Cost of False Positive &amp;nbsp; Error = Y ]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Classify the case as Event = 1 &amp;nbsp;when it is in fact Event =&amp;nbsp;1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Question:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If I can estimate the values of the Costs of making either a Type 1 Error or &amp;nbsp;a Type 2&amp;nbsp;Error before I start to build the Logistic Regression Model, how can I include this information in the Proc Logistic Code in order to optimise my model with respect to &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;the Error Costs.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Without this inclusion, the default is to assume that the costs are all the same, which in my project is clearly not the case.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I would appreciate it if you could provide guidance w.r.t. SAS Procedures, Documentation , SAS Code as well as Published Papers / Case Studies.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2017 11:17:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Using-Classification-Error-Costs-in-Building-Logistic-Regression/m-p/337307#M17790</guid>
      <dc:creator>JonDickens1607</dc:creator>
      <dc:date>2017-03-02T11:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: Using Classification Error Costs in Building Logistic Regression Models</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Using-Classification-Error-Costs-in-Building-Logistic-Regression/m-p/337704#M17812</link>
      <description>&lt;P&gt;It looks like you want do some Bayes analysis.&lt;/P&gt;
&lt;P&gt;Check PEVENT= option of MODEL in PROC LOGISTIC.&lt;/P&gt;
&lt;P&gt;or you could check PROC MCMC .&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2017 04:19:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Using-Classification-Error-Costs-in-Building-Logistic-Regression/m-p/337704#M17812</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2017-03-03T04:19:39Z</dc:date>
    </item>
  </channel>
</rss>

