Retrieve the estimated value of the estimated optimal treatment regime for the training data.
estimator(x,...)
# S4 method for DynTxRegime
estimator(x)
# S4 method for IQLearnFS
estimator(x, w = NULL, y = NULL, z = NULL, dens = NULL)Object of class "DynTxRegime".
Ignored.
Object of class "IQLearnFS" or "IQLearnSS".
Object of class "IQLearnFS" or "IQLearnSS".
Object of class "IQLearnFS" or "IQLearnSS".
"character" indicating density approximation. Must
be one of {'nonpar', 'norm'}.
For the IQ-learning algorithm, additional inputs
are required to obtain the estimated value of the
first-stage treatment. Function estimator() required
inputs w, x, y, and z are the three first-stage
and single second-stage objects (in no specific order).
For all other methods, no information beyond the value object returned by the method is needed.