BookmarkSubscribeRSS Feed
Uche_Okoro
Fluorite | Level 6

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;

 

1 REPLY 1
Norman21
Lapis Lazuli | Level 10

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 (TS1M6) X64_10PRO WIN 10.0.17763 Workstation

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 923 views
  • 0 likes
  • 2 in conversation