<?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: power and sample size calculation in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/power-and-sample-size-calculation/m-p/872624#M43159</link>
    <description>&lt;P&gt;Well, you did the analysis, so you should have everything you need to calculate a retrospective power (and don't get me started on why that is a bad idea.). I would avoid categorizing a continuous variable for this. This is actually a.ONECORR analysis, since regression is just fancy correlation. You mention an effect size of 0.45. If that is an f-squared estimate, what happens when you plug into this code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc power;
   onecorr dist=fisherz
      nullcorr = 0
      corr = 0.557186 /* this is the square root of 0.45/(1+0.45), in other words, the square root of R-squared obtained by rearranging f-squared */ 
      ntotal = 335
      power = .;&lt;BR /&gt;      sides = 1
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If your effect size is obtained some other way (omega squared, for instance), then ONEWAYMEANS is probably better suited to the task.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 27 Apr 2023 17:49:24 GMT</pubDate>
    <dc:creator>SteveDenham</dc:creator>
    <dc:date>2023-04-27T17:49:24Z</dc:date>
    <item>
      <title>power and sample size calculation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/power-and-sample-size-calculation/m-p/871361#M43108</link>
      <description>&lt;P&gt;I want to double-check my proposal sample size and power calculation methods&lt;/P&gt;
&lt;P&gt;- aim 1, I have 335 participants, cross-sectional study, linear regression, the estimated effect size is 0.45, single-side test, which ways to calculate achieved power? My method is using t-test to calculate.&lt;/P&gt;
&lt;P&gt;- aim 2, retrospective cohort study, the estimated effect size is 0.45, single-sided test, which ways will be appropriate to calculate achieved power?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Sun, 23 Apr 2023 04:02:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/power-and-sample-size-calculation/m-p/871361#M43108</guid>
      <dc:creator>aw016</dc:creator>
      <dc:date>2023-04-23T04:02:42Z</dc:date>
    </item>
    <item>
      <title>Re: power and sample size calculation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/power-and-sample-size-calculation/m-p/872564#M43152</link>
      <description>&lt;P&gt;See the PROC POWER documentation for code to do these.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2023 12:56:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/power-and-sample-size-calculation/m-p/872564#M43152</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2023-04-27T12:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: power and sample size calculation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/power-and-sample-size-calculation/m-p/872589#M43157</link>
      <description>&lt;P&gt;Hi Steve, thank you for your reply! I have PROC POWER code. However,&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;I guess my question is more related to logic for calculating instead of calculation tools. For example, if the independent variables and dependent variables are continuous. Would it be appropriate if I calculate the achieved power in this way: categorizing independent variables into tertiles --&amp;gt; estimated effect size is 0.45 between 3rd tertile and 1st tertile for dependent variable --&amp;gt; get power around 90% based on sample size = 335?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2023 15:19:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/power-and-sample-size-calculation/m-p/872589#M43157</guid>
      <dc:creator>aw016</dc:creator>
      <dc:date>2023-04-27T15:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: power and sample size calculation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/power-and-sample-size-calculation/m-p/872624#M43159</link>
      <description>&lt;P&gt;Well, you did the analysis, so you should have everything you need to calculate a retrospective power (and don't get me started on why that is a bad idea.). I would avoid categorizing a continuous variable for this. This is actually a.ONECORR analysis, since regression is just fancy correlation. You mention an effect size of 0.45. If that is an f-squared estimate, what happens when you plug into this code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc power;
   onecorr dist=fisherz
      nullcorr = 0
      corr = 0.557186 /* this is the square root of 0.45/(1+0.45), in other words, the square root of R-squared obtained by rearranging f-squared */ 
      ntotal = 335
      power = .;&lt;BR /&gt;      sides = 1
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If your effect size is obtained some other way (omega squared, for instance), then ONEWAYMEANS is probably better suited to the task.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2023 17:49:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/power-and-sample-size-calculation/m-p/872624#M43159</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2023-04-27T17:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: power and sample size calculation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/power-and-sample-size-calculation/m-p/872671#M43161</link>
      <description>&lt;P&gt;Thank you so much, Steve! I was asked to show the achieved power by professor lol, although 335 is all I have.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2023 20:18:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/power-and-sample-size-calculation/m-p/872671#M43161</guid>
      <dc:creator>aw016</dc:creator>
      <dc:date>2023-04-27T20:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: power and sample size calculation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/power-and-sample-size-calculation/m-p/873228#M43192</link>
      <description>&lt;P&gt;Given the various effect sizes I plugged in, 28 is going to give at least 80% power for a one-sided test, at an effect size of 0.45 (R squared, or.0.55 F squared) and alpha=0.05.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
      <pubDate>Mon, 01 May 2023 18:34:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/power-and-sample-size-calculation/m-p/873228#M43192</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2023-05-01T18:34:42Z</dc:date>
    </item>
  </channel>
</rss>

