frontierpower: Calculate Frontier power from number of events

Description Usage Arguments Value Author(s) References Examples

View source: R/power_functions.R

Description

Calculate Frontier power from number of events

Usage

1
2
3
4
5
6
7
8
9
frontierpower(
  events,
  HR,
  Eratio,
  Rratio = 1,
  startpower = 0.5,
  alpha1 = 0.025,
  iter = 10
)

Arguments

events

Number of events.

HR

Hazard Ratio. Values below 1 indicate a benefit to the active arm vs control.

Eratio

Event ratio.

Rratio

Randomisation ratio. Default=1.

startpower

Initial estimate of power. Default=0.5.

alpha1

1-sided alpha. Default=0.025.

iter

Number of iterations to perform. Default=10.

Value

Power as a decimal

Author(s)

James Bell

References

Bell J, Power Calculations for Time-to-Event Trials Using Predicted Event Proportions, 2019, paper under review.

Examples

1
frontierpower(events=300,HR=0.7,Eratio=1.2,Rratio=1.5,alpha1=0.025)

gestate documentation built on Feb. 20, 2020, 5:08 p.m.