Description Usage Arguments Author(s) References Examples
Calculate the average hazard ratios according to Kalbfleisch and Prentice (1981) or in the paper Hasegawa (2014) for piece-wise exponential survival functions (only one change point eps
).
1 | avg.haz(theta, eps, lambda, p = 1/2)
|
theta |
hazard ratio after eps between the treatment and the control group, assuming that the hazard rato is 1 before eps. |
eps |
The change point, before which, the hazard ratio is 1, and after which, the hazard ratio is theta. |
lambda |
The constant hazard for the control arm. |
p |
Treatment assignment probability. |
Lili Wang
Hasegawa, T. (2014). Sample size determination for the weighted log‐rank test with the Fleming–Harrington class of weights in cancer vaccine studies. Pharmaceutical statistics, 13(2), 128-135.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.