<?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 proc seqdesign: can you specify two alts (lower and upper)? in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/proc-seqdesign-can-you-specify-two-alts-lower-and-upper/m-p/737114#M35799</link>
    <description>&lt;P&gt;Hi there!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to replicate a two-sample survival design using proc seqdesign. It has 2 stages (one interim at 73% of the information, one final at 100% information). One-sided alpha=0.025 power=0.835 (beta=0.165). O'Brien Fleming boundary&lt;SPAN&gt;&amp;nbsp;will be implemented for efficacy and the Haybittle-Peto boundary will be implemented for futility. Assumed hazard ratio=0.58. Median survival time in the control arm is 42 months. Here're my codes:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods graphics on;
proc seqdesign stopprob errspend boundaryscale=pvalue;
OneSidedOBFandHP: design alt=lower alpha=0.025 beta=0.165 nstages=2
method(reject)=obf method(accept)=hp(Z=0.489)
stop=both(betaboundary=nonbinding) info=cum(0.73 1);
model=twosamplesurvival (hazardratio=0.58 nullmedsurvtime=42);
ods output Boundary=Bnd_Time;
run;
ods graphics off;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;But the results (stopping p-value boundaries) are not the same as the design I'm trying to replicate which has boundaries like:&lt;/SPAN&gt;&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="El-Aura_0-1619470168871.png" style="width: 890px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/58710i03B6719CA6BBF160/image-dimensions/890x161?v=v2" width="890" height="161" role="button" title="El-Aura_0-1619470168871.png" alt="El-Aura_0-1619470168871.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A friend said that the problem is with "alt=lower" since for futility, alt should be "upper". But you can't specify two alts in seqdesign right? So is this the problem? How should I modify my codes to get the design I want to replicate (the screenshot above)?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks!!!&lt;/P&gt;</description>
    <pubDate>Mon, 26 Apr 2021 20:59:21 GMT</pubDate>
    <dc:creator>El-Aura</dc:creator>
    <dc:date>2021-04-26T20:59:21Z</dc:date>
    <item>
      <title>proc seqdesign: can you specify two alts (lower and upper)?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-seqdesign-can-you-specify-two-alts-lower-and-upper/m-p/737114#M35799</link>
      <description>&lt;P&gt;Hi there!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to replicate a two-sample survival design using proc seqdesign. It has 2 stages (one interim at 73% of the information, one final at 100% information). One-sided alpha=0.025 power=0.835 (beta=0.165). O'Brien Fleming boundary&lt;SPAN&gt;&amp;nbsp;will be implemented for efficacy and the Haybittle-Peto boundary will be implemented for futility. Assumed hazard ratio=0.58. Median survival time in the control arm is 42 months. Here're my codes:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods graphics on;
proc seqdesign stopprob errspend boundaryscale=pvalue;
OneSidedOBFandHP: design alt=lower alpha=0.025 beta=0.165 nstages=2
method(reject)=obf method(accept)=hp(Z=0.489)
stop=both(betaboundary=nonbinding) info=cum(0.73 1);
model=twosamplesurvival (hazardratio=0.58 nullmedsurvtime=42);
ods output Boundary=Bnd_Time;
run;
ods graphics off;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;But the results (stopping p-value boundaries) are not the same as the design I'm trying to replicate which has boundaries like:&lt;/SPAN&gt;&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="El-Aura_0-1619470168871.png" style="width: 890px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/58710i03B6719CA6BBF160/image-dimensions/890x161?v=v2" width="890" height="161" role="button" title="El-Aura_0-1619470168871.png" alt="El-Aura_0-1619470168871.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A friend said that the problem is with "alt=lower" since for futility, alt should be "upper". But you can't specify two alts in seqdesign right? So is this the problem? How should I modify my codes to get the design I want to replicate (the screenshot above)?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks!!!&lt;/P&gt;</description>
      <pubDate>Mon, 26 Apr 2021 20:59:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-seqdesign-can-you-specify-two-alts-lower-and-upper/m-p/737114#M35799</guid>
      <dc:creator>El-Aura</dc:creator>
      <dc:date>2021-04-26T20:59:21Z</dc:date>
    </item>
  </channel>
</rss>

