<?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: Why no solution computed in PROC POWER in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Why-no-solution-computed-in-PROC-POWER/m-p/182450#M9476</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use simulation to estimate the power. See the program at &lt;A href="http://blogs.sas.com/content/iml/2013/05/30/simulation-power/" title="http://blogs.sas.com/content/iml/2013/05/30/simulation-power/"&gt;&amp;nbsp; Using simulation to estimate the power of a statistical test - The DO Loop&lt;/A&gt; but use&lt;/P&gt;&lt;P&gt;RejectH0 = &lt;SPAN style="color: #66cc66;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;Probt&lt;/SPAN&gt; &amp;lt;= &lt;SPAN style="color: #2e8b57; font-weight: bold;"&gt;0.1&lt;/SPAN&gt;&lt;SPAN style="color: #66cc66;"&gt;)&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;method="Satterthwaite". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The estimate of the power is 0.8530, with a 95% CI of [0.8311, 0.8744].&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Sep 2014 14:28:18 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2014-09-02T14:28:18Z</dc:date>
    <item>
      <title>Why no solution computed in PROC POWER</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Why-no-solution-computed-in-PROC-POWER/m-p/182448#M9474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear,&lt;/P&gt;&lt;P&gt;Currently I am using SAS 9.4 to calculate the power with the given size and un-equal variance between 2 groups. However, when I submitted the following code, it turned out there was NO SOLUTION COMPUTED, hence I seek your help on this.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;By the way, I have read the guidance regard to this test method, and found there was no wrong in the code.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;The Code:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;proc power;&lt;/P&gt;&lt;P&gt;&amp;nbsp; twosamplemeans test=diff_satt &lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; groupmeans=(1.2 0.1)/*Specify group means: grp1_mean=1.2, grp2_mean=0.1*/&lt;/P&gt;&lt;P&gt;&amp;nbsp; alpha=0.1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*Specify the test significance level*/&lt;/P&gt;&lt;P&gt;&amp;nbsp; sides=2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*Specify the test is two-sided*/ &lt;/P&gt;&lt;P&gt;&amp;nbsp; groupstddevs=(1.2, 0.1)/*Specify the standard deviation for each group: grp1_std=1.2 grp2_std=0.1*/&lt;/P&gt;&lt;P&gt;&amp;nbsp; groupns=(10 10)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*Specify the number of sample size in each group:grp1_N=grp2_N=10*/&lt;/P&gt;&lt;P&gt;&amp;nbsp; power=.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*Request the power with above prerequisite*/&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="sample size calculation.png" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/7261_sample size calculation.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Frank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2014 03:00:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Why-no-solution-computed-in-PROC-POWER/m-p/182448#M9474</guid>
      <dc:creator>Jack2012</dc:creator>
      <dc:date>2014-09-02T03:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: Why no solution computed in PROC POWER</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Why-no-solution-computed-in-PROC-POWER/m-p/182449#M9475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was able to duplicate this behavior, and was a bit surprised.&amp;nbsp; I tried two one-sided tests at alpha=0.2 and was able to get results, but am baffled by this particular behavior.&amp;nbsp; It remains until the Group 2 standard deviation gets to about 10% of the Group 1 value.&amp;nbsp; So you could say the power was greater than 0.846.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It appears that this result occurs whenever the ratio of the SD's is greater than 10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2014 13:42:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Why-no-solution-computed-in-PROC-POWER/m-p/182449#M9475</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2014-09-02T13:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: Why no solution computed in PROC POWER</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Why-no-solution-computed-in-PROC-POWER/m-p/182450#M9476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use simulation to estimate the power. See the program at &lt;A href="http://blogs.sas.com/content/iml/2013/05/30/simulation-power/" title="http://blogs.sas.com/content/iml/2013/05/30/simulation-power/"&gt;&amp;nbsp; Using simulation to estimate the power of a statistical test - The DO Loop&lt;/A&gt; but use&lt;/P&gt;&lt;P&gt;RejectH0 = &lt;SPAN style="color: #66cc66;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;Probt&lt;/SPAN&gt; &amp;lt;= &lt;SPAN style="color: #2e8b57; font-weight: bold;"&gt;0.1&lt;/SPAN&gt;&lt;SPAN style="color: #66cc66;"&gt;)&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;method="Satterthwaite". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The estimate of the power is 0.8530, with a 95% CI of [0.8311, 0.8744].&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2014 14:28:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Why-no-solution-computed-in-PROC-POWER/m-p/182450#M9476</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2014-09-02T14:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: Why no solution computed in PROC POWER</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Why-no-solution-computed-in-PROC-POWER/m-p/182451#M9477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Steve,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks so much. Yes, this is another good way to present.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Frank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 03:59:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Why-no-solution-computed-in-PROC-POWER/m-p/182451#M9477</guid>
      <dc:creator>Jack2012</dc:creator>
      <dc:date>2014-09-03T03:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: Why no solution computed in PROC POWER</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Why-no-solution-computed-in-PROC-POWER/m-p/182452#M9478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Rick,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much, yeah. Simulation is one way to calcualte the power. However, it seems in PROC POWER, this is one bug? Hope in future this can be resolved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Frank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 04:00:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Why-no-solution-computed-in-PROC-POWER/m-p/182452#M9478</guid>
      <dc:creator>Jack2012</dc:creator>
      <dc:date>2014-09-03T04:00:48Z</dc:date>
    </item>
  </channel>
</rss>

