Resources

Documentation Example 7 for PROC SEQDESIGN


/****************************************************************/
/*          S A S   S A M P L E   L I B R A R Y                 */
/*                                                              */
/*    NAME: SEQDEX7                                             */
/*   TITLE: Documentation Example 7 for PROC SEQDESIGN          */
/* PRODUCT: STAT                                                */
/*  SYSTEM: ALL                                                 */
/*    KEYS: group sequential design                             */
/*   PROCS: SEQDESIGN                                           */
/*    DATA:                                                     */
/*                                                              */
/* SUPPORT: Yang Yuan             UPDATE: Aug 21, 2007          */
/*     REF: PROC SEQDESIGN, EXAMPLE 7                           */
/*    MISC:                                                     */
/****************************************************************/

ods graphics on;
proc seqdesign altref=0.693147
               bscale=score
               plots=combinedboundary
               ;
   BoundaryKeyNone:  design nstages=4
                            method=whitehead
                            boundarykey=none
                            alt=upper   stop=both
                            alpha=0.05  beta=0.20
                            ;
   BoundaryKeyAlpha: design nstages=4
                            method=whitehead
                            boundarykey=alpha
                            alt=upper   stop=both
                            alpha=0.05  beta=0.20
                            ;
   BoundaryKeyBeta:  design nstages=4
                            method=whitehead
                            boundarykey=beta
                            alt=upper   stop=both
                            alpha=0.05  beta=0.20
                            ;
run;
ods graphics off;

proc seqdesign altref=0.693147
               bscale=score
               ;
   BoundaryKeyAlpha: design nstages=4
                            method=whitehead
                            boundarykey=alpha
                            alt=upper   stop=both
                            alpha=0.05  beta=0.20
                            ;
   samplesize model=twosamplesurvival
                    ( nullhazard=0.03466 accrate=10);
run;

proc seqdesign altref=0.693147
               bscale=score
               ;
   WhiteheadKeyAlpha: design nstages=4
                             method=whitehead
                             boundarykey=alpha
                             alt=upper   stop=both
                             alpha=0.05  beta=0.20
                             ;
   samplesize model=twosamplesurvival
                    ( nullhazard=0.03466 accrate=10 acctime=20);
run;