<?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 Sample size calculation for multiple paired comparisons in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Sample-size-calculation-for-multiple-paired-comparisons/m-p/711758#M34422</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please, I need help calculating sample sizes for 3 paired comparisons. I am looking at 3 measurements of blood glucose within the same individual to see if there is difference.&amp;nbsp; I am also concerned about p-value correction such as Bonferroni and holm I do know how to apply it to the codes if required.&lt;/P&gt;
&lt;P&gt;The following is my code.&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods pdf file="C:\temp\Merged44.pdf" style = minimal;
 ods graphics on;
 title " Sample size by power";
proc power ;
 pairedmeans test=diff 
  meandiff =4.5
  std = 12.5
  corr = .20 0.25 0.30
  npairs = .
  alpha =.05 
  power = 0.8 0.85 0.9;
plot
min=0.8
yopts=(ref=280 crossref=yes)
vary(color by stddev, linestyle by meandiff, symbol by corr);
ods graphics off;
 quit;
 ods pdf close;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 15 Jan 2021 19:26:58 GMT</pubDate>
    <dc:creator>UcheOkoro</dc:creator>
    <dc:date>2021-01-15T19:26:58Z</dc:date>
    <item>
      <title>Sample size calculation for multiple paired comparisons</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Sample-size-calculation-for-multiple-paired-comparisons/m-p/711758#M34422</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please, I need help calculating sample sizes for 3 paired comparisons. I am looking at 3 measurements of blood glucose within the same individual to see if there is difference.&amp;nbsp; I am also concerned about p-value correction such as Bonferroni and holm I do know how to apply it to the codes if required.&lt;/P&gt;
&lt;P&gt;The following is my code.&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods pdf file="C:\temp\Merged44.pdf" style = minimal;
 ods graphics on;
 title " Sample size by power";
proc power ;
 pairedmeans test=diff 
  meandiff =4.5
  std = 12.5
  corr = .20 0.25 0.30
  npairs = .
  alpha =.05 
  power = 0.8 0.85 0.9;
plot
min=0.8
yopts=(ref=280 crossref=yes)
vary(color by stddev, linestyle by meandiff, symbol by corr);
ods graphics off;
 quit;
 ods pdf close;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 15 Jan 2021 19:26:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Sample-size-calculation-for-multiple-paired-comparisons/m-p/711758#M34422</guid>
      <dc:creator>UcheOkoro</dc:creator>
      <dc:date>2021-01-15T19:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: Sample size calculation for multiple paired comparisons</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Sample-size-calculation-for-multiple-paired-comparisons/m-p/712052#M34430</link>
      <description>&lt;P&gt;If I understand your question, you simply apply the Bonferroni correction to the alpha; in you case, the adjusted alpha would be 0.05/3 = 0.017&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;More here, including discussion of adjustment for correlation between predictors:&amp;nbsp;&lt;A href="https://stats.idre.ucla.edu/sas/dae/multiple-regression-power-analysis/" target="_blank"&gt;https://stats.idre.ucla.edu/sas/dae/multiple-regression-power-analysis/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2021 09:26:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Sample-size-calculation-for-multiple-paired-comparisons/m-p/712052#M34430</guid>
      <dc:creator>Norman21</dc:creator>
      <dc:date>2021-01-18T09:26:44Z</dc:date>
    </item>
  </channel>
</rss>

