<?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: sample size calculation based on an RxC table in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/sample-size-calculation-based-on-an-RxC-table/m-p/509985#M137192</link>
    <description>Thank you for the response.&lt;BR /&gt;I also know this link is great for RxC table. &lt;A href="http://support.sas.com/kb/25/013.html" target="_blank"&gt;http://support.sas.com/kb/25/013.html&lt;/A&gt;&lt;BR /&gt;But it assumes not exactly the method I want. I am wondering how can use all the information in this RxC table to do the sample size calculation.</description>
    <pubDate>Fri, 02 Nov 2018 17:47:15 GMT</pubDate>
    <dc:creator>superbibi</dc:creator>
    <dc:date>2018-11-02T17:47:15Z</dc:date>
    <item>
      <title>sample size calculation based on an RxC table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sample-size-calculation-based-on-an-RxC-table/m-p/509957#M137178</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have this table&amp;nbsp;from a previous study showing the&amp;nbsp;questionnaire outcomes&amp;nbsp;of two groups of people with chi-square test.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The table shows the percentage of participant&amp;nbsp;response at each score.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I use this information to calculation the sample size for a new study in order to gain a significant different between two randomized groups with 1:1 allocation ratio, type I error = 0.05 and power = 0.8?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&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lt;/TD&gt;&lt;TD&gt;0.3&lt;/TD&gt;&lt;TD&gt;0.2&lt;/TD&gt;&lt;TD&gt;0.4&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Fri, 02 Nov 2018 16:40:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sample-size-calculation-based-on-an-RxC-table/m-p/509957#M137178</guid>
      <dc:creator>superbibi</dc:creator>
      <dc:date>2018-11-02T16:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: sample size calculation based on an RxC table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sample-size-calculation-based-on-an-RxC-table/m-p/509973#M137183</link>
      <description>I think you want PROC POWER. &lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.lexjansen.com/wuss/2016/105_Final_Paper_PDF.pdf" target="_blank"&gt;https://www.lexjansen.com/wuss/2016/105_Final_Paper_PDF.pdf&lt;/A&gt;</description>
      <pubDate>Fri, 02 Nov 2018 17:16:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sample-size-calculation-based-on-an-RxC-table/m-p/509973#M137183</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-11-02T17:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: sample size calculation based on an RxC table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sample-size-calculation-based-on-an-RxC-table/m-p/509985#M137192</link>
      <description>Thank you for the response.&lt;BR /&gt;I also know this link is great for RxC table. &lt;A href="http://support.sas.com/kb/25/013.html" target="_blank"&gt;http://support.sas.com/kb/25/013.html&lt;/A&gt;&lt;BR /&gt;But it assumes not exactly the method I want. I am wondering how can use all the information in this RxC table to do the sample size calculation.</description>
      <pubDate>Fri, 02 Nov 2018 17:47:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sample-size-calculation-based-on-an-RxC-table/m-p/509985#M137192</guid>
      <dc:creator>superbibi</dc:creator>
      <dc:date>2018-11-02T17:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: sample size calculation based on an RxC table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sample-size-calculation-based-on-an-RxC-table/m-p/509998#M137194</link>
      <description>That link is a teenager (2005?). If you want to use all the information, then in my experience, no proc will work, you have to simulate the data and CI and power you want.</description>
      <pubDate>Fri, 02 Nov 2018 18:19:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sample-size-calculation-based-on-an-RxC-table/m-p/509998#M137194</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-11-02T18:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: sample size calculation based on an RxC table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sample-size-calculation-based-on-an-RxC-table/m-p/510016#M137200</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/117839"&gt;@superbibi&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Many thanks for the link. Apparently I wasn't aware of this macro when I posted &lt;A href="https://communities.sas.com/t5/SAS-Statistical-Procedures/proc-power-for-multiple-groups/m-p/273884#M14424" target="_blank"&gt;Re: proc power for multiple groups&lt;/A&gt;&amp;nbsp;in 2016 (includes sample size calculation and a simulation). In that thread the RxC table was transposed (two proportions, more than two groups) and the &lt;SPAN&gt;likelihood-ratio chi-square&amp;nbsp;test was used&lt;/SPAN&gt;.&amp;nbsp;It seems to me (at first glance) that the formula from Chow et al. (2008) I applied there doesn't use more information from the RxC table than the powerRxC macro. Couldn't it be too restrictive to use more information?&lt;/P&gt;</description>
      <pubDate>Fri, 02 Nov 2018 18:57:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sample-size-calculation-based-on-an-RxC-table/m-p/510016#M137200</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2018-11-02T18:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: sample size calculation based on an RxC table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sample-size-calculation-based-on-an-RxC-table/m-p/510019#M137201</link>
      <description>&lt;P&gt;Thank you. Do you think I should assume a meaningful difference of probability regarding this kind of sample size assumption? For example, in this case I use the information in question 6, which showed 0.2 and 0.1 at study and control group, and I wrote the code as below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you think this method appropriate?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc power;
      twosamplefreq test=pchi
         groupproportions = (.20 .10)
         nullproportiondiff = .10 to 0.40 by 0.1
         npergroup=.
         alpha = 0.05
         power = 0.8;
   run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 02 Nov 2018 19:02:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sample-size-calculation-based-on-an-RxC-table/m-p/510019#M137201</guid>
      <dc:creator>superbibi</dc:creator>
      <dc:date>2018-11-02T19:02:14Z</dc:date>
    </item>
    <item>
      <title>Re: sample size calculation based on an RxC table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sample-size-calculation-based-on-an-RxC-table/m-p/510098#M137245</link>
      <description>&lt;P&gt;If you asked me I'd say now you go in the opposite direction and use &lt;EM&gt;less&lt;/EM&gt; information from the table. Then your sample sizes will tend to be larger than before.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Nov 2018 22:44:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sample-size-calculation-based-on-an-RxC-table/m-p/510098#M137245</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2018-11-02T22:44:17Z</dc:date>
    </item>
  </channel>
</rss>

