Learn R Programming

DynTxRegime (version 3.01)

RWL-class: Class

Description

Implementation of Residual Weighted Learning

Arguments

Objects from the Class

Objects can be created by calls of the form new("RWL", ...). These objects are for convenience in package development and should not be created by users.

Slots

regime:
An object of class "formula." The formula description of covariates included in kernel.

crossValidation:
An object of class "CVInfoOrNULL." The cross validation results.

optim:
An object of class "RWLOptim." The optimization results.

txInfo:
An object of class "TxInfo." The treatment information.

responseType:
An object of class "character." The type of response.

Extends

Classes "DynTxRegime-class" and "PropensityAndOutcome-class" directly.

Methods

DTRstep
signature(object = "RWL"): Retrieve description of method used to create object.
cvInfo
signature(object = "RWL"): Retrieve cross-validation results.
optTx
signature(x = "RWL", newdata = "data.frame"): Estimate optimal treatment for newdata
optTx
signature(x = "RWL", newdata = "missing"): Retrieve estimated optimal treatment for newdata
optimObj
signature(object = "RWL"): Retrieve optimization results.
print
signature(x = "RWL"): Print key results of method.
regimeCoef
signature(object = "RWL"): Retrieve regime parameter estimates.
residuals
signature(object = "RWL"): Retrieve the residuals of the outcome regression.
show
signature(object = "RWL"): Show key results of method.
summary
signature(object = "RWL"): Retrieve key summary information of method.

Examples

Run this code
showClass("RWL")

Run the code above in your browser using DataLab