<?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: Why C statistic is different with and without plots=ROC in Proc Logistic in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Why-C-statistic-is-different-with-and-without-plots-ROC-in-Proc/m-p/124391#M6514</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found another post which asked the same question and had an answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to specify binwidth=o and roceps=0 for Model statement, if plots=ROC is not used. The result proves that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Aug 2013 19:37:05 GMT</pubDate>
    <dc:creator>richardxy</dc:creator>
    <dc:date>2013-08-28T19:37:05Z</dc:date>
    <item>
      <title>Why C statistic is different with and without plots=ROC in Proc Logistic</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Why-C-statistic-is-different-with-and-without-plots-ROC-in-Proc/m-p/124387#M6510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm relatively new to SAS　and the community, really appreciate the chance for getting help here. Thanks in advance for any help I may get.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am running Proc Logistic to build a logistic regression model, and just found that I got two drastically different c statistic value with or without having the option plots=ROC in the Proc Logistic statement. It seems very confusing to me and I have no idea about the reason. A intense Google search didn't find anything.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My code is like this&lt;/P&gt;&lt;P&gt;Proc Logistic data=mydata desc;&lt;/P&gt;&lt;P&gt;weight wgt;&lt;/P&gt;&lt;P&gt;model target=&amp;amp;vars;&lt;/P&gt;&lt;P&gt;ouput out=myout p=p;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The c statistic in the result is 0.552. Percent Concordant is 10.3, and Percent Tied is 89.6. Gamma is 0.996.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I turned plots=ROC on, and my code now looks like this.&lt;/P&gt;&lt;P&gt;Proc Logistic data=mydata desc plots=ROC;&lt;/P&gt;&lt;P&gt;weight wgt;&lt;/P&gt;&lt;P&gt;model target=&amp;amp;vars;&lt;/P&gt;&lt;P&gt;ouput out=myout p=p;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The c statistic becomes 0.929, Percent Concordant is 92.4, Percent Tied is 0.9, and Gamma is 0.865. They all are very different from the previous set of values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone can share your insight into this? Why adding plots=ROC changes the value of results?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Richard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Aug 2013 18:41:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Why-C-statistic-is-different-with-and-without-plots-ROC-in-Proc/m-p/124387#M6510</guid>
      <dc:creator>richardxy</dc:creator>
      <dc:date>2013-08-28T18:41:35Z</dc:date>
    </item>
    <item>
      <title>Re: Why C statistic is different with and without plots=ROC in Proc Logistic</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Why-C-statistic-is-different-with-and-without-plots-ROC-in-Proc/m-p/124388#M6511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It shouldn't but we can't see what &amp;amp;vars is.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it truly is different with the exact same data you should post the output from the runs as well, and contact tech support. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Aug 2013 18:57:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Why-C-statistic-is-different-with-and-without-plots-ROC-in-Proc/m-p/124388#M6511</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2013-08-28T18:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: Why C statistic is different with and without plots=ROC in Proc Logistic</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Why-C-statistic-is-different-with-and-without-plots-ROC-in-Proc/m-p/124389#M6512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Reeza for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;vars is just a string of variables, and it carries the same value for both runs. Will try the tech support.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Aug 2013 19:02:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Why-C-statistic-is-different-with-and-without-plots-ROC-in-Proc/m-p/124389#M6512</guid>
      <dc:creator>richardxy</dc:creator>
      <dc:date>2013-08-28T19:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: Why C statistic is different with and without plots=ROC in Proc Logistic</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Why-C-statistic-is-different-with-and-without-plots-ROC-in-Proc/m-p/124390#M6513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It doesn't happen when I run with plots=roc vs without, not using weights.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I noticed you are using Weights, so you may want to consider this note:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Caution&lt;/STRONG&gt;:PROC LOGISTIC does not compute the proper variance estimators if you are analyzing survey data and specifying the sampling weights through the WEIGHT statement. The &lt;A _jive_internal="true" href="https://communities.sas.com/thread/surveylogistic_toc.htm"&gt;SURVEYLOGISTIC&lt;/A&gt; procedure is designed to perform the necessary, and correct, computations. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Aug 2013 19:11:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Why-C-statistic-is-different-with-and-without-plots-ROC-in-Proc/m-p/124390#M6513</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2013-08-28T19:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: Why C statistic is different with and without plots=ROC in Proc Logistic</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Why-C-statistic-is-different-with-and-without-plots-ROC-in-Proc/m-p/124391#M6514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found another post which asked the same question and had an answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to specify binwidth=o and roceps=0 for Model statement, if plots=ROC is not used. The result proves that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Aug 2013 19:37:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Why-C-statistic-is-different-with-and-without-plots-ROC-in-Proc/m-p/124391#M6514</guid>
      <dc:creator>richardxy</dc:creator>
      <dc:date>2013-08-28T19:37:05Z</dc:date>
    </item>
  </channel>
</rss>

