Help using Base SAS procedures

sas codes for Interim analysis using o'brien-flemming method

Reply
Occasional Contributor
Posts: 12

sas codes for Interim analysis using o'brien-flemming method

Hello,

 

I am trying to do an interim analysis using the o'brien-flemming method. I found these codes. However I do not know how to edit to input my own data. This seems like a macro. My data includes ID numbers, treatment group, result before and after treatment.

 

Thank you.

 

proc seqdesign altref=0.4
               pss
               stopprob
               errspend
               ;
   TwoSidedPocock:        design nstages=4 method=poc;
   TwoSidedOBrienFleming: design nstages=4 method=obf;
   samplesize model=twosamplemean(stddev=0.8 weight=2);
run;

 

Frequent Contributor
Posts: 103

Re: sas codes for Interim analysis using o'brien-flemming method

Posted in reply to Uche_Okoro

It looks like the code is taken from Example 77.3 of the online user guide here:

 

https://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/viewer.htm#statug_seqdesign_s...

 

Have you tried looking at the explanation of the syntax, which can be found (for example) here?

 

https://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/viewer.htm#statug_seqdesign_s...

Norman.
SAS 9.4 (TS1M4) X64_7PRO WIN 6.1.7601 Service Pack 1 Workstation

Ask a Question
Discussion stats
  • 1 reply
  • 143 views
  • 0 likes
  • 2 in conversation