<?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: How do I do a sample size calculation based on AUC in SAS? in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-do-a-sample-size-calculation-based-on-AUC-in-SAS/m-p/266376#M14027</link>
    <description>&lt;P&gt;Some things to consider. &amp;nbsp;AUC is likely lognormally distributed. &amp;nbsp;Iget something like this from:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc power;
   OneSampleMeans test = t Dist = LogNormal
      Alpha = 0.05
      Sides = 2
      Mean = 0.8
      NullMean = 0.79
      CV = 0.06125
      Power = 0.8
      NTotal = .
   ;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Where I got the CV as .049/0.8.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This may just be coincidental, though.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Steve Denham&lt;/P&gt;</description>
    <pubDate>Tue, 26 Apr 2016 13:57:46 GMT</pubDate>
    <dc:creator>SteveDenham</dc:creator>
    <dc:date>2016-04-26T13:57:46Z</dc:date>
    <item>
      <title>How do I do a sample size calculation based on AUC in SAS?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-do-a-sample-size-calculation-based-on-AUC-in-SAS/m-p/266265#M14024</link>
      <description>&lt;P&gt;So I am trying to replicate this statement in SAS (basically to come up with the 300 patients part), but I can't seem to figure out how:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;60% of the patients will be considered adherent, 300 patients will allow an AUC of 0.80 to be estimated with an accuracy (i.e. half width of the 95% confidence interval) of 0.049&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Tue, 26 Apr 2016 02:43:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-do-a-sample-size-calculation-based-on-AUC-in-SAS/m-p/266265#M14024</guid>
      <dc:creator>Tpham</dc:creator>
      <dc:date>2016-04-26T02:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: How do I do a sample size calculation based on AUC in SAS?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-do-a-sample-size-calculation-based-on-AUC-in-SAS/m-p/266376#M14027</link>
      <description>&lt;P&gt;Some things to consider. &amp;nbsp;AUC is likely lognormally distributed. &amp;nbsp;Iget something like this from:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc power;
   OneSampleMeans test = t Dist = LogNormal
      Alpha = 0.05
      Sides = 2
      Mean = 0.8
      NullMean = 0.79
      CV = 0.06125
      Power = 0.8
      NTotal = .
   ;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Where I got the CV as .049/0.8.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This may just be coincidental, though.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Steve Denham&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2016 13:57:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-do-a-sample-size-calculation-based-on-AUC-in-SAS/m-p/266376#M14027</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2016-04-26T13:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: How do I do a sample size calculation based on AUC in SAS?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-do-a-sample-size-calculation-based-on-AUC-in-SAS/m-p/658341#M31536</link>
      <description>&lt;P&gt;This simple macro below gives you the figures using the formula in&amp;nbsp;Hanley JA, McNeil BJ. The meaning and use of the area under a receiver operating characteristic (ROC) curve. Radiology. 1982 Apr;143(1):29-36.&amp;nbsp;&lt;/P&gt;&lt;P&gt;N=302&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;%macro power_auc(a=, k=, j=, out=);&lt;/P&gt;&lt;P&gt;data a;&lt;/P&gt;&lt;P&gt;call streaminit(11);&lt;BR /&gt;do i=1 to 1;&lt;/P&gt;&lt;P&gt;AUC=&amp;amp;a.;&lt;BR /&gt;Q1=(AUC / (2 - AUC));&lt;BR /&gt;Q2=(2*AUC**2)/(1+AUC);&lt;BR /&gt;N1=&amp;amp;k.;&lt;BR /&gt;N2=&amp;amp;j.;&lt;BR /&gt;SE=sqrt(((AUC*(1-AUC))+(N1-1)*(Q1 - AUC**2)+(N2-1)*(Q2-AUC**2))/(N1*N2));&lt;/P&gt;&lt;P&gt;output;&lt;BR /&gt;end;&lt;/P&gt;&lt;P&gt;proc print;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;%mend;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%power_auc(a=.8, j=151, k=151, out=a8_n302);&lt;/P&gt;</description>
      <pubDate>Sun, 14 Jun 2020 10:18:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-do-a-sample-size-calculation-based-on-AUC-in-SAS/m-p/658341#M31536</guid>
      <dc:creator>acozzilepri</dc:creator>
      <dc:date>2020-06-14T10:18:24Z</dc:date>
    </item>
  </channel>
</rss>

