Cox.Equality {TrialSize}R Documentation

Test for equality in Cox PH model.

Description

b is the log hazard ratio for treatment, b0 is the log hazard ratio for the controls

H0: b=b0

Ha: not equal to b0

The test is finding whether there is a difference between the hazard rates of the treatment and control.

Usage

Cox.Equality(alpha, beta, loghr, p1,d)

Arguments

alpha

significance level

beta

power = 1-beta

loghr

log hazard ratio=log(lamda2/lamda1)=b

p1

the proportion of patients in treatment 1 group

d

the probability of observing an event

References

Chow SC, Shao J, Wang H. Sample Size Calculation in Clinical Research. New York: Marcel Dekker, 2003

Examples

Example.7.3.4<-Cox.Equality(0.05,0.2,log(2),0.5,0.8)
Example.7.3.4


[Package TrialSize version 1.4 Index]