<?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: proc seqdesign in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/proc-seqdesign/m-p/468514#M24355</link>
    <description>&lt;P&gt;Different formulas are used for obtaining the sample size. SEQDESIGN computes it based on the maximum information as shown in&amp;nbsp; "Test for a Binomial Proportion" in the Details:&amp;nbsp;Applicable One-Sample Tests and Sample Size Computation section of the SEQDESIGN documentation. I believe EAST bases their computation on a closed form power equation. Also, they might use the alternative proportion in the computation which would be more like specifying REF=PROP in SEQDESIGN.&lt;/P&gt;</description>
    <pubDate>Thu, 07 Jun 2018 19:52:55 GMT</pubDate>
    <dc:creator>StatDave</dc:creator>
    <dc:date>2018-06-07T19:52:55Z</dc:date>
    <item>
      <title>proc seqdesign</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-seqdesign/m-p/468404#M24354</link>
      <description>&lt;P&gt;I'm wondering why SAS v9.4 proc seqdesign is giving me a substantively different sample size than EAST6.&amp;nbsp; The clinical trial design for both is as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Type I error:&amp;nbsp; 0.05&lt;/P&gt;&lt;P&gt;Type II error:&amp;nbsp; 0.10&lt;/P&gt;&lt;P&gt;one sample test of proportions:&amp;nbsp; null = 0.10, alternative = 0.265&lt;/P&gt;&lt;P&gt;upper test of the alternative (proportion &lt;U&gt;&amp;gt;&lt;/U&gt; 0.265&lt;/P&gt;&lt;P&gt;reference proportion is the null (proportion = 0.10)&lt;/P&gt;&lt;P&gt;stop for both futility or efficacy; binding futility boundary&lt;/P&gt;&lt;P&gt;two stages using an&amp;nbsp;error spending group sequential design with an O'Brien-Fleming type spending function&lt;/P&gt;&lt;P&gt;interim analysis at 50% of information&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get n=29 with SAS v9.4 proc seqdesign with these design parameters; EAST6 gives n=42.&amp;nbsp; I've pasted in the SAS code I used but I do not have the EAST6 equivalent.&amp;nbsp; I don't have access to EAST6 to investigate this, either.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help vastly appreciated!&lt;BR /&gt;&lt;BR /&gt;swannie&lt;/P&gt;&lt;P&gt;　&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;seqdesign&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;plots&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=boundary (hscale=samplesize) &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;boundaryscale&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=mle &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;errspend&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;OneSidedOBrienFleming: &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;design&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;nstages&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;2&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;method&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=errspendobf&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;alt&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=upper &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;stop&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=both (betaboundary=binding) &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;alpha&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;0.05&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;beta&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;0.10&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;info&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=equal;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;samplesize&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; model(ceiladjdesign=include) &lt;FONT face="Courier New" size="2"&gt;=onesamplefreq(nullprop=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;0.10&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; prop=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;0.265&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; ref=nullprop&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;); &lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;output&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; AdjustedBoundary=Bnd_Prop4; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jun 2018 15:08:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-seqdesign/m-p/468404#M24354</guid>
      <dc:creator>swannie</dc:creator>
      <dc:date>2018-06-07T15:08:21Z</dc:date>
    </item>
    <item>
      <title>Re: proc seqdesign</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-seqdesign/m-p/468514#M24355</link>
      <description>&lt;P&gt;Different formulas are used for obtaining the sample size. SEQDESIGN computes it based on the maximum information as shown in&amp;nbsp; "Test for a Binomial Proportion" in the Details:&amp;nbsp;Applicable One-Sample Tests and Sample Size Computation section of the SEQDESIGN documentation. I believe EAST bases their computation on a closed form power equation. Also, they might use the alternative proportion in the computation which would be more like specifying REF=PROP in SEQDESIGN.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jun 2018 19:52:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-seqdesign/m-p/468514#M24355</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2018-06-07T19:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: proc seqdesign</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-seqdesign/m-p/469705#M24433</link>
      <description>&lt;P&gt;Thanks, but could different formulas really give sample sizes that disparate?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jun 2018 18:25:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-seqdesign/m-p/469705#M24433</guid>
      <dc:creator>swannie</dc:creator>
      <dc:date>2018-06-12T18:25:52Z</dc:date>
    </item>
    <item>
      <title>Re: proc seqdesign</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-seqdesign/m-p/486985#M25253</link>
      <description>&lt;P&gt;Is this you, Suzanne?&lt;/P&gt;</description>
      <pubDate>Wed, 15 Aug 2018 13:50:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-seqdesign/m-p/486985#M25253</guid>
      <dc:creator>JulieB</dc:creator>
      <dc:date>2018-08-15T13:50:54Z</dc:date>
    </item>
    <item>
      <title>Re: proc seqdesign</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-seqdesign/m-p/487002#M25256</link>
      <description>&lt;P&gt;Yep, sure is.&amp;nbsp; BTW, the only reply I got to this post came in this week!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How are things at your new gig?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;S&lt;/P&gt;</description>
      <pubDate>Wed, 15 Aug 2018 14:27:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-seqdesign/m-p/487002#M25256</guid>
      <dc:creator>swannie</dc:creator>
      <dc:date>2018-08-15T14:27:25Z</dc:date>
    </item>
    <item>
      <title>Re: proc seqdesign</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-seqdesign/m-p/487524#M25288</link>
      <description>&lt;P&gt;Things are good!&amp;nbsp; I hear you are moving on to greener pastures, which makes sense to me.&amp;nbsp; Good luck!&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is funny that I came across this post, I am running into the same problem right now, I have a sample size calc from EAST that gives me one number, and the number from proc seqdesign is much higher.&amp;nbsp; We are doing a 1-sided test of proportion like your example, and the one sided test in EAST is equivalent to the 2-sided test in SAS seqdesign.&amp;nbsp; I don't know what to make of it but it's driving me crazy, as I need to submit screenshots to the FDA and I don't know which to use or how to interpret the difference.&amp;nbsp; Let me know if you have any info about your example that sheds any light on this.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Aug 2018 17:30:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-seqdesign/m-p/487524#M25288</guid>
      <dc:creator>JulieB</dc:creator>
      <dc:date>2018-08-16T17:30:53Z</dc:date>
    </item>
    <item>
      <title>Re: proc seqdesign</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-seqdesign/m-p/495816#M25692</link>
      <description>&lt;P&gt;I am having the exact same problem as you are, and I've been digging at this question for a month and I think I know the answer.&amp;nbsp; I think it comes down to 2 factors.&amp;nbsp; First: SAS doesn't offer the option of using an exact test for proc SEQDESIGN, whereas EAST does.&amp;nbsp; So one possible difference may be attributed to the use of exact vs. a standard z-test.&amp;nbsp; Second is what variance assumption you are using, as &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13633"&gt;@StatDave&lt;/a&gt;&amp;nbsp;says in his reply.&amp;nbsp; This one you can control in SAS.&amp;nbsp; One assumption uses the variance under the null hypothesis and the other assumption uses the variance under the alternative hypothesis.&amp;nbsp; Changing that alters the necessary sample size pretty drastically I have noticed.&amp;nbsp; So in the code you posted, you are using the variance based on the null hypothesis (&lt;SPAN&gt;ref=nullprop) and I betcha a nickel that in EAST you are using variance based on the alternative hypothesis (ref=prop) which will result in a larger sample size requirement.&amp;nbsp; Neither is wrong, just a choice you have to make.&amp;nbsp; Call me if you want to discuss - this has been driving me crazy for the past month and I ended up contacting Cytel's technical support over it, so they get the real credit.&amp;nbsp; I think SAS's technical documents do say this, but in a very non-straightforward way.&amp;nbsp; Hopefully they update SEQDESIGN to include an exact text and also include an example about changing the variance assumptions in their technical documents.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Sep 2018 19:53:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-seqdesign/m-p/495816#M25692</guid>
      <dc:creator>JulieB</dc:creator>
      <dc:date>2018-09-14T19:53:29Z</dc:date>
    </item>
  </channel>
</rss>

