<?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: I have two variables actual and test, i want ROC curve for test variable ? in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/I-have-two-variables-actual-and-test-i-want-ROC-curve-for-test/m-p/408461#M21266</link>
    <description>&lt;P&gt;Thank You&lt;/P&gt;</description>
    <pubDate>Mon, 30 Oct 2017 03:52:55 GMT</pubDate>
    <dc:creator>Dinesh_</dc:creator>
    <dc:date>2017-10-30T03:52:55Z</dc:date>
    <item>
      <title>I have two variables actual and test, i want ROC curve for test variable ?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/I-have-two-variables-actual-and-test-i-want-ROC-curve-for-test/m-p/407929#M21238</link>
      <description>&lt;P&gt;ods graphics on;&lt;BR /&gt;proc logistic data=change desc plots(only)=roc;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;class actual;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;units age=10;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; model&amp;nbsp; test(event="Yes")= actual age/outroc=x scale=none clparm=wald&amp;nbsp; clodds=pl&amp;nbsp; rsquare;&lt;BR /&gt;run;&lt;BR /&gt;quit;&lt;BR /&gt;ods graphics off;&lt;/P&gt;&lt;P&gt;/*I have written this code, is it a correct approach?*/&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2017 07:12:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/I-have-two-variables-actual-and-test-i-want-ROC-curve-for-test/m-p/407929#M21238</guid>
      <dc:creator>Dinesh_</dc:creator>
      <dc:date>2017-10-27T07:12:39Z</dc:date>
    </item>
    <item>
      <title>Re: I have two variables actual and test, i want ROC curve for test variable ?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/I-have-two-variables-actual-and-test-i-want-ROC-curve-for-test/m-p/408033#M21242</link>
      <description>&lt;P&gt;The actual response (which I assume is binary like your test variable) should be the response variable in the MODEL, not the test variable. Note that without age, your test and actual variables would just produce a 2x2 table if they are both binary. As such, an ROC curve would only have one point on it, so it wouldn't be useful. With age in the model, you'll get as many points on the ROC curve as age levels, but the curve evaluates your test and age variables together, not just the test variable alone.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note you don't need the DESCENDING option if you are using EVENT=.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2017 14:06:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/I-have-two-variables-actual-and-test-i-want-ROC-curve-for-test/m-p/408033#M21242</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2017-10-27T14:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: I have two variables actual and test, i want ROC curve for test variable ?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/I-have-two-variables-actual-and-test-i-want-ROC-curve-for-test/m-p/408461#M21266</link>
      <description>&lt;P&gt;Thank You&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2017 03:52:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/I-have-two-variables-actual-and-test-i-want-ROC-curve-for-test/m-p/408461#M21266</guid>
      <dc:creator>Dinesh_</dc:creator>
      <dc:date>2017-10-30T03:52:55Z</dc:date>
    </item>
  </channel>
</rss>

