<?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: Compare ROC curves ignoring missing predictors in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Compare-ROC-curves-ignoring-missing-predictors/m-p/259827#M13726</link>
    <description>&lt;P&gt;See Usage Note &lt;I&gt;45339: &lt;/I&gt;Comparing the areas under independent ROC curves&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/kb/45/339.html" target="_self"&gt;http://support.sas.com/kb/45/339.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 29 Mar 2016 18:05:30 GMT</pubDate>
    <dc:creator>cici0017</dc:creator>
    <dc:date>2016-03-29T18:05:30Z</dc:date>
    <item>
      <title>Compare ROC curves ignoring missing predictors</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Compare-ROC-curves-ignoring-missing-predictors/m-p/259676#M13716</link>
      <description>&lt;P&gt;I'm trying to compare AUC for two ROC curves.&amp;nbsp; But I have missing data for one of the predictors, and I want to ignore the missing values (instead of throwing out those records).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I know if I put the predictors in the model, the records will be excluded by LOGISTIC.&amp;nbsp; So I thought perhaps the ROC statement PRED= specification would be my answer, but unfortunately it throws an error when it encounters a mising value:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
  input x1 x2 y;
  cards;
1 1 0
2 2 1
3 . 0
4 2 0
5 1 1
;
run;

proc logistic data=have plots(only)=roc;
  model Y(event='1') = ;
  roc 'x1' pred=x1; 
  roc 'x2' pred=x2; *Throws error improper missing;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there an easy way to get SAS to compare these two curves?&amp;nbsp; (Other than running two PROCs and saving the output data etc).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I had thought transforming the data might help:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
  input group x y;
  cards;
1 1 0
1 2 1
1 3 0
1 4 0
1 5 1
2 1 0
2 2 1
2 2 0
2 1 1
;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That would make it easy to get two ROC curves with a BY-statement, but I still can't see a way to get one chart with both curves, and an AUC comparison.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I realize simply ignoring missing values is not always the best approach, but curious if there is a way to do so here.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If not, I suppose I can run PRC LOGISTIC&amp;nbsp;with BY-statement, output the statistics and other results, than plot the curves myself.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2016 14:12:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Compare-ROC-curves-ignoring-missing-predictors/m-p/259676#M13716</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2016-03-29T14:12:58Z</dc:date>
    </item>
    <item>
      <title>Re: Compare ROC curves ignoring missing predictors</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Compare-ROC-curves-ignoring-missing-predictors/m-p/259691#M13718</link>
      <description>&lt;P&gt;Any observation has a missing value (appearing as . when printed) in the&amp;nbsp;X1 or X2 variable, then PROC LOGISTIC immediately halts and issues the message that you got.&amp;nbsp;&amp;nbsp;In this case, adding a WHERE statement to filter out observations with missing values should allow the procedure to run.&amp;nbsp;For example&amp;nbsp;-&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;logistic&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=have plots(&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;only&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;)=&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;roc&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;model&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; Y(&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;event&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;'1'&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;) = ;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;roc&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;FONT color="#800080" face="Courier New" size="2"&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;'x1'&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;pred&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;=x1; &lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;roc&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;FONT color="#800080" face="Courier New" size="2"&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;'x2'&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;pred&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;=x2; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#008000" face="Courier New" size="2"&gt;&lt;FONT color="#008000" face="Courier New" size="2"&gt;&lt;FONT color="#008000" face="Courier New" size="2"&gt;*Throws error improper missing;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;WHERE&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; X2 ~=&lt;/FONT&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2016 14:32:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Compare-ROC-curves-ignoring-missing-predictors/m-p/259691#M13718</guid>
      <dc:creator>cici0017</dc:creator>
      <dc:date>2016-03-29T14:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: Compare ROC curves ignoring missing predictors</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Compare-ROC-curves-ignoring-missing-predictors/m-p/259696#M13719</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/65482"&gt;@cici0017﻿&lt;/a&gt;, but my hope was to include all 5 records when generating the ROC curve for X1, and include 4 records when generating the ROC curve for x2.&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So if it were a t-test, I want to do a two-sample t-test, not a paired t-test.&amp;nbsp; I&amp;nbsp;suppose I want&amp;nbsp;a two-sample comparison of the two ROC curves.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2016 14:47:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Compare-ROC-curves-ignoring-missing-predictors/m-p/259696#M13719</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2016-03-29T14:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: Compare ROC curves ignoring missing predictors</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Compare-ROC-curves-ignoring-missing-predictors/m-p/259746#M13721</link>
      <description>&lt;P&gt;I don't know anything about this, but 2-sample implies to me that CLASS might be useful.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2016 15:47:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Compare-ROC-curves-ignoring-missing-predictors/m-p/259746#M13721</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2016-03-29T15:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: Compare ROC curves ignoring missing predictors</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Compare-ROC-curves-ignoring-missing-predictors/m-p/259769#M13724</link>
      <description>&lt;P&gt;Do you&amp;nbsp;want to fit two models to the same data set with different predictors and get a comparative ROC graph? You need use the NOFIT option and list all the variables on the MODEL statement. For example -&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;logistic&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=have plots(&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;only&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;)=&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;roc&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;rocoptions&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;(&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;id&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=prob);&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;model&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; Y(&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;event&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;'1'&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;) = x1 x2/&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;nofit&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;outroc&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;=roc;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;roc&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;FONT color="#800080" face="Courier New" size="2"&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;'x1'&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; x1 ; &lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;roc&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;FONT color="#800080" face="Courier New" size="2"&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;'x2'&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; x2 ;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;print&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;data&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; = roc;&lt;/FONT&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;run&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;ROC statement automatically generates overlayed ROC curves for you.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;IMG title="ROCOverlay22.png" alt="ROCOverlay22.png" src="https://communities.sas.com/t5/image/serverpage/image-id/2539i57901F77588AD44D/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" /&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV class="c"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 29 Mar 2016 16:35:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Compare-ROC-curves-ignoring-missing-predictors/m-p/259769#M13724</guid>
      <dc:creator>cici0017</dc:creator>
      <dc:date>2016-03-29T16:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: Compare ROC curves ignoring missing predictors</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Compare-ROC-curves-ignoring-missing-predictors/m-p/259803#M13725</link>
      <description>&lt;P&gt;Yes &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/65482"&gt;@cici0017﻿&lt;/a&gt;&amp;nbsp;that is the sort of chart I want.&amp;nbsp; But note that for one record the value of X1 is missing.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The logistic output notes this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Number of Observations Read 5
Number of Observations Used 4
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As I understand it that means only 4 obs were used for of the ROC curve of X1 and the ROC curve of X2.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My goal was to make the same plot you made (and ideally get a test on difference in AUC), but have the ROC curve of X1 use 4 obs but the ROC curve of X2 use all 5 obs that have data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2016 17:14:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Compare-ROC-curves-ignoring-missing-predictors/m-p/259803#M13725</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2016-03-29T17:14:30Z</dc:date>
    </item>
    <item>
      <title>Re: Compare ROC curves ignoring missing predictors</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Compare-ROC-curves-ignoring-missing-predictors/m-p/259827#M13726</link>
      <description>&lt;P&gt;See Usage Note &lt;I&gt;45339: &lt;/I&gt;Comparing the areas under independent ROC curves&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/kb/45/339.html" target="_self"&gt;http://support.sas.com/kb/45/339.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2016 18:05:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Compare-ROC-curves-ignoring-missing-predictors/m-p/259827#M13726</guid>
      <dc:creator>cici0017</dc:creator>
      <dc:date>2016-03-29T18:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: Compare ROC curves ignoring missing predictors</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Compare-ROC-curves-ignoring-missing-predictors/m-p/259834#M13727</link>
      <description>&lt;P&gt;Thanks much &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/65482"&gt;@cici0017﻿&lt;/a&gt;.&amp;nbsp; That note is very helpful, and confirms that in order to compare two independent ROC curves I need to run PROC LOGISTIC twice, save the output data from each, and then overlay the charts myself (and compute the test statistic to compare them).&amp;nbsp; Bummer, but not the end of the world.&amp;nbsp; I guess it's the price I pay for missing data.&amp;nbsp; : )&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2016 18:24:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Compare-ROC-curves-ignoring-missing-predictors/m-p/259834#M13727</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2016-03-29T18:24:08Z</dc:date>
    </item>
  </channel>
</rss>

