Learn R Programming

DynTxRegime (version 3.01)

OWL-class: Class

Description

Implementation of Outcome Weighted Learning.

Arguments

Objects from the Class

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

Slots

shift:
An object of class "numeric." The amount reward shifted to make all positive.

modelFormula:
An object of class "formula." The formula description of kernel covariates.

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

optim:
An object of class "OWLOptim." The OWLOptim object

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

decisionFunc:
An object of class "numeric." Estimated value of the decision function for training data.

Extends

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

Methods

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

Examples

Run this code
showClass("OWL")

Run the code above in your browser using DataLab