<?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: Sensitivity and Specificity Output for an ROC Curve in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Sensitivity-and-Specificity-Output-for-an-ROC-Curve/m-p/712795#M34453</link>
    <description>Thanks! That was exactly what I was looking for - to display the numerical&lt;BR /&gt;values.&lt;BR /&gt;</description>
    <pubDate>Wed, 20 Jan 2021 17:19:13 GMT</pubDate>
    <dc:creator>gabybarber</dc:creator>
    <dc:date>2021-01-20T17:19:13Z</dc:date>
    <item>
      <title>Sensitivity and Specificity Output for an ROC Curve</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Sensitivity-and-Specificity-Output-for-an-ROC-Curve/m-p/712414#M34446</link>
      <description>&lt;P&gt;I am using data from PRAMS (which uses a complex survey design) to create an ROC curve using predicted probabilities. How can I see the sensitivity and specificity for my various cutoffs, keeping in mind the complex sample?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2021 14:49:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Sensitivity-and-Specificity-Output-for-an-ROC-Curve/m-p/712414#M34446</guid>
      <dc:creator>gabybarber</dc:creator>
      <dc:date>2021-01-19T14:49:10Z</dc:date>
    </item>
    <item>
      <title>Re: Sensitivity and Specificity Output for an ROC Curve</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Sensitivity-and-Specificity-Output-for-an-ROC-Curve/m-p/712652#M34447</link>
      <description>&lt;P&gt;The ROC curve IS the set of sensitivities and specificities. I assume when you say, "how can I see them," you mean you want to display the actual numerical values along the curve? If so, you can do this by using ODS OUTPUT.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;A href="https://blogs.sas.com/content/iml/2015/09/08/ods-table-names.html" target="_self"&gt;Find the name of the ROC graph&lt;/A&gt; for which you want the values&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://blogs.sas.com/content/iml/2012/08/01/data-fro-ods-graphics.html" target="_self"&gt;Use ODS OUTPUT to write the graph to a SAS data set&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Use PROC PRINT to display the results&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;For example, if you were using PROC LOGISTIC, it might look like this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods trace on;
proc logistic data=Data1 plots(only)=roc;
   model disease/n=age;
   ods output ROCCurve=OutROC;
run;

data OutROC2;
set OutROC;
Specificity = 1 - _1MSPEC_;
run;

proc print data=OutROC2 label;
var _SENSIT_ _1MSPEC_ Specificity;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 20 Jan 2021 12:34:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Sensitivity-and-Specificity-Output-for-an-ROC-Curve/m-p/712652#M34447</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2021-01-20T12:34:58Z</dc:date>
    </item>
    <item>
      <title>Re: Sensitivity and Specificity Output for an ROC Curve</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Sensitivity-and-Specificity-Output-for-an-ROC-Curve/m-p/712795#M34453</link>
      <description>Thanks! That was exactly what I was looking for - to display the numerical&lt;BR /&gt;values.&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Jan 2021 17:19:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Sensitivity-and-Specificity-Output-for-an-ROC-Curve/m-p/712795#M34453</guid>
      <dc:creator>gabybarber</dc:creator>
      <dc:date>2021-01-20T17:19:13Z</dc:date>
    </item>
    <item>
      <title>Re: Sensitivity and Specificity Output for an ROC Curve</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Sensitivity-and-Specificity-Output-for-an-ROC-Curve/m-p/712821#M34454</link>
      <description>&lt;P&gt;One follow up question - I am trying to get the sensitivity and specificity for each of my exposure groups independent of the covariates I have included in the model. For example, my exposure variable is smoking (4 levels), and I have included the covariate sex in my model (2 levels). Right now, I get sensitivities and specificities for each combination of the smoking groups and sex (8 different sensitivities). I would just like to see sensitivity and specificity for each level of the exposure group (smoking), independent of sex.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2021 18:30:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Sensitivity-and-Specificity-Output-for-an-ROC-Curve/m-p/712821#M34454</guid>
      <dc:creator>gabybarber</dc:creator>
      <dc:date>2021-01-20T18:30:32Z</dc:date>
    </item>
    <item>
      <title>Re: Sensitivity and Specificity Output for an ROC Curve</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Sensitivity-and-Specificity-Output-for-an-ROC-Curve/m-p/712830#M34455</link>
      <description>&lt;P&gt;Then remove SEX from your model.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2021 18:39:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Sensitivity-and-Specificity-Output-for-an-ROC-Curve/m-p/712830#M34455</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2021-01-20T18:39:05Z</dc:date>
    </item>
  </channel>
</rss>

