View source: R/TwoSample.Constant.LR.R
| TwoSample.Constant.LR | R Documentation |
Computes two quantities used for power/effect-size calibration of the two-sample generalized log-rank statistics.
The function evaluates the generalized log-rank statistics up to a
fixed event-time horizon tau = 3, then returns (i) an integral
\int_0^{\tau} K_{LR}(t)\, d\mu_1(t) based on the control group mean-frequency
increment and (ii) the asymptotic variance of the integrated statistic.
TwoSample.Constant.LR(data)
data |
A data frame generated by |
A numeric vector of length 2:
The calibration constant power.const. Defined as the integral of the generalized log-rank statistics' weight
function times the control group's mean frequency increment over [0,3].
The estimated asymptotic variance of the integrated two-sample generalized log-rank statistics over [0,3].
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.