<?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: How to create the Precision-Recall Curve and calculate AUPRC in SAS? in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-create-the-Precision-Recall-Curve-and-calculate-AUPRC-in/m-p/524199#M26740</link>
    <description>&lt;P&gt;Looks like this would be a roll your own unfortunately.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can capture the output&amp;nbsp;in a data set, do the calculations in a data step and then plot it using SGPLOT.&amp;nbsp;&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/147980"&gt;@clarkchong1&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I know that SAS creates ROC curve and calculate AUROC for free when I run PROC LOGISTIC.&lt;BR /&gt;According to this blog, Area Under Precision-Recall Curve is more appropriate in quantifying discrimination power of a model than AUROC.&lt;BR /&gt;&lt;A href="https://machinelearningmastery.com/roc-curves-and-precision-recall-curves-for-classification-in-python/" target="_blank"&gt;https://machinelearningmastery.com/roc-curves-and-precision-recall-curves-for-classification-in-python/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I tried searching online but could not find any instructions for plotting the curve or calculating AUPRC in base SAS (with SAS/STAT).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a built-in function for it? If not, how can we implement this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using SAS 9.4M4 with SAS/STAT 14.2&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 03 Jan 2019 01:34:31 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2019-01-03T01:34:31Z</dc:date>
    <item>
      <title>How to create the Precision-Recall Curve and calculate AUPRC in SAS?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-create-the-Precision-Recall-Curve-and-calculate-AUPRC-in/m-p/524188#M26739</link>
      <description>&lt;P&gt;I know that SAS creates ROC curve and calculate AUROC for free when I run PROC LOGISTIC.&lt;BR /&gt;According to this blog, Area Under Precision-Recall Curve is more appropriate in quantifying discrimination power of a model than AUROC.&lt;BR /&gt;&lt;A href="https://machinelearningmastery.com/roc-curves-and-precision-recall-curves-for-classification-in-python/" target="_blank"&gt;https://machinelearningmastery.com/roc-curves-and-precision-recall-curves-for-classification-in-python/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I tried searching online but could not find any instructions for plotting the curve or calculating AUPRC in base SAS (with SAS/STAT).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a built-in function for it? If not, how can we implement this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using SAS 9.4M4 with SAS/STAT 14.2&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jan 2019 23:20:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-create-the-Precision-Recall-Curve-and-calculate-AUPRC-in/m-p/524188#M26739</guid>
      <dc:creator>clarkchong1</dc:creator>
      <dc:date>2019-01-02T23:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to create the Precision-Recall Curve and calculate AUPRC in SAS?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-create-the-Precision-Recall-Curve-and-calculate-AUPRC-in/m-p/524199#M26740</link>
      <description>&lt;P&gt;Looks like this would be a roll your own unfortunately.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can capture the output&amp;nbsp;in a data set, do the calculations in a data step and then plot it using SGPLOT.&amp;nbsp;&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/147980"&gt;@clarkchong1&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I know that SAS creates ROC curve and calculate AUROC for free when I run PROC LOGISTIC.&lt;BR /&gt;According to this blog, Area Under Precision-Recall Curve is more appropriate in quantifying discrimination power of a model than AUROC.&lt;BR /&gt;&lt;A href="https://machinelearningmastery.com/roc-curves-and-precision-recall-curves-for-classification-in-python/" target="_blank"&gt;https://machinelearningmastery.com/roc-curves-and-precision-recall-curves-for-classification-in-python/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I tried searching online but could not find any instructions for plotting the curve or calculating AUPRC in base SAS (with SAS/STAT).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a built-in function for it? If not, how can we implement this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using SAS 9.4M4 with SAS/STAT 14.2&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jan 2019 01:34:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-create-the-Precision-Recall-Curve-and-calculate-AUPRC-in/m-p/524199#M26740</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-01-03T01:34:31Z</dc:date>
    </item>
  </channel>
</rss>

