Description Usage Arguments Details Value Author(s)
Some basic functions for information prediction.
1 2 3 4 5 6 7 8 9 10 11 12 13 |
theta |
Hazard ratio after the change point (before the change point HR should be 1). |
lambda |
Event hazard for the control arm. |
eps |
Change point. |
e |
Some convenience parameter to control the change point, which is usually set to be eps or tau |
k, k1, k2, m |
Parameters to control the exponential power of the survival functions (the control arm for the null hypothesis or the weighted sum of two arms for the alternative hypotheiss). |
R |
End of the accrual period. |
t.star |
Time point we pause the study to check the cumulative results. |
p |
Treatment assignment probability. |
To prepare the values for the prediction of information values. The control arm is following an exponential with rate lambda
, the treatment arm is piece-wise exponential with hazard ratio with respect to the control arm to be 1 before the changing point eps
, and theta
after the change point.
getc
returns the \exp(-λ*ε*(1-θ)) which is a multiplier for the survival and hazard of the treatment arm after the change point eps
.
Lili Wang
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.