View source: R/two_stage_design.R
two_stage_design | R Documentation |
Two-stage design for a modestly-weighted log-rank test
two_stage_design(t_star = NULL, model, recruitment, dco_int, dco_final,
events_int = NULL, events_final = NULL, alpha_one_sided = 0.025,
alpha_spend_f = ldobf, length_t = 18, rho = NULL, gamma = NULL)
t_star |
Parameter of the modestly-weighted log-rank test. Setting t_star=0 corresponds to a standard log-rank test. |
model |
The piecewise hazard model.
A list containing the |
recruitment |
List of recruitment information. Containing
|
dco_int |
The time of the interim analysis in time-units since start of the trial. |
dco_final |
The time of the final analysis in time-units since start of the trial. |
events_int |
May be specified instead of |
events_final |
May be specified instead of |
alpha_one_sided |
One-sided alpha level. |
length_t |
Number of cutpoints to use when approximating the distribution of the MWLRT-statistic. Default is 18. Can be increased for greater accuracy. |
alpha_spending_f |
The alpha-spending function. Default is the Lan-DeMets O'Brien-Fleming function. |
{rho} |
rho parameter in a Fleming-Harrington test. Default is NULL. Only used if F-H test used instead of MWLRT. |
{gamma} |
gamma parameter in a Fleming-Harrington test. Default is NULL. Only used if F-H test used instead of MWLRT. |
A list describing the design.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.