<?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: AUC (area under the curve) calculation in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/AUC-area-under-the-curve-calculation/m-p/903827#M357117</link>
    <description>&lt;P&gt;Please have a look at the following&lt;BR /&gt;&lt;A href="https://communities.sas.com/t5/SAS-Programming/Area-under-the-curve-calculation/td-p/481913" target="_blank"&gt;https://communities.sas.com/t5/SAS-Programming/Area-under-the-curve-calculation/td-p/481913&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://stats.stackexchange.com/questions/211603/calculate-an-area-under-a-curve-with-sas" target="_blank"&gt;https://stats.stackexchange.com/questions/211603/calculate-an-area-under-a-curve-with-sas&lt;/A&gt; &lt;BR /&gt;&lt;A href="https://support.sas.com/resources/papers/proceedings/proceedings/sugi27/p229-27.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/proceedings/proceedings/sugi27/p229-27.pdf&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 19 Nov 2023 23:29:36 GMT</pubDate>
    <dc:creator>Sajid01</dc:creator>
    <dc:date>2023-11-19T23:29:36Z</dc:date>
    <item>
      <title>AUC (area under the curve) calculation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/AUC-area-under-the-curve-calculation/m-p/899388#M355503</link>
      <description>&lt;P&gt;Hello SAS users&lt;BR /&gt;&lt;BR /&gt;I'm having trouble estimating AUC on my data.&lt;/P&gt;&lt;P&gt;I have the following data (dummy example below):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data original_data2;&lt;BR /&gt;input ID rho Time Sp02;&lt;BR /&gt;datalines;&lt;BR /&gt;1 1 0 17&lt;BR /&gt;1 1 0 0&lt;BR /&gt;1 1 0.026 39.5&lt;BR /&gt;1 1 0.031 30.4&lt;BR /&gt;1 1 0.04 29.2&lt;BR /&gt;1 1 0.051 17.8&lt;BR /&gt;1 1 0.092 30.3&lt;BR /&gt;1 1 0.176 71.5&lt;BR /&gt;1 1 0.342 251&lt;BR /&gt;1 1 0.508 291&lt;BR /&gt;1 1 1.015 360&lt;BR /&gt;1 1 2.015 359&lt;BR /&gt;1 1 3.014 617&lt;BR /&gt;1 1 4.01 502&lt;BR /&gt;1 1 5.014 693&lt;BR /&gt;1 1 6.016 672&lt;BR /&gt;1 1 7.019 529&lt;BR /&gt;1 1 8.02 492&lt;BR /&gt;1 1 9.017 590&lt;BR /&gt;1 1 10.013 490&lt;BR /&gt;1 1 11.014 548&lt;BR /&gt;1 1 12.013 443&lt;BR /&gt;1 1 13.013 449&lt;BR /&gt;1 2 14.013 422&lt;BR /&gt;1 2 30.012 295&lt;BR /&gt;1 2 58.019 268&lt;BR /&gt;1 2 120.943 214&lt;BR /&gt;1 2 211.019 185&lt;BR /&gt;1 2 242.995 125&lt;BR /&gt;1 2 272.994 137&lt;BR /&gt;1 2 305.993 156&lt;BR /&gt;1 2 334.998 135&lt;BR /&gt;1 2 366.027 160&lt;BR /&gt;1 2 393.053 127&lt;BR /&gt;1 2 424.996 131&lt;BR /&gt;1 2 456.99 139&lt;BR /&gt;1 2 484.996 120&lt;BR /&gt;1 2 515.981 115&lt;BR /&gt;1 2 544.015 114&lt;BR /&gt;1 2 578.994 133&lt;BR /&gt;1 2 608.986 120&lt;BR /&gt;1 2 638.001 116&lt;BR /&gt;1 2 658.993 122&lt;BR /&gt;1 2 695.088 136&lt;BR /&gt;1 2 726.001 132&lt;BR /&gt;1 2 726.03 237&lt;BR /&gt;1 2 726.051 183&lt;BR /&gt;1 2 726.092 151&lt;BR /&gt;1 2 726.176 155&lt;BR /&gt;1 2 726.342 181&lt;BR /&gt;1 2 727.015 118&lt;BR /&gt;1 2 728.014 72.8&lt;BR /&gt;1 2 729.012 54.6&lt;BR /&gt;1 2 730.021 48.1&lt;BR /&gt;2 1 0 15&lt;BR /&gt;2 1 0 0&lt;BR /&gt;2 1 0.021 27.1&lt;BR /&gt;2 1 0.033 74.9&lt;BR /&gt;2 1 0.052 142&lt;BR /&gt;2 1 0.094 191&lt;BR /&gt;2 1 0.18 197&lt;BR /&gt;2 1 0.346 242&lt;BR /&gt;2 1 0.51 350&lt;BR /&gt;2 1 1.015 442&lt;BR /&gt;2 1 2.015 555&lt;BR /&gt;2 1 3.01 593&lt;BR /&gt;2 1 4.013 540&lt;BR /&gt;2 1 5.016 425&lt;BR /&gt;2 1 6.016 460&lt;BR /&gt;2 1 7.02 610&lt;BR /&gt;2 1 9 514&lt;BR /&gt;2 1 10.001 466&lt;BR /&gt;2 1 11.007 503&lt;BR /&gt;2 1 12.014 415&lt;BR /&gt;2 1 13.024 458&lt;BR /&gt;2 1 14.017 448&lt;BR /&gt;2 1 28.035 44.7&lt;BR /&gt;2 1 56.02 366&lt;BR /&gt;2 1 88.033 278&lt;BR /&gt;2 2 120.026 247&lt;BR /&gt;2 2 215.973 228&lt;BR /&gt;2 2 246.013 186&lt;BR /&gt;2 2 276.978 251&lt;BR /&gt;2 2 306.206 210&lt;BR /&gt;2 2 334.98 190&lt;BR /&gt;2 2 365.073 183&lt;BR /&gt;2 2 393.094 179&lt;BR /&gt;2 2 425.052 217&lt;BR /&gt;2 2 456.056 180&lt;BR /&gt;2 2 484.043 290&lt;BR /&gt;2 2 522.051 317&lt;BR /&gt;2 2 550.059 201&lt;BR /&gt;2 2 582.078 339&lt;BR /&gt;2 2 600.007 203&lt;BR /&gt;2 2 600.045 256&lt;BR /&gt;2 2 600.068 266&lt;BR /&gt;2 2 600.108 183&lt;BR /&gt;2 2 600.191 186&lt;BR /&gt;2 2 600.358 146&lt;BR /&gt;2 2 601.181 81.2&lt;BR /&gt;2 2 602.106 65&lt;BR /&gt;2 2 603.073 31.5&lt;BR /&gt;2 2 604.075 23.2&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With this data, how can I estimate the AUC (per ID) of when the variable Sp02 goes below 90.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know how to do this? I've found some very helpful guidance from&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/462"&gt;@PGStats&lt;/a&gt;&amp;nbsp;on this topic in other posts (&lt;A href="https://communities.sas.com/t5/Statistical-Procedures/Area-under-the-curve-calculation/td-p/273882" target="_blank"&gt;https://communities.sas.com/t5/Statistical-Procedures/Area-under-the-curve-calculation/td-p/273882&lt;/A&gt;), but still can't figure out this issue specifically.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help will be greatly appreciated, thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2023 13:52:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/AUC-area-under-the-curve-calculation/m-p/899388#M355503</guid>
      <dc:creator>MRM95</dc:creator>
      <dc:date>2023-10-20T13:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: AUC (area under the curve) calculation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/AUC-area-under-the-curve-calculation/m-p/903827#M357117</link>
      <description>&lt;P&gt;Please have a look at the following&lt;BR /&gt;&lt;A href="https://communities.sas.com/t5/SAS-Programming/Area-under-the-curve-calculation/td-p/481913" target="_blank"&gt;https://communities.sas.com/t5/SAS-Programming/Area-under-the-curve-calculation/td-p/481913&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://stats.stackexchange.com/questions/211603/calculate-an-area-under-a-curve-with-sas" target="_blank"&gt;https://stats.stackexchange.com/questions/211603/calculate-an-area-under-a-curve-with-sas&lt;/A&gt; &lt;BR /&gt;&lt;A href="https://support.sas.com/resources/papers/proceedings/proceedings/sugi27/p229-27.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/proceedings/proceedings/sugi27/p229-27.pdf&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 19 Nov 2023 23:29:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/AUC-area-under-the-curve-calculation/m-p/903827#M357117</guid>
      <dc:creator>Sajid01</dc:creator>
      <dc:date>2023-11-19T23:29:36Z</dc:date>
    </item>
  </channel>
</rss>

