Learn R Programming

DynTxRegime (version 3.01)

estimator: Estimated Value of Estimated Optimal Regime

Description

Retrieve the estimated value of the estimated optimal treatment regime for the training data.

Usage

estimator(x,...)
# S4 method for DynTxRegime
estimator(x)
# S4 method for IQLearnFS
estimator(x, w = NULL, y = NULL, z = NULL, dens = NULL)

Arguments

x
Object of class "DynTxRegime".
...
Ignored.
w
Object of class "IQLearnFS" or "IQLearnSS".
y
Object of class "IQLearnFS" or "IQLearnSS".
z
Object of class "IQLearnFS" or "IQLearnSS".
dens
"character" indicating density approximation. Must be one of {'nonpar', 'norm'}.

Details

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.