<?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: Sample size estimation with PROC POWER in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Sample-size-estimation-with-PROC-POWER/m-p/23935#M824</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Yasu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am glad to see your question. The point here I could tell you is that the graph is correct, but this doesn't mean the output window is wrong. In fact, in the output window, the Power is the eact power with the corresponding size can reach. If we round the 25.05, we can get&amp;nbsp; 25, thus from the output window, with size&amp;nbsp; equals to 25, we can get exactly 90.3% power. Hope this can make you clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Frankgreen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Jul 2012 04:24:57 GMT</pubDate>
    <dc:creator>Jack2012</dc:creator>
    <dc:date>2012-07-24T04:24:57Z</dc:date>
    <item>
      <title>Sample size estimation with PROC POWER</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Sample-size-estimation-with-PROC-POWER/m-p/23934#M823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I estimated the sample size for the AB/BA cross-over trial with PROC POWER.&lt;/P&gt;&lt;P&gt;The code was as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*Sample code*/;&lt;/P&gt;&lt;P&gt;proc power;&lt;/P&gt;&lt;P&gt;&amp;nbsp; pairedmeans test=equiv_ratio dist=lognormal &lt;/P&gt;&lt;P&gt;&amp;nbsp; meanratio = 1.10&lt;/P&gt;&lt;P&gt;&amp;nbsp; alpha&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0.05 &lt;/P&gt;&lt;P&gt;&amp;nbsp; cv&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0.15&lt;/P&gt;&lt;P&gt;&amp;nbsp; corr&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; lower&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0.8&lt;/P&gt;&lt;P&gt;&amp;nbsp; upper&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 1.25&lt;/P&gt;&lt;P&gt;&amp;nbsp; npairs&amp;nbsp;&amp;nbsp;&amp;nbsp; = 2 to 100 by 1&lt;/P&gt;&lt;P&gt;&amp;nbsp; power&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =. ;&lt;/P&gt;&lt;P&gt;&amp;nbsp; plot&amp;nbsp; min=2 max=100 yopts=(ref=0.8, 0.9 crossref=yes);&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found that the results were not consistent between the output window and the graph.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the graph, the Number of pairs corresponding to the power of 90% was 25.05.&lt;/P&gt;&lt;P&gt;But, the result on the output window was as follows;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Index&amp;nbsp;&amp;nbsp;&amp;nbsp; N Pairs&amp;nbsp;&amp;nbsp;&amp;nbsp; Power&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 23&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 24&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.892&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 24&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 25&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.903&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 25&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 26&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.913&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which is the more exact result ?&lt;/P&gt;&lt;P&gt;Or, is this just a round-off error ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd appreciate it if someone would help me.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yasu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2012 01:41:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Sample-size-estimation-with-PROC-POWER/m-p/23934#M823</guid>
      <dc:creator>Yasu</dc:creator>
      <dc:date>2012-03-07T01:41:44Z</dc:date>
    </item>
    <item>
      <title>Re: Sample size estimation with PROC POWER</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Sample-size-estimation-with-PROC-POWER/m-p/23935#M824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Yasu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am glad to see your question. The point here I could tell you is that the graph is correct, but this doesn't mean the output window is wrong. In fact, in the output window, the Power is the eact power with the corresponding size can reach. If we round the 25.05, we can get&amp;nbsp; 25, thus from the output window, with size&amp;nbsp; equals to 25, we can get exactly 90.3% power. Hope this can make you clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Frankgreen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2012 04:24:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Sample-size-estimation-with-PROC-POWER/m-p/23935#M824</guid>
      <dc:creator>Jack2012</dc:creator>
      <dc:date>2012-07-24T04:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: Sample size estimation with PROC POWER</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Sample-size-estimation-with-PROC-POWER/m-p/23936#M825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Frankgreen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I almost agree with you, but I don't think that the graph is exact because it is an approximate value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please submit the example code below.&lt;/P&gt;&lt;P&gt;Comparing results, you can see that the estimated value on the graph can be affected by the number of values for the parameter, that is, the precision can differ depending on the option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*example1*/&lt;BR /&gt;proc power;&lt;BR /&gt;&amp;nbsp; pairedmeans test=equiv_ratio dist=lognormal &lt;BR /&gt;&amp;nbsp; meanratio = 1.10&lt;BR /&gt;&amp;nbsp; alpha&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0.05 &lt;BR /&gt;&amp;nbsp; cv&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0.15&lt;BR /&gt;&amp;nbsp; corr&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0&lt;BR /&gt;&amp;nbsp; lower&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0.8&lt;BR /&gt;&amp;nbsp; upper&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 1.25&lt;BR /&gt;&amp;nbsp; npairs&amp;nbsp;&amp;nbsp;&amp;nbsp; = 2 to 100 by 1&lt;BR /&gt;&amp;nbsp; power&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =. ;&lt;BR /&gt;&amp;nbsp; plot&amp;nbsp; min=2 max=100 yopts=(ref=0.8, 0.9 crossref=yes) ;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*example2*/&lt;BR /&gt;proc power;&lt;BR /&gt;&amp;nbsp; pairedmeans test=equiv_ratio dist=lognormal &lt;BR /&gt;&amp;nbsp; meanratio = 1.10&lt;BR /&gt;&amp;nbsp; alpha&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0.05 &lt;BR /&gt;&amp;nbsp; cv&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0.15&lt;BR /&gt;&amp;nbsp; corr&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0&lt;BR /&gt;&amp;nbsp; lower&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0.8&lt;BR /&gt;&amp;nbsp; upper&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 1.25&lt;BR /&gt;&amp;nbsp; npairs&amp;nbsp;&amp;nbsp;&amp;nbsp; = 2 to 100 by 1&lt;BR /&gt;&amp;nbsp; power&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =. ;&lt;BR /&gt;&amp;nbsp; plot&amp;nbsp; min=2 max=100 yopts=(ref=0.8, 0.9 crossref=yes) npts=500;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regard,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yasu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2012 08:42:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Sample-size-estimation-with-PROC-POWER/m-p/23936#M825</guid>
      <dc:creator>Yasu</dc:creator>
      <dc:date>2012-07-24T08:42:05Z</dc:date>
    </item>
  </channel>
</rss>

