View source: R/calc_maxU_and_minimaxU.R
dminimaxU | R Documentation |
Density, distribution function, quantile function, and expected value for the minimum of the maximum observed time over two treatment arms.
dminimaxU(x, arm0, arm1, include_cens = T)
pminimaxU(q, arm0, arm1, include_cens = T, lower.tail = T)
qminimaxU(p, arm0, arm1, include_cens = T, margin = 0.01)
eminimaxU(arm0, arm1, include_cens = T)
x , q |
vector of quantiles. |
arm0 |
object of class 'arm'. |
arm1 |
object of class 'arm'. |
include_cens |
logical; if TRUE, include time-to-censoring as potential observed time; otherwise, observed time equals time-to-event. |
lower.tail |
logical; if TRUE, probabilities are |
p |
vector of probabilities. |
margin |
margin of accuracy. |
Given a patient in arm X_i=j
with time-to-event T_i
and time-to-censoring
C_i
, U_i=\min(T_i, C_i)
defines the patient's observed time. The
maximum observed time over patients of arm j
is then \max_{i:X_i=j} U_i
,
and the minimax observed time over two arms is \min_j (\max_{i:X_i=j} U_i)
.
dminimaxU
gives the density, pminimaxU
gives the distribution
function, qminimaxU
gives the quantile function, and eminimaxU
gives the expected value.
create_arm
and create_arm_lachin
for creating an object of class 'arm'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.