<?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: ROC curve in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/ROC-curve/m-p/760747#M37093</link>
    <description>&lt;P&gt;Thank you very much for your answer!!!&lt;/P&gt;</description>
    <pubDate>Tue, 10 Aug 2021 20:17:58 GMT</pubDate>
    <dc:creator>Teresa12</dc:creator>
    <dc:date>2021-08-10T20:17:58Z</dc:date>
    <item>
      <title>ROC curve</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/ROC-curve/m-p/760660#M37086</link>
      <description>&lt;P&gt;&lt;BR /&gt;I need to create a ROC curve.&lt;/P&gt;&lt;P&gt;My data looks like :&lt;/P&gt;&lt;P&gt;data Data1;&lt;BR /&gt;input id score diagnosis;&lt;BR /&gt;datalines;&lt;BR /&gt;1 0.1 0&lt;BR /&gt;1 0.2 0&lt;BR /&gt;1 1.0 1&lt;BR /&gt;1 0.8 0&lt;BR /&gt;1 0.9 0&lt;BR /&gt;2 1.8 1&lt;BR /&gt;2 1.2 1&lt;BR /&gt;3 1.7 1&lt;BR /&gt;3 1.1 0&lt;BR /&gt;4 0.1 0&lt;BR /&gt;4 1.9 0&lt;BR /&gt;4 1.8 1&lt;BR /&gt;4 1.2 1&lt;BR /&gt;4 2.0 0&lt;BR /&gt;5 0.7 0&lt;BR /&gt;5 1.2 1&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;I have several tests per ID.&lt;BR /&gt;My sas code following&lt;/P&gt;&lt;P&gt;ods graphics on;&lt;BR /&gt;proc logistic data=data1 plots(only)=(roc(id=obs) effect) descending;&lt;BR /&gt;model diagnosis(event='1')=score / ctable outroc=RocStats ;&lt;BR /&gt;ROC; ROCCONTRAST;&lt;BR /&gt;run;&lt;BR /&gt;ods graphics off;&lt;/P&gt;&lt;P&gt;My question: I don't know how to integrate the repeated ID into my model.&lt;BR /&gt;I use only diagnosis and score. O am confused about this issue&lt;/P&gt;&lt;P&gt;Thanks:&lt;/P&gt;</description>
      <pubDate>Tue, 10 Aug 2021 13:58:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/ROC-curve/m-p/760660#M37086</guid>
      <dc:creator>Teresa12</dc:creator>
      <dc:date>2021-08-10T13:58:16Z</dc:date>
    </item>
    <item>
      <title>Re: ROC curve</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/ROC-curve/m-p/760715#M37090</link>
      <description>&lt;P&gt;Unfortunately, Proc Logistic is not appropriate for generating ROC chart with repeated measures. You need to use GLIMMIX to account for repeated measures. But there is no option available in GLIMMIX to generate ROC chart. Please check this paper where the author has included a SAS macro for generating ROC using SAS IML.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://ferran.torres.name/download/shared/roc/roc.pdf" target="_blank"&gt;&amp;nbsp;http://ferran.torres.name/download/shared/roc/roc.pdf.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Aug 2021 18:09:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/ROC-curve/m-p/760715#M37090</guid>
      <dc:creator>gcjfernandez</dc:creator>
      <dc:date>2021-08-10T18:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: ROC curve</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/ROC-curve/m-p/760740#M37092</link>
      <description>&lt;P&gt;You can use the predicted probabilities from any model on a binary response in PROC LOGISTIC to generate an ROC curve. See &lt;A href="https://support.sas.com/kb/41/364.html" target="_self"&gt;this note&lt;/A&gt;. If you want to use a GEE model to handle the repeated measures allowing an exchangeable correlation matrix, then you could use these statements.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc gee data=data1;
class id;
model diagnosis(event='1')=score / dist=bin ;
repeated subject=id / type=exch;
output out=out p=p;
run;
proc logistic data=out;
model diagnosis(event="1")= / nofit;
roc pred=p;
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 10 Aug 2021 19:45:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/ROC-curve/m-p/760740#M37092</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2021-08-10T19:45:09Z</dc:date>
    </item>
    <item>
      <title>Re: ROC curve</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/ROC-curve/m-p/760747#M37093</link>
      <description>&lt;P&gt;Thank you very much for your answer!!!&lt;/P&gt;</description>
      <pubDate>Tue, 10 Aug 2021 20:17:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/ROC-curve/m-p/760747#M37093</guid>
      <dc:creator>Teresa12</dc:creator>
      <dc:date>2021-08-10T20:17:58Z</dc:date>
    </item>
  </channel>
</rss>

