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)
dminimaxU
gives the density, pminimaxU
gives the distribution
function, qminimaxU
gives the quantile function, and eminimaxU
gives the expected value.
vector of quantiles.
object of class 'arm'.
object of class 'arm'.
logical; if TRUE, include time-to-censoring as potential observed time; otherwise, observed time equals time-to-event.
logical; if TRUE, probabilities are \(P(X \le x)\); otherwise, \(P(X > x)\).
vector of probabilities.
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)\).
create_arm
and create_arm_lachin
for creating an object of class 'arm'.