powered by
Calculate Frontier power from number of events
frontierpower( events, HR, Eratio, Rratio = 1, startpower = 0.5, alpha1 = 0.025, HRbound = 1, iter = 10 )
Power as a decimal
Number of events.
Hazard Ratio. Values below 1 indicate a benefit to the active arm vs control.
Event ratio.
Randomisation ratio. Default=1.
Initial estimate of power. Default=0.5.
1-sided alpha. Default=0.025.
HRvalue to test against. Default=1 (superiority).
Number of iterations to perform. Default=10.
James Bell
Bell J, Power Calculations for Time-to-Event Trials Using Predicted Event Proportions, 2019, paper under review.
frontierpower(events=300,HR=0.7,Eratio=1.2,Rratio=1.5,alpha1=0.025)
Run the code above in your browser using DataLab