<?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: PROC POWER Calculation in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-POWER-Calculation/m-p/693479#M33461</link>
    <description>&lt;P&gt;There is probably a way to do this in PROC POWER, but this is one case where I think a simple calculation can give the answer.&amp;nbsp; It is a matter of using the binomial formula [ NtakeM * pprob^M * (1-pprob)^(N - M) ].&amp;nbsp; So if you want the probability of at least one out of the 60, you calculate this as = (1 - prob(M=0)).&amp;nbsp; Using your prior estimate of pprob=0.333, I get prob(M=0) = 60take0 * (0.333)^0 * (1 - 0.333)^60 = 1 * 1 * 0.667^60 = 2.72e-11, which gives the probability of at least one adverse event as 1 - 2.72e-11 = &lt;STRONG&gt;0.99999999997280278361063568173433.&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;The probability of&amp;nbsp;&lt;U&gt;exactly&lt;/U&gt; one adverse event is 60take1 * (0.333) * (1 - 0.333)^59 = 60 * 0.333 * 4.08e-11 =&amp;nbsp;8.1591649168092954797017275793104e-10.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
    <pubDate>Thu, 22 Oct 2020 12:28:57 GMT</pubDate>
    <dc:creator>SteveDenham</dc:creator>
    <dc:date>2020-10-22T12:28:57Z</dc:date>
    <item>
      <title>PROC POWER Calculation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-POWER-Calculation/m-p/693332#M33458</link>
      <description>&lt;P&gt;Hi, I have a power calculation question.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I have an initial study that has 6 subjects and a follow-up study with 60 subjects.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can I find the probability of any of the 60 subjects experiencing an Adverse event, if&amp;nbsp; &amp;gt;=33% of the 6 subjects develops an Adverse event. I was going to try to use PROC prower for this, but was unsure where to start.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 21:32:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-POWER-Calculation/m-p/693332#M33458</guid>
      <dc:creator>kmardinian</dc:creator>
      <dc:date>2020-10-21T21:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: PROC POWER Calculation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-POWER-Calculation/m-p/693479#M33461</link>
      <description>&lt;P&gt;There is probably a way to do this in PROC POWER, but this is one case where I think a simple calculation can give the answer.&amp;nbsp; It is a matter of using the binomial formula [ NtakeM * pprob^M * (1-pprob)^(N - M) ].&amp;nbsp; So if you want the probability of at least one out of the 60, you calculate this as = (1 - prob(M=0)).&amp;nbsp; Using your prior estimate of pprob=0.333, I get prob(M=0) = 60take0 * (0.333)^0 * (1 - 0.333)^60 = 1 * 1 * 0.667^60 = 2.72e-11, which gives the probability of at least one adverse event as 1 - 2.72e-11 = &lt;STRONG&gt;0.99999999997280278361063568173433.&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;The probability of&amp;nbsp;&lt;U&gt;exactly&lt;/U&gt; one adverse event is 60take1 * (0.333) * (1 - 0.333)^59 = 60 * 0.333 * 4.08e-11 =&amp;nbsp;8.1591649168092954797017275793104e-10.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
      <pubDate>Thu, 22 Oct 2020 12:28:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-POWER-Calculation/m-p/693479#M33461</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2020-10-22T12:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: PROC POWER Calculation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-POWER-Calculation/m-p/693570#M33466</link>
      <description>Thank you, that makes sense! But is 0.333 really the probability of the event occurring? I thought it was just the proportion of subjects that experienced the event.</description>
      <pubDate>Thu, 22 Oct 2020 17:43:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-POWER-Calculation/m-p/693570#M33466</guid>
      <dc:creator>kmardinian</dc:creator>
      <dc:date>2020-10-22T17:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: PROC POWER Calculation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-POWER-Calculation/m-p/693595#M33473</link>
      <description>&lt;P&gt;0.333 is the point estimate of the probability (2 out of 6).&amp;nbsp; The 95% exact confidence bounds are 0.0433 and 0.7772, so the true probability is likely to be in that interval in 95% of the calculations of the point estimate.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could plug these bounds into the formulas I had earlier, and get estimates for the 50% fiducial limits (point limits) for the 2.5 %ile point and 97.5%ile point.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What i really think you might want is: Given a sample size of 60, what is the number of adverse events you would have to observe to be 95% confident that the true value was 0.333 with 80% power.&amp;nbsp; Now that, or something like that, is something you can plug into PROC POWER, using the onesamplefreq option.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
      <pubDate>Thu, 22 Oct 2020 19:03:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-POWER-Calculation/m-p/693595#M33473</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2020-10-22T19:03:26Z</dc:date>
    </item>
    <item>
      <title>Re: PROC POWER Calculation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-POWER-Calculation/m-p/694620#M33526</link>
      <description>Hi Steve,&lt;BR /&gt;&lt;BR /&gt;Thank you, that is a better idea. (Given a sample size of 60, what is the number of adverse events you would have to observe to be 95% confident that the true value was 0.333 with 80% power.)&lt;BR /&gt;&lt;BR /&gt;How would you set that up in proc power?</description>
      <pubDate>Tue, 27 Oct 2020 15:44:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-POWER-Calculation/m-p/694620#M33526</guid>
      <dc:creator>kmardinian</dc:creator>
      <dc:date>2020-10-27T15:44:11Z</dc:date>
    </item>
  </channel>
</rss>

