ssize_D | R Documentation |
Sample size calculation using model-based discrimination measure.
ssize_D(
fit,
D = NULL,
cens = NULL,
p = 0.1,
alpha = 0.05,
power = 0.8,
delta = 0.25,
trial = c("superiority", "non-inferiority")
)
fit |
an object fit of class |
D |
discrimination measure D, defaults to output of
|
cens |
censoring proportion, defaults to proportion calculated from
|
p |
proportion of |
alpha |
Type I error |
power |
statistical power (1 - Type II error) |
delta |
superiority/non-inferiority margin. The difference we wish to detect between a prior model and a new model. |
trial |
either "superiority" or "non-inferiority" |
The sample size calculation uses a discrimination measured based on multivariable prognostic time-to-event models.
The final sample size needed in the new model using the supplied input parameters.
Derek Chiu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.