Estimate Quantile-optimal Treatment Regime for covariates-dependent random censoring data
Estimate Quantile-optimal Treatment Regime for covariates-dependent random censoring data
This function estimates the Quantile-optimal Treatment Regime for a given quantile level of interest under the assumption that the distribution of censoring time is independent of the set of potential survival times given a set of baseline covariates and treatment actually received.
More specifically, we do stratification by treatment first and then used kernel smoothing to estimate local survival function of censoring time for each treatment group.
regimeClass: the class of treatment regimes. e.g., 'txname ~ x1+x2'.
tau: the quantile of interest
Domains: default is NULL.
bw: the bandwidth of local KM model (e.g. see Wang-wang 2008)
moPropen: an optional string for the working model of treatment assignment
DepCens: an optional vector of baseline variable names that the censoring variable depends on. Note that the treatment variable is always treated as dependent with the censoring time. If unspecified (DepCens=NULL), then all variables on the right side of regimeClass are used for DepCens
UseTrueG: logical. Whether the true survival probability of each patient is provided.
trueG_value: default is NULL. IF UseTrueG=FALSE, trueG_value should be NULL.
cluster: default is FALSE. This can also be an object of the 'cluster' class returned by one of the makeCluster commands in the parallel package or a vector of machine names so rgenoud::genoud can setup the cluster automatically.