Interaction Survival Power/Sample Size
Function
Interaction Survival is a program to calculate either estimates of sample size or power for tests of interaction. Exponential distributions are assumed and are specified as a ratio of the hazard ratio for the treatment effect in stratum 1 to the hazard ratio for the treatment effect in stratum 2. The program allows for unequal sample size allocation in the four cells defined by the two treatment groups and two strata. An exponentially distributed competing risk is also permitted.
Program Code
The program is written in JavaScript.
Source
The program uses the method of Peterson, B. and George, S.L. (1993). Controlled Clinical Trials, 511-522 but where the expected probability of event for each stratum is calculated using the accrual, follow-up and exponential failure and competing risk assumptions. The total sample size is calculated as follows
N=(q(1-
a/2)+q(1-b))2 * S[1/(eij*lij)]/D2Where fij are the cell frequencies and eij are the event probabilities in treatment i and stratum j, q is the inverse normal function, and
D=log(D1/D2)Where
Dj=l1j/l2j is the hazard ratio for the treatment effect within stratum j
Input Items
The user is prompted for values to the following items. For items that have initial default values set, the values are given in parentheses.
Back to Interaction Survival program.