<?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: Optimism corrected c-statistic in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Optimism-corrected-c-statistic/m-p/571894#M28137</link>
    <description>&lt;P&gt;I don't know what an &lt;EM&gt;optimism-corrected C statistic&lt;/EM&gt; is, but I have a few comments and a question:&lt;/P&gt;
&lt;P&gt;1. Be sure to &lt;A href="https://blogs.sas.com/content/iml/2013/05/24/turn-off-ods-for-simulations.html" target="_self"&gt;use ODS to suppress the output from PROC LOGISTIC.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;2. You might want to use the OUTEST= option to write the parameter estimates directly to a SAS data set in a form that can be read later by PROC SCORE or PROC LOGISTIC.&lt;/P&gt;
&lt;P&gt;3. Yes, it is possible to score the original data by using the parameter estimates from each bootstrap sample. Are you going to try to do that in the Base SAS (primarily the DATA step) or do you have access to the SAS/IML matrix language?&lt;/P&gt;</description>
    <pubDate>Mon, 08 Jul 2019 19:58:00 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2019-07-08T19:58:00Z</dc:date>
    <item>
      <title>Optimism corrected c-statistic</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Optimism-corrected-c-statistic/m-p/571756#M28136</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new to SAS. I am trying to compute an optimism-corrected c statistic using the following code:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc surveyselect data= mydata seed=12345&lt;/P&gt;&lt;P&gt;out =samples&lt;/P&gt;&lt;P&gt;method= urs&lt;/P&gt;&lt;P&gt;samprate=1&lt;/P&gt;&lt;P&gt;outhits&lt;/P&gt;&lt;P&gt;reps=1000;&lt;/P&gt;&lt;P&gt;run&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc logistic data=samples; by replicate;&lt;/P&gt;&lt;P&gt;model outcome= a b c d e;&lt;/P&gt;&lt;P&gt;ods output parameterestimates= out association= assoc;&lt;/P&gt;&lt;P&gt;run;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The result is a table of coefficients generated for each variable in each replicate (dataset out) and a table of concordance indices (dataset assoc).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I compute the optimism-corrected c statistic? Is there an efficient way to apply each replicate's coefficients to my original dataset to generate a C statistic and then subtract all of the bootstrapped c statistics from the original c statistic?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for your help.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2019 12:43:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Optimism-corrected-c-statistic/m-p/571756#M28136</guid>
      <dc:creator>richa108</dc:creator>
      <dc:date>2019-07-08T12:43:48Z</dc:date>
    </item>
    <item>
      <title>Re: Optimism corrected c-statistic</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Optimism-corrected-c-statistic/m-p/571894#M28137</link>
      <description>&lt;P&gt;I don't know what an &lt;EM&gt;optimism-corrected C statistic&lt;/EM&gt; is, but I have a few comments and a question:&lt;/P&gt;
&lt;P&gt;1. Be sure to &lt;A href="https://blogs.sas.com/content/iml/2013/05/24/turn-off-ods-for-simulations.html" target="_self"&gt;use ODS to suppress the output from PROC LOGISTIC.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;2. You might want to use the OUTEST= option to write the parameter estimates directly to a SAS data set in a form that can be read later by PROC SCORE or PROC LOGISTIC.&lt;/P&gt;
&lt;P&gt;3. Yes, it is possible to score the original data by using the parameter estimates from each bootstrap sample. Are you going to try to do that in the Base SAS (primarily the DATA step) or do you have access to the SAS/IML matrix language?&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2019 19:58:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Optimism-corrected-c-statistic/m-p/571894#M28137</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2019-07-08T19:58:00Z</dc:date>
    </item>
    <item>
      <title>Re: Optimism corrected c-statistic</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Optimism-corrected-c-statistic/m-p/571912#M28140</link>
      <description>&lt;P&gt;By "optimism corrected" I assume you mean an estimate that is adjusted for the bias that results from computing the area under the ROC curve (a.k.a. c statistic or AUC) to evaluate the model using the same observations as used to fit the model. This can be done by using separate validation data or by crossvalidation using an option. See &lt;A href="http://support.sas.com/kb/39/724.html" target="_self"&gt;this note&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2019 21:43:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Optimism-corrected-c-statistic/m-p/571912#M28140</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2019-07-08T21:43:07Z</dc:date>
    </item>
  </channel>
</rss>

