Sample size calculation for the Comparison of Survival Curves Between Two Groups under the Cox Proportional-Hazards Model for clinical trials.
ssizeCT.default(power,
k,
pE,
pC,
RR,
alpha = 0.05)
numeric. power to detect the magnitude of the hazard ratio as small as that specified by RR
.
numeric. ratio of participants in group E (experimental group) compared to group C (control group).
numeric. probability of failure in group E (experimental group) over the maximum time period of the study (t years).
numeric. probability of failure in group C (control group) over the maximum time period of the study (t years).
numeric. postulated hazard ratio.
numeric. type I error rate.
A two-element vector. The first element is
This is an implementation of the sample size calculation method described in Section 14.12 (page 807) of Rosner (2006). The method was proposed by Freedman (1982).
Suppose we want to compare the survival curves between an experimental group (
Freedman, L.S. (1982). Tables of the number of patients required in clinical trials using the log-rank test. Statistics in Medicine. 1: 121-129
Rosner B. (2006). Fundamentals of Biostatistics. (6-th edition). Thomson Brooks/Cole.
# NOT RUN {
# Example 14.42 in Rosner B. Fundamentals of Biostatistics.
# (6-th edition). (2006) page 809
ssizeCT.default(power = 0.8,
k = 1,
pE = 0.3707,
pC = 0.4890,
RR = 0.7,
alpha = 0.05)
# }
Run the code above in your browser using DataLab