<?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: Customizig ROC curves in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Customizig-ROC-curves/m-p/499623#M17033</link>
    <description>&lt;P&gt;Based on that error, it looks like you are either in a SAS/Studio or Enterprise Guide environment. In that case, I would go with&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp&lt;/a&gt;'s recommendation.&lt;/P&gt;</description>
    <pubDate>Thu, 27 Sep 2018 17:46:56 GMT</pubDate>
    <dc:creator>DanH_sas</dc:creator>
    <dc:date>2018-09-27T17:46:56Z</dc:date>
    <item>
      <title>Customizig ROC curves</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Customizig-ROC-curves/m-p/499447#M17027</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to customize an ROC curve that was produced by the ODS graphics. I am trying to have the legend inside the graph, not on a text box outside the graph. Below is the code that I used. Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods graphics on;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;proc&lt;/STRONG&gt; &lt;STRONG&gt;logistic&lt;/STRONG&gt; data=score1 plots=roc(id=prob);&lt;/P&gt;&lt;P&gt;model ulc(event ='1') = p_1 Brav/ nofit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; roc 'Measure' p_1 ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; roc 'BraveValues' Brav;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; roccontrast reference('BraveValue') / estimate e;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;run&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; ods graphics off;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Sep 2018 12:05:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Customizig-ROC-curves/m-p/499447#M17027</guid>
      <dc:creator>Jep</dc:creator>
      <dc:date>2018-09-27T12:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: Customizig ROC curves</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Customizig-ROC-curves/m-p/499483#M17028</link>
      <description>&lt;P&gt;use roc= option to save data and PROC SGPLOT to plot roc curve.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;model ulc(event ='1') = p_1 Brav/ roc=roc_data ;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Sep 2018 12:46:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Customizig-ROC-curves/m-p/499483#M17028</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2018-09-27T12:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: Customizig ROC curves</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Customizig-ROC-curves/m-p/499536#M17030</link>
      <description>&lt;P&gt;It is also possible to use the ODS Graphics Editor to edit the PROC LOGISTIC output and move the legend. Before you run the proc, turn on the SGE option:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ods graphics on;&lt;/P&gt;
&lt;P&gt;ods html sge=on; /* or whatever destination you are using */&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; proc logistic data=score1 plots=roc(id=prob);&lt;/P&gt;
&lt;P&gt;model ulc(event ='1') = p_1 Brav/ nofit;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; roc 'Measure' p_1 ;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; roc 'BraveValues' Brav;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; roccontrast reference('BraveValue') / estimate e;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;
&lt;P&gt;ods html sge=off; /* or whatever destination you are using */&lt;/P&gt;
&lt;P&gt;ods graphics off;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You should see an additional output in the results viewer (On disk, it is a .sge file). You can double-click on it in the result viewer, or bring up the editor outside of SAS and edit the SGE file.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me know if you need more help with this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;Dan&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Sep 2018 14:32:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Customizig-ROC-curves/m-p/499536#M17030</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2018-09-27T14:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: Customizig ROC curves</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Customizig-ROC-curves/m-p/499595#M17031</link>
      <description>&lt;P&gt;I will try that, thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 27 Sep 2018 16:48:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Customizig-ROC-curves/m-p/499595#M17031</guid>
      <dc:creator>Jep</dc:creator>
      <dc:date>2018-09-27T16:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: Customizig ROC curves</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Customizig-ROC-curves/m-p/499607#M17032</link>
      <description>&lt;P&gt;Thanks for your help Dan. I turned on the SGE option and re-run the code as you suggested and I got the following error. Do you have any idea what might be wrong or how to fix it.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: Insufficient authorization to access /sas/config/Lev1/SASApp/sashtml2.htm.&lt;/P&gt;&lt;P&gt;ERROR: No body file. HTML output will not be created.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Sep 2018 17:20:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Customizig-ROC-curves/m-p/499607#M17032</guid>
      <dc:creator>Jep</dc:creator>
      <dc:date>2018-09-27T17:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: Customizig ROC curves</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Customizig-ROC-curves/m-p/499623#M17033</link>
      <description>&lt;P&gt;Based on that error, it looks like you are either in a SAS/Studio or Enterprise Guide environment. In that case, I would go with&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp&lt;/a&gt;'s recommendation.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Sep 2018 17:46:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Customizig-ROC-curves/m-p/499623#M17033</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2018-09-27T17:46:56Z</dc:date>
    </item>
    <item>
      <title>Re: Customizig ROC curves</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Customizig-ROC-curves/m-p/499885#M17039</link>
      <description>&lt;P&gt;Yes, I am using Enterprise Guide. Thanks again for your help.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Sep 2018 13:18:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Customizig-ROC-curves/m-p/499885#M17039</guid>
      <dc:creator>Jep</dc:creator>
      <dc:date>2018-09-28T13:18:40Z</dc:date>
    </item>
  </channel>
</rss>

