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;
It looks like the code is taken from Example 77.3 of the online user guide here:
Have you tried looking at the explanation of the syntax, which can be found (for example) here?
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
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.
Ready to level-up your skills? Choose your own adventure.