<?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 determination for multiple proportions in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Sample-size-determination-for-multiple-proportions/m-p/264964#M52033</link>
    <description>&lt;P&gt;&lt;STRONG&gt;Aim&lt;/STRONG&gt;: To determine the required sample size (per group) to determine effect of an intervention given at time A, B and C on the proportion of people that "convert" compared to baseline.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Question&lt;/STRONG&gt;:&amp;nbsp;which SAS procedure allows for the calculation of required sample size to compare multiple proportions (here there are four groups (three interventions: control/A control/B and control/C)?&lt;/P&gt;&lt;P&gt;.. it seems that SAS PROC POWER only allows sample size determination for comparing two proportions&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As an aside, once the "experiment" is finished I plan to:&lt;/P&gt;&lt;P&gt;* Use PROC FREQ CHISQ option.&lt;BR /&gt;* If significant, then use PROC MULTTEST to&amp;nbsp;determine which intervention differs from baseline.&lt;/P&gt;&lt;P&gt;(Please comment if this would be incorrect ...). &amp;nbsp;The support&amp;nbsp;page&amp;nbsp;&lt;A href="http://support.sas.com/kb/22/565.html" target="_self"&gt;Performing multiple comparisons or tests on subtables following a significant Pearson chi-square&lt;/A&gt;&amp;nbsp;suggests that&amp;nbsp;&lt;SPAN&gt;multiplicity-adjusted Fisher or Cochran-Armitage tests can be used, but also provides an example of using the Bonferonni adjustment.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Update &amp;nbsp;&lt;/STRONG&gt;Whilst I am interested in the response and correct method on doing this, I realised that for this application there isn't a need to be so statistically correct. &amp;nbsp;What I plan to do is just determine the sample size required to compare two proportions... and then use this sample size for each of the interventions.&lt;/P&gt;&lt;P&gt;e.g. :&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc power; 
  twosamplefreq test=fisher 
  groupproportions = (.1  .15) 
  power = .8
  npergroup = . 
  sides = U;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;which would mean I need 576 people in each of the four groups... and&amp;nbsp;if no intervention has an effect, I have a 15% chance of saying one does... (which I can live with) when comparing the three pairwise tests (control/A control/B and control/C).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another option I can think of is to&amp;nbsp;calculate the required sample size at an alpha of 0.05/3 = 0.0167 (approx Bonferonni correction) then test for significance using chi-squared and then&amp;nbsp;use&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;proc multtest pdata=chisq bon;
         run;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 20 Apr 2016 02:48:56 GMT</pubDate>
    <dc:creator>mduarte</dc:creator>
    <dc:date>2016-04-20T02:48:56Z</dc:date>
    <item>
      <title>Sample size determination for multiple proportions</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sample-size-determination-for-multiple-proportions/m-p/264964#M52033</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Aim&lt;/STRONG&gt;: To determine the required sample size (per group) to determine effect of an intervention given at time A, B and C on the proportion of people that "convert" compared to baseline.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Question&lt;/STRONG&gt;:&amp;nbsp;which SAS procedure allows for the calculation of required sample size to compare multiple proportions (here there are four groups (three interventions: control/A control/B and control/C)?&lt;/P&gt;&lt;P&gt;.. it seems that SAS PROC POWER only allows sample size determination for comparing two proportions&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As an aside, once the "experiment" is finished I plan to:&lt;/P&gt;&lt;P&gt;* Use PROC FREQ CHISQ option.&lt;BR /&gt;* If significant, then use PROC MULTTEST to&amp;nbsp;determine which intervention differs from baseline.&lt;/P&gt;&lt;P&gt;(Please comment if this would be incorrect ...). &amp;nbsp;The support&amp;nbsp;page&amp;nbsp;&lt;A href="http://support.sas.com/kb/22/565.html" target="_self"&gt;Performing multiple comparisons or tests on subtables following a significant Pearson chi-square&lt;/A&gt;&amp;nbsp;suggests that&amp;nbsp;&lt;SPAN&gt;multiplicity-adjusted Fisher or Cochran-Armitage tests can be used, but also provides an example of using the Bonferonni adjustment.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Update &amp;nbsp;&lt;/STRONG&gt;Whilst I am interested in the response and correct method on doing this, I realised that for this application there isn't a need to be so statistically correct. &amp;nbsp;What I plan to do is just determine the sample size required to compare two proportions... and then use this sample size for each of the interventions.&lt;/P&gt;&lt;P&gt;e.g. :&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc power; 
  twosamplefreq test=fisher 
  groupproportions = (.1  .15) 
  power = .8
  npergroup = . 
  sides = U;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;which would mean I need 576 people in each of the four groups... and&amp;nbsp;if no intervention has an effect, I have a 15% chance of saying one does... (which I can live with) when comparing the three pairwise tests (control/A control/B and control/C).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another option I can think of is to&amp;nbsp;calculate the required sample size at an alpha of 0.05/3 = 0.0167 (approx Bonferonni correction) then test for significance using chi-squared and then&amp;nbsp;use&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;proc multtest pdata=chisq bon;
         run;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Apr 2016 02:48:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sample-size-determination-for-multiple-proportions/m-p/264964#M52033</guid>
      <dc:creator>mduarte</dc:creator>
      <dc:date>2016-04-20T02:48:56Z</dc:date>
    </item>
  </channel>
</rss>

