<?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: proc logistic: getting the c statistic in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/proc-logistic-getting-the-c-statistic/m-p/777896#M247574</link>
    <description>&lt;PRE&gt;data test ( keep = anemia allergy weight visit );
 set sashelp.bweight;
 if _N_ &amp;lt;= 100;
 anemia = black;
 allergy = married;
run;





ods select none;
*Outcome = ANEMIA;
proc logistic data = test descending  ;
 model anemia = weight visit/outroc=roc1;
 ods output Association=Association1;
run;
ods select all;&lt;/PRE&gt;
&lt;P&gt;Check dataset Association1&lt;/P&gt;</description>
    <pubDate>Tue, 02 Nov 2021 12:31:38 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2021-11-02T12:31:38Z</dc:date>
    <item>
      <title>proc logistic: getting the c statistic</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-logistic-getting-the-c-statistic/m-p/777770#M247505</link>
      <description>&lt;P&gt;How do I alter the code below to make sure I get the c statistic?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ods graphics on;&lt;/P&gt;
&lt;P&gt;proc logistic data=&amp;amp;data SIMPLE plots(only)=(roc(id=prob) effect) &lt;BR /&gt;PLOTS(ONLY)=(ODDSRATIO(range=clip));&lt;BR /&gt;model variable_2cat = ARG1_Hs00163660_m1 / &lt;BR /&gt;LACKFIT&lt;BR /&gt;RSQUARE&lt;BR /&gt;LINK=LOGIT&lt;BR /&gt;CLPARM=WALD&lt;BR /&gt;CLODDS=WALD&lt;BR /&gt;ROCCI;&lt;BR /&gt;&lt;BR /&gt;run;&lt;BR /&gt;quit;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 01 Nov 2021 20:33:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-logistic-getting-the-c-statistic/m-p/777770#M247505</guid>
      <dc:creator>hein68</dc:creator>
      <dc:date>2021-11-01T20:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: proc logistic: getting the c statistic</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-logistic-getting-the-c-statistic/m-p/777785#M247519</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Why do you think you won't get the c-statistic with above code?&lt;/P&gt;
&lt;P&gt;The c-statistic is in the last printed table (default output), entitled "Association of Predicted Probabilities and Observed Responses" (right-bottom cell).&lt;/P&gt;
&lt;P&gt;The ODS table name is 'Association'.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
      <pubDate>Mon, 01 Nov 2021 21:42:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-logistic-getting-the-c-statistic/m-p/777785#M247519</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2021-11-01T21:42:38Z</dc:date>
    </item>
    <item>
      <title>Re: proc logistic: getting the c statistic</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-logistic-getting-the-c-statistic/m-p/777896#M247574</link>
      <description>&lt;PRE&gt;data test ( keep = anemia allergy weight visit );
 set sashelp.bweight;
 if _N_ &amp;lt;= 100;
 anemia = black;
 allergy = married;
run;





ods select none;
*Outcome = ANEMIA;
proc logistic data = test descending  ;
 model anemia = weight visit/outroc=roc1;
 ods output Association=Association1;
run;
ods select all;&lt;/PRE&gt;
&lt;P&gt;Check dataset Association1&lt;/P&gt;</description>
      <pubDate>Tue, 02 Nov 2021 12:31:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-logistic-getting-the-c-statistic/m-p/777896#M247574</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2021-11-02T12:31:38Z</dc:date>
    </item>
  </channel>
</rss>

