# Binary outcome
# Assumptions used for power calculations in design of study
# Poor outcome 25% in control group
# Poor outcome 15% in experimental group
# Total sample size 900
# Interim analysis at 300 subjects
# Final critical value 2.0 (to account for group sequential
# monitoring)
# At interim, intervention doing better with z-statistic 0.067
condpower(2.0,0.067,300,"bin",0.25,0.15,900)
Run the code above in your browser using DataLab