<?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: Creating an ROC Curve with Weighted Sample in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Creating-an-ROC-Curve-with-Weighted-Sample/m-p/710092#M34381</link>
    <description>Thanks!&lt;BR /&gt;</description>
    <pubDate>Fri, 08 Jan 2021 00:22:00 GMT</pubDate>
    <dc:creator>gabybarber</dc:creator>
    <dc:date>2021-01-08T00:22:00Z</dc:date>
    <item>
      <title>Creating an ROC Curve with Weighted Sample</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Creating-an-ROC-Curve-with-Weighted-Sample/m-p/710019#M34377</link>
      <description>&lt;P&gt;I am trying to generate an ROC curve using the PROC LOGISTIC procedure (see example below that I am using as a guide):&lt;/P&gt;&lt;P class="p1"&gt;descending data &lt;SPAN class="s1"&gt;= pinedat &lt;/SPAN&gt;plots&lt;SPAN class="s1"&gt;=&lt;/SPAN&gt;effect plots&lt;SPAN class="s1"&gt;=&lt;/SPAN&gt;ROC&lt;SPAN class="s1"&gt;(&lt;/SPAN&gt;id&lt;SPAN class="s1"&gt;=prob); &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;class &lt;SPAN class="s1"&gt;alc /&lt;/SPAN&gt;descending param &lt;SPAN class="s1"&gt;= glm; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;model &lt;SPAN class="s1"&gt;y = age alc ; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;roc &lt;SPAN class="s2"&gt;'Age' &lt;/SPAN&gt;&lt;SPAN class="s1"&gt;age; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;roc &lt;SPAN class="s2"&gt;'Alcohol' &lt;/SPAN&gt;&lt;SPAN class="s1"&gt;alc; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;roc &lt;SPAN class="s2"&gt;'Age &amp;amp; Alcohol' &lt;/SPAN&gt;&lt;SPAN class="s1"&gt;age alc ; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;roccontrast reference&lt;SPAN class="s1"&gt;(&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;'Age &amp;amp; Alcohol'&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;) /&lt;/SPAN&gt;estimate &lt;SPAN class="s1"&gt;;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;However, my sample is weighted, and I'm not sure how to modify this to be used with PROC SURVEYLOGISTIC. Any help would be much appreciated. Thanks!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2021 19:51:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Creating-an-ROC-Curve-with-Weighted-Sample/m-p/710019#M34377</guid>
      <dc:creator>gabybarber</dc:creator>
      <dc:date>2021-01-07T19:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: Creating an ROC Curve with Weighted Sample</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Creating-an-ROC-Curve-with-Weighted-Sample/m-p/710034#M34378</link>
      <description>&lt;P&gt;Does your data come from a complex weighting scheme? If not then perhaps all you need is the Weight statement in Proc Logistic.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Surveylogistic doesn't currently do plots.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.4&amp;amp;docsetId=statug&amp;amp;docsetTarget=statug_surveylogistic_syntax01.htm&amp;amp;locale=en"&gt;https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.4&amp;amp;docsetId=statug&amp;amp;docsetTarget=statug_surveylogistic_syntax01.htm&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2021 20:20:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Creating-an-ROC-Curve-with-Weighted-Sample/m-p/710034#M34378</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-01-07T20:20:56Z</dc:date>
    </item>
    <item>
      <title>Re: Creating an ROC Curve with Weighted Sample</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Creating-an-ROC-Curve-with-Weighted-Sample/m-p/710057#M34379</link>
      <description>My data (PRAMS data from the CDC) does have a complex sample design. Do you happen to know how to do an ROC curve with data that has a complex sample design?&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Jan 2021 21:28:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Creating-an-ROC-Curve-with-Weighted-Sample/m-p/710057#M34379</guid>
      <dc:creator>gabybarber</dc:creator>
      <dc:date>2021-01-07T21:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: Creating an ROC Curve with Weighted Sample</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Creating-an-ROC-Curve-with-Weighted-Sample/m-p/710079#M34380</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/312795"&gt;@gabybarber&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;My data (PRAMS data from the CDC) does have a complex sample design. Do you happen to know how to do an ROC curve with data that has a complex sample design?&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I think this paper may help:&amp;nbsp; &lt;A href="https://support.sas.com/resources/papers/proceedings14/SAS404-2014.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/proceedings14/SAS404-2014.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Google: SAS Logistic ROC Pred Surveylogistic&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2021 23:14:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Creating-an-ROC-Curve-with-Weighted-Sample/m-p/710079#M34380</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-01-07T23:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: Creating an ROC Curve with Weighted Sample</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Creating-an-ROC-Curve-with-Weighted-Sample/m-p/710092#M34381</link>
      <description>Thanks!&lt;BR /&gt;</description>
      <pubDate>Fri, 08 Jan 2021 00:22:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Creating-an-ROC-Curve-with-Weighted-Sample/m-p/710092#M34381</guid>
      <dc:creator>gabybarber</dc:creator>
      <dc:date>2021-01-08T00:22:00Z</dc:date>
    </item>
  </channel>
</rss>

