<?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 Details for  'samplesize model=INPUTNOBS(N=nnn SAMPLE=TWO)' in Proc seqdesign to design a NI study in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Details-for-samplesize-model-INPUTNOBS-N-nnn-SAMPLE-TWO-in-Proc/m-p/983584#M49277</link>
    <description>&lt;P&gt;I am trying to design a noninferiority trial for a binomial outcome and have been disappointed to find that this appears to not be well supported by Proc GSdesign.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In trying to find a way around this, I opted to provide the sample size for a fixed-sample study in the samplesize model statement.&lt;/P&gt;&lt;P&gt;I am getting results that seem a bit higher than those provided by PASS, but the boundaries otherwise match.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To try to understand this better, I am looking for the formulas for the information Ix.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Questions are:&lt;/P&gt;&lt;P&gt;1. Can someone provide the formulas?&lt;/P&gt;&lt;P&gt;2. Has anyone successfully used Proc GSdesign for an NI trial? If yes, can you share the code.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks for any help that can be provided.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The SAS code for a non-binding futility margin and an efficacy bdry is pasted below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;proc seqdesign&amp;nbsp; errspend&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;pss(cref=0 0.4 0.7 1)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;stopprob(cref=0 0.4 0.7 1)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;plots=(asn power errspend)&amp;nbsp; /*asn=average sample number*/&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp;OneSidedErrorSpending: design nstages=10&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;method(alpha)=errfuncobf&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; method(beta)=errfuncobf&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; INFO=CUM(0.4 0.7 1.0)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; alt=UPPER&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; stop=BOTH (BETABOUNDARY=NONBINDING)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; alpha=0.025&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; beta=0.20&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp;/* SAMPLE SIZE: Non-inferiority for two proportions. The sample size was derived for a fixed-sample noninferiority design FM statistic. See page 7045 of manual&amp;nbsp; */&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp;samplesize model=INPUTNOBS(N=270 SAMPLE=TWO);&lt;/DIV&gt;&lt;DIV&gt;run;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 16 Feb 2026 22:48:44 GMT</pubDate>
    <dc:creator>lllorens</dc:creator>
    <dc:date>2026-02-16T22:48:44Z</dc:date>
    <item>
      <title>Details for  'samplesize model=INPUTNOBS(N=nnn SAMPLE=TWO)' in Proc seqdesign to design a NI study</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Details-for-samplesize-model-INPUTNOBS-N-nnn-SAMPLE-TWO-in-Proc/m-p/983584#M49277</link>
      <description>&lt;P&gt;I am trying to design a noninferiority trial for a binomial outcome and have been disappointed to find that this appears to not be well supported by Proc GSdesign.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In trying to find a way around this, I opted to provide the sample size for a fixed-sample study in the samplesize model statement.&lt;/P&gt;&lt;P&gt;I am getting results that seem a bit higher than those provided by PASS, but the boundaries otherwise match.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To try to understand this better, I am looking for the formulas for the information Ix.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Questions are:&lt;/P&gt;&lt;P&gt;1. Can someone provide the formulas?&lt;/P&gt;&lt;P&gt;2. Has anyone successfully used Proc GSdesign for an NI trial? If yes, can you share the code.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks for any help that can be provided.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The SAS code for a non-binding futility margin and an efficacy bdry is pasted below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;proc seqdesign&amp;nbsp; errspend&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;pss(cref=0 0.4 0.7 1)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;stopprob(cref=0 0.4 0.7 1)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;plots=(asn power errspend)&amp;nbsp; /*asn=average sample number*/&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp;OneSidedErrorSpending: design nstages=10&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;method(alpha)=errfuncobf&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; method(beta)=errfuncobf&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; INFO=CUM(0.4 0.7 1.0)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; alt=UPPER&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; stop=BOTH (BETABOUNDARY=NONBINDING)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; alpha=0.025&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; beta=0.20&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp;/* SAMPLE SIZE: Non-inferiority for two proportions. The sample size was derived for a fixed-sample noninferiority design FM statistic. See page 7045 of manual&amp;nbsp; */&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp;samplesize model=INPUTNOBS(N=270 SAMPLE=TWO);&lt;/DIV&gt;&lt;DIV&gt;run;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Feb 2026 22:48:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Details-for-samplesize-model-INPUTNOBS-N-nnn-SAMPLE-TWO-in-Proc/m-p/983584#M49277</guid>
      <dc:creator>lllorens</dc:creator>
      <dc:date>2026-02-16T22:48:44Z</dc:date>
    </item>
  </channel>
</rss>

