<?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: Question regard to the book Modern Appoaches in clinical trials Using sas in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Question-regard-to-the-book-Modern-Appoaches-in-clinical-trials/m-p/726226#M35237</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/7887"&gt;@Jack2012&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;(...) Why set the different beta values. And still can't connect these values. Generally, we specify a fixed power, i.e. 1-beta, then calculate the size and the corresponding "Early stop probability for efficacy at stage 1", but now this logic seems not workable.&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;To me it looks like the authors tried to replicate the power values (0.80, 0.84, ..., 0.96 -- possibly, rounded to &lt;EM&gt;three&lt;/EM&gt; decimals, these were really 0.799, 0.837, ..., 0.957?) from the "Classical Design with pessimistic &lt;FONT face="symbol"&gt;d&lt;/FONT&gt;" using the "Group Sequential Design with pessimistic&amp;nbsp;&lt;FONT face="symbol"&gt;d&lt;/FONT&gt;" in order to obtain "Average Sample Size" values comparable to the (constant) "Total Sample Size" of the classical design.&lt;/P&gt;</description>
    <pubDate>Mon, 15 Mar 2021 09:29:12 GMT</pubDate>
    <dc:creator>FreelanceReinh</dc:creator>
    <dc:date>2021-03-15T09:29:12Z</dc:date>
    <item>
      <title>Question regard to the book Modern Appoaches in clinical trials Using sas</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Question-regard-to-the-book-Modern-Appoaches-in-clinical-trials/m-p/725689#M35218</link>
      <description>&lt;P&gt;All, Recenly, I am learning the PROC SEQDESIGN procedure via book Modern Approaches in clinical trials using SAS authored by Sandeep and Zink, but found the columns could not be replicated&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The code for creating the last 3 columns are as below:&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods graphics on; 
proc seqdesign altref=0.19 errspend pss(cref=0 0.5 1) stopprob(cref=0 0.5 1) plots=(asn power errspend) boundaryscale=stdZ;	
	OneSidedErrorSpending: design nstages=2 method(alpha)=ERRFUNCGAMMA(GAMMA=-4) ALT=UPPER STOP=REJECT/*REJECT NULL STAND FOR STOP due to efficacy*/
	alpha=0.025
	beta=0.2
	info=cum(1 2);
	
	samplesize model=twosamplemean(stddev=1 weight=1);
run;
ods graphics off; &lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;After running such code, there is no results match the numbers in the shot from the book below.&lt;/P&gt;
&lt;P&gt;For instance, the results generated by above code gives the size will be 870 not 799 as shown in the book.&lt;/P&gt;
&lt;P&gt;I consulted the authors as well, but seems not reply.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anybody could help me to figure out this? THank you in advance.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jack2012_0-1615511729995.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/55853i0919B5BEF3ECC920/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jack2012_0-1615511729995.png" alt="Jack2012_0-1615511729995.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Mar 2021 01:16:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Question-regard-to-the-book-Modern-Appoaches-in-clinical-trials/m-p/725689#M35218</guid>
      <dc:creator>Jack2012</dc:creator>
      <dc:date>2021-03-12T01:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: Question regard to the book Modern Appoaches in clinical trials Using sas</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Question-regard-to-the-book-Modern-Appoaches-in-clinical-trials/m-p/725710#M35219</link>
      <description>Any PROC SEQDESIGN user could help me ? Thank you in advance.</description>
      <pubDate>Fri, 12 Mar 2021 06:11:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Question-regard-to-the-book-Modern-Appoaches-in-clinical-trials/m-p/725710#M35219</guid>
      <dc:creator>Jack2012</dc:creator>
      <dc:date>2021-03-12T06:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: Question regard to the book Modern Appoaches in clinical trials Using sas</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Question-regard-to-the-book-Modern-Appoaches-in-clinical-trials/m-p/725740#M35220</link>
      <description>&lt;P&gt;I think you need to closely at your output.&lt;/P&gt;
&lt;P&gt;When I run your code I see this as part of the output. I think you are confusing "Max Sample Size" from your output with "Average Sample size" in the publication. They apparently changed the label from "Expected Sample Size"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="branch"&gt;&lt;BR /&gt;&lt;A name="IDX7" target="_blank"&gt;&lt;/A&gt;
&lt;DIV&gt;
&lt;DIV align="left"&gt;
&lt;TABLE class="table" summary="Procedure Seqdesign: Sample Size Summary" cellspacing="0" cellpadding="3"&gt;&lt;COLGROUP&gt; &lt;COL /&gt; &lt;COL /&gt;&lt;/COLGROUP&gt;
&lt;THEAD&gt;
&lt;TR&gt;
&lt;TH class="c m header" colspan="2" scope="colgroup"&gt;Sample Size Summary&lt;/TH&gt;
&lt;/TR&gt;
&lt;/THEAD&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TH class="l m rowheader" scope="row"&gt;Test&lt;/TH&gt;
&lt;TD class="r data"&gt;Two-Sample Means&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="l m rowheader" scope="row"&gt;Mean Difference&lt;/TH&gt;
&lt;TD class="r data"&gt;0.19&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="l m rowheader" scope="row"&gt;Standard Deviation&lt;/TH&gt;
&lt;TD class="r data"&gt;1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="l m rowheader" scope="row"&gt;Max Sample Size&lt;/TH&gt;
&lt;TD class="r data"&gt;877.9626&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="l m rowheader" scope="row"&gt;Expected Sample Size (Null Ref)&lt;/TH&gt;
&lt;TD class="r data"&gt;876.6544&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="l m rowheader" scope="row"&gt;Expected Sample Size (Alt Ref)&lt;/TH&gt;
&lt;TD class="r data"&gt;779.7337&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="l m rowheader" scope="row"&gt;Weight (Group A)&lt;/TH&gt;
&lt;TD class="r data"&gt;1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="l m rowheader" scope="row"&gt;Weight (Group B)&lt;/TH&gt;
&lt;TD class="r data"&gt;1&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 12 Mar 2021 09:40:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Question-regard-to-the-book-Modern-Appoaches-in-clinical-trials/m-p/725740#M35220</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-03-12T09:40:47Z</dc:date>
    </item>
    <item>
      <title>Re: Question regard to the book Modern Appoaches in clinical trials Using sas</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Question-regard-to-the-book-Modern-Appoaches-in-clinical-trials/m-p/725746#M35221</link>
      <description>Thank you very much for help on this. However, the results does not show size is 799 as in the publication. And from the results, I can see the probability of rejecting NULL under alternative  is 0.22377, instead of 0.163 as shown in the publication. &lt;BR /&gt;&lt;BR /&gt;Further help is still needed. Thank you .</description>
      <pubDate>Fri, 12 Mar 2021 10:01:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Question-regard-to-the-book-Modern-Appoaches-in-clinical-trials/m-p/725746#M35221</guid>
      <dc:creator>Jack2012</dc:creator>
      <dc:date>2021-03-12T10:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: Question regard to the book Modern Appoaches in clinical trials Using sas</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Question-regard-to-the-book-Modern-Appoaches-in-clinical-trials/m-p/725829#M35228</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/7887"&gt;@Jack2012&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm not an expert on PROC SEQDESIGN, so not sure if this helps:&lt;/P&gt;
&lt;P&gt;On page 89 of the book (as seen in Google Books) it says: "Example Code 3.3 on page 89 shows how this can be done in SAS using &lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;method (alpha)=ERRFUNCOBF&lt;/STRONG&gt;&lt;/FONT&gt; or using &lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;method (alpha)=ERRFUNCGAMMA(GAMMA-4)&lt;/FONT&gt;&lt;/STRONG&gt;&amp;nbsp;&lt;EM&gt;[sic! missing "=" sign before "-4"]&lt;/EM&gt; in &lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;proc seqdesign&lt;/FONT&gt;&lt;/STRONG&gt; [32]."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After replacing&amp;nbsp;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;ERRFUNCGAMMA(GAMMA=-4)&lt;/FONT&gt;&lt;/STRONG&gt; in your code with&amp;nbsp;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;ERRFUNCOBF&lt;/STRONG&gt;&lt;/FONT&gt;&amp;nbsp;and using &lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;beta=&lt;/FONT&gt;&lt;/STRONG&gt;&lt;EM&gt;1-Power&lt;/EM&gt; (from the highlighted part of your screenshot), i.e., &lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;beta=0.201&lt;/FONT&gt;&lt;/STRONG&gt; for &lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;altref=0.19&lt;/FONT&gt;&lt;/STRONG&gt;&amp;nbsp;(&lt;FONT face="courier new,courier"&gt;beta=0.163&lt;/FONT&gt; for &lt;FONT face="courier new,courier"&gt;altref=0.20&lt;/FONT&gt;, etc.), I get &lt;FONT face="courier new,courier"&gt;Stopping probability (Stage_1)&lt;/FONT&gt; and &lt;FONT face="courier new,courier"&gt;Expected Sample Size (Alt Ref)&lt;/FONT&gt; (almost) equal to the values in your table and the same holds for the other &lt;FONT face="courier new,courier"&gt;altref&lt;/FONT&gt; values (0.20, 0.21, ..., 0.25). The rounding error in &lt;FONT face="courier new,courier"&gt;beta&lt;/FONT&gt; might explain the remaining small differences.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Mar 2021 16:40:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Question-regard-to-the-book-Modern-Appoaches-in-clinical-trials/m-p/725829#M35228</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2021-03-12T16:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: Question regard to the book Modern Appoaches in clinical trials Using sas</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Question-regard-to-the-book-Modern-Appoaches-in-clinical-trials/m-p/726220#M35236</link>
      <description>Great help for me to understand this. Thank you!&lt;BR /&gt;&lt;BR /&gt;However, still there is a gap for me to understand the logic on how to get this. Why set the different beta values. And still can't connect these values. Generally, we specify a fixed power, i.e. 1-beta, then calculate the size and the corresponding "Early stop probability for efficacy at stage 1", but now this logic seems not workable. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Mar 2021 08:47:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Question-regard-to-the-book-Modern-Appoaches-in-clinical-trials/m-p/726220#M35236</guid>
      <dc:creator>Jack2012</dc:creator>
      <dc:date>2021-03-15T08:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: Question regard to the book Modern Appoaches in clinical trials Using sas</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Question-regard-to-the-book-Modern-Appoaches-in-clinical-trials/m-p/726226#M35237</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/7887"&gt;@Jack2012&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;(...) Why set the different beta values. And still can't connect these values. Generally, we specify a fixed power, i.e. 1-beta, then calculate the size and the corresponding "Early stop probability for efficacy at stage 1", but now this logic seems not workable.&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;To me it looks like the authors tried to replicate the power values (0.80, 0.84, ..., 0.96 -- possibly, rounded to &lt;EM&gt;three&lt;/EM&gt; decimals, these were really 0.799, 0.837, ..., 0.957?) from the "Classical Design with pessimistic &lt;FONT face="symbol"&gt;d&lt;/FONT&gt;" using the "Group Sequential Design with pessimistic&amp;nbsp;&lt;FONT face="symbol"&gt;d&lt;/FONT&gt;" in order to obtain "Average Sample Size" values comparable to the (constant) "Total Sample Size" of the classical design.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Mar 2021 09:29:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Question-regard-to-the-book-Modern-Appoaches-in-clinical-trials/m-p/726226#M35237</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2021-03-15T09:29:12Z</dc:date>
    </item>
  </channel>
</rss>

