<?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 for proportion repeated measures in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Sample-size-calculation-for-proportion-repeated-measures/m-p/317608#M16710</link>
    <description>&lt;P&gt;do you mean that you want to know the sample sizes required with enough sensitivity to pick up at least a 5% and 7% increase in binary responses respectively?&lt;/P&gt;</description>
    <pubDate>Thu, 08 Dec 2016 14:09:28 GMT</pubDate>
    <dc:creator>Damien_Mather</dc:creator>
    <dc:date>2016-12-08T14:09:28Z</dc:date>
    <item>
      <title>Sample size calculation for proportion repeated measures</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Sample-size-calculation-for-proportion-repeated-measures/m-p/317603#M16708</link>
      <description>&lt;P&gt;Hi...I'm trying to figure out which procedure to use to calculate sample size for a difference in difference binary repeated measures. It looks like proc GLMPOWER would work great, as the examples shown match my situation quite well. The only exception is i have proprotions in my two time periods (pre and post). Again, i am trying to determine the difference for say the control going from 50% to 55% (pre to post) versus the test period going from 50% to 57% (pre to post). I know the treatment*time term will give us this answer, but i am trying to find the correct procedure to calculate sample size in this prospective study.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is what the hypothetical summary data looks like:&lt;/P&gt;&lt;P&gt;cntl&amp;nbsp;0.50 0.55&lt;/P&gt;&lt;P&gt;test&amp;nbsp;0.50 0.57&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 08 Dec 2016 13:51:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Sample-size-calculation-for-proportion-repeated-measures/m-p/317603#M16708</guid>
      <dc:creator>Seth</dc:creator>
      <dc:date>2016-12-08T13:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: Sample size calculation for proportion repeated measures</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Sample-size-calculation-for-proportion-repeated-measures/m-p/317608#M16710</link>
      <description>&lt;P&gt;do you mean that you want to know the sample sizes required with enough sensitivity to pick up at least a 5% and 7% increase in binary responses respectively?&lt;/P&gt;</description>
      <pubDate>Thu, 08 Dec 2016 14:09:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Sample-size-calculation-for-proportion-repeated-measures/m-p/317608#M16710</guid>
      <dc:creator>Damien_Mather</dc:creator>
      <dc:date>2016-12-08T14:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: Sample size calculation for proportion repeated measures</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Sample-size-calculation-for-proportion-repeated-measures/m-p/317659#M16713</link>
      <description>&lt;P&gt;no, this is a difference in difference, where i want to look at the time*treatment interaction term...this term parses out the effect due to just treatment, controllng for the pre post time trend. A mixed model, or a two way ANOVA with repeated value is the way to conduct analysis, but i am looking for samples size calculation for this prospective study. GLMPower seems to be the new way to handle sample calculations, but it doens mention if it applies to binary data or not.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;here is SAS code that i used. Again, my question is does PROC GLMPoser apply to binary data, and if not, how bad of an error would it be to use GLMPower to binary data?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; TrainingSummaryData;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;input&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; Training $ Pre Post;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;datalines&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;test&amp;nbsp;0.70 0.75&lt;/P&gt;&lt;P&gt;cntl&amp;nbsp;0.70 0.7875&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;graphics&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;on&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;glmpower&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=TrainingSummaryData;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;class&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; Training;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;model&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; Pre Post = Training;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#ff0000" face="Courier New" size="3"&gt;repeated&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; Time contrast;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;power&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;mtest = hlt&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;alpha&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; = &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;0.05&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;power&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; = &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;.8&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;ntotal&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; = &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;stddev&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; = &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;0.25&lt;/FONT&gt;&lt;/STRONG&gt; &lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;0.5&lt;/FONT&gt;&lt;/STRONG&gt; &lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;1.0&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;matrix (&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"Corr6"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;) = (&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;0.6&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;) &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;/* corrmat = "Corr";*/&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;corrs = &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"Corr6"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; ;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Dec 2016 17:27:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Sample-size-calculation-for-proportion-repeated-measures/m-p/317659#M16713</guid>
      <dc:creator>Seth</dc:creator>
      <dc:date>2016-12-08T17:27:21Z</dc:date>
    </item>
    <item>
      <title>Re: Sample size calculation for proportion repeated measures</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Sample-size-calculation-for-proportion-repeated-measures/m-p/317711#M16723</link>
      <description>&lt;P&gt;If you anticipate doing data analysis with the GLIMMIX procedure (or, I suppose, even if you do&amp;nbsp;not), you can specify an exemplary data set of interest and use the HOLD option on the PARMS statement to compute power. Walt Stroup illustrates the process here&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A title="PROC GLIMMIX as a teaching and planning tool for experimental design" href="http://support.sas.com/resources/papers/proceedings16/11663-2016.pdf" target="_self"&gt;http://support.sas.com/resources/papers/proceedings16/11663-2016.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The method is also covered in his text (Generalized Linear Mixed Models, CRC Press, 2013, Ch 16).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think GLMPOWER is appropriate for response variables that follow normal distributions, not for proportion or binomial responses. The POWER procedure has capabilities for non-normal responses, but minimal&amp;nbsp;abillity to deal with mixed models.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Dec 2016 22:15:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Sample-size-calculation-for-proportion-repeated-measures/m-p/317711#M16723</guid>
      <dc:creator>sld</dc:creator>
      <dc:date>2016-12-08T22:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: Sample size calculation for proportion repeated measures</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Sample-size-calculation-for-proportion-repeated-measures/m-p/317760#M16730</link>
      <description>&lt;P&gt;Thanks for the reference to the paper, what a gem that is. I'll be using that method for a lot of my designs in future.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2016 01:16:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Sample-size-calculation-for-proportion-repeated-measures/m-p/317760#M16730</guid>
      <dc:creator>Damien_Mather</dc:creator>
      <dc:date>2016-12-09T01:16:34Z</dc:date>
    </item>
  </channel>
</rss>

