<?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 How to obtain c-statistics from multiple 'proc logistic' in a single data sheet in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-obtain-c-statistics-from-multiple-proc-logistic-in-a/m-p/455673#M23765</link>
    <description>&lt;P&gt;Hi SAS communities,&lt;BR /&gt;&lt;BR /&gt;I have the following challenge:&lt;BR /&gt;&lt;BR /&gt;I have a logistical regression model including a binary outcome and some categorical and continuous covariates.&lt;BR /&gt;The logistical regression model achieved a c-statistic (or area under the ROC curve) of 0.94.&lt;BR /&gt;&lt;BR /&gt;I&amp;nbsp;have then used bootstrapping (unrestricted random sampling) to create 50 data sets (later I will do 1000) put together in one data set, sorted by replicate number (1-50).&lt;BR /&gt;&lt;BR /&gt;Then I run the proc logistic on the large data set, using a 'by replicate' statement.&amp;nbsp;&lt;BR /&gt;In the SAS results window I how have 50 separate c-statistics.&lt;BR /&gt;&lt;BR /&gt;Which leads me to the question:&lt;BR /&gt;How do I combine the 50 separate c-statistics in the results window, so that I can obtain a single median c-statistics for all the bootstrapped data sets? Preferably also with confidence limits...&lt;BR /&gt;&lt;BR /&gt;I have attached the SAS code in a word file.&lt;BR /&gt;&lt;BR /&gt;Best,&lt;BR /&gt;Sebastian Wiberg, MD&lt;/P&gt;</description>
    <pubDate>Thu, 19 Apr 2018 16:54:01 GMT</pubDate>
    <dc:creator>scwiberg</dc:creator>
    <dc:date>2018-04-19T16:54:01Z</dc:date>
    <item>
      <title>How to obtain c-statistics from multiple 'proc logistic' in a single data sheet</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-obtain-c-statistics-from-multiple-proc-logistic-in-a/m-p/455673#M23765</link>
      <description>&lt;P&gt;Hi SAS communities,&lt;BR /&gt;&lt;BR /&gt;I have the following challenge:&lt;BR /&gt;&lt;BR /&gt;I have a logistical regression model including a binary outcome and some categorical and continuous covariates.&lt;BR /&gt;The logistical regression model achieved a c-statistic (or area under the ROC curve) of 0.94.&lt;BR /&gt;&lt;BR /&gt;I&amp;nbsp;have then used bootstrapping (unrestricted random sampling) to create 50 data sets (later I will do 1000) put together in one data set, sorted by replicate number (1-50).&lt;BR /&gt;&lt;BR /&gt;Then I run the proc logistic on the large data set, using a 'by replicate' statement.&amp;nbsp;&lt;BR /&gt;In the SAS results window I how have 50 separate c-statistics.&lt;BR /&gt;&lt;BR /&gt;Which leads me to the question:&lt;BR /&gt;How do I combine the 50 separate c-statistics in the results window, so that I can obtain a single median c-statistics for all the bootstrapped data sets? Preferably also with confidence limits...&lt;BR /&gt;&lt;BR /&gt;I have attached the SAS code in a word file.&lt;BR /&gt;&lt;BR /&gt;Best,&lt;BR /&gt;Sebastian Wiberg, MD&lt;/P&gt;</description>
      <pubDate>Thu, 19 Apr 2018 16:54:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-obtain-c-statistics-from-multiple-proc-logistic-in-a/m-p/455673#M23765</guid>
      <dc:creator>scwiberg</dc:creator>
      <dc:date>2018-04-19T16:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to obtain c-statistics from multiple 'proc logistic' in a single data sheet</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-obtain-c-statistics-from-multiple-proc-logistic-in-a/m-p/455677#M23766</link>
      <description>&lt;P&gt;How to store your results into a table:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/iml/2017/01/09/ods-output-any-statistic.html" target="_blank"&gt;https://blogs.sas.com/content/iml/2017/01/09/ods-output-any-statistic.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Look at the PERSIST option on the ODS OUTPUT statement that will allow you to stack them all into one until it's done.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://documentation.sas.com/?docsetId=odsug&amp;amp;docsetTarget=p0oxrbinw6fjuwn1x23qam6dntyd.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_blank"&gt;http://documentation.sas.com/?docsetId=odsug&amp;amp;docsetTarget=p0oxrbinw6fjuwn1x23qam6dntyd.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/205633"&gt;@scwiberg&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Hi SAS communities,&lt;BR /&gt;&lt;BR /&gt;I have the following challenge:&lt;BR /&gt;&lt;BR /&gt;I have a logistical regression model including a binary outcome and some categorical and continuous covariates.&lt;BR /&gt;The logistical regression model achieved a c-statistic (or area under the ROC curve) of 0.94.&lt;BR /&gt;&lt;BR /&gt;I&amp;nbsp;have then used bootstrapping (unrestricted random sampling) to create 50 data sets (later I will do 1000) put together in one data set, sorted by replicate number (1-50).&lt;BR /&gt;&lt;BR /&gt;Then I run the proc logistic on the large data set, using a 'by replicate' statement.&amp;nbsp;&lt;BR /&gt;In the SAS results window I how have 50 separate c-statistics.&lt;BR /&gt;&lt;BR /&gt;Which leads me to the question:&lt;BR /&gt;How do I combine the 50 separate c-statistics in the results window, so that I can obtain a single median c-statistics for all the bootstrapped data sets? Preferably also with confidence limits...&lt;BR /&gt;&lt;BR /&gt;I have attached the SAS code in a word file.&lt;BR /&gt;&lt;BR /&gt;Best,&lt;BR /&gt;Sebastian Wiberg, MD&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Apr 2018 16:59:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-obtain-c-statistics-from-multiple-proc-logistic-in-a/m-p/455677#M23766</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-04-19T16:59:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to obtain c-statistics from multiple 'proc logistic' in a single data sheet</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-obtain-c-statistics-from-multiple-proc-logistic-in-a/m-p/455719#M23773</link>
      <description>&lt;P&gt;Thank you very much! That did the trick...&lt;BR /&gt;&lt;BR /&gt;/Sebastian&lt;/P&gt;</description>
      <pubDate>Thu, 19 Apr 2018 18:37:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-obtain-c-statistics-from-multiple-proc-logistic-in-a/m-p/455719#M23773</guid>
      <dc:creator>scwiberg</dc:creator>
      <dc:date>2018-04-19T18:37:44Z</dc:date>
    </item>
  </channel>
</rss>

