It implements the genetic algorithm based policy-search method with inverse probability weighting for censored data, such that the estimator is cube root consistent under the assumption that the propensity score model and the model for the survival distriution of the censoring time variable are both correct.
data_aug: a data.frame of the observed data after preprocessing. It should include be augmented with a new column: epsi for the composite weights.
tau: a value between 0 and 1. This is the quantile of interest.
p_level: choose between 0,1,2,3 to indicate different levels of output from the genetic function. Specifically, 0 (minimal printing), 1 (normal), 2 (detailed), and 3 (debug).
regimeClass: a formula specifying the class of treatment regimes to search, e.g. if regimeClass = a~x1+x2, and then this function will search the class of treatment regimes of the form
cluster: default is FALSE, meaning do not use parallel computing for the genetic algorithm(GA).
s.tol: tolerance level for the GA algorithm. This is input for parameter solution.tolerance
in function rgenoud::genoud.
it.num: the maximum GA iteration number
pop.size: an integer with the default set to be 3000. This is roughly the number individuals for the first generation in the genetic algorithm (rgenoud::genoud).
Domains: default is NULL. Otherwise, the object should be a nvars *2
matrix used as the space of parameters, which will be supplied to rgenoud::genoud.
sign_beta1: logical. FALSE if the coefficient for the first continuous variable is fixed to be negative one; TRUE if positive one.
Penalty.level: the level that determines which objective function to use. Penalty.level = 0 indicates no regularization; Penalty.level = 1 indicates the value function estimation minus the means absolute average coefficient is the output, which is useful trick to achieve uniqueness of estimated optimal TR when resolution of input response is low.