Learn R Programming

⚠️There's a newer version (4.15) of this package.Take me there.

DynTxRegime (version 4.10)

Methods for Estimating Optimal Dynamic Treatment Regimes

Description

Methods to estimate dynamic treatment regimes using Interactive Q-Learning, Q-Learning, weighted learning, and value-search methods based on Augmented Inverse Probability Weighted Estimators and Inverse Probability Weighted Estimators. Dynamic Treatment Regimes: Statistical Methods for Precision Medicine, Tsiatis, A. A., Davidian, M. D., Holloway, S. T., and Laber, E. B., Chapman & Hall/CRC Press, 2020, ISBN:978-1-4987-6977-8.

Copy Link

Version

Install

install.packages('DynTxRegime')

Monthly Downloads

483

Version

4.10

License

GPL-2

Maintainer

Shannon Holloway

Last Published

June 7th, 2022

Functions in DynTxRegime (4.10)

BOWL-methods

Methods Available for Objects of Class BOWL
CVBasic-class

Class CVBasic
BOWL-class

Class BOWL
CVInfo-class

Class CVInfo
CVInfo-methods

Methods Available for Objects of Class CVInfo
BOWLObj-class

Class BOWLObj
CVInfo2Par-class

Class CVInfo2Par
BOWLBasic-methods

Methods Available for Objects of Class BOWLBasic
BOWLBasic-class

Class BOWLBasic
CVInfoLambda-class

Class CVInfoLambda
CVInfo2Par-methods

Methods Available for Objects of Class CVInfo2Par
CVInfoLambda-methods

Methods Available for Objects of Class CVInfoLambda
DecisionPointList-methods

Methods Available for Objects of Class DecisionPointList
Call

Retrieve Unevaluated Original Call
ClassificationFit-class

Class ClassificationFit
DecisionPointList-class

Class DecisionPointList
EARL-methods

Methods Available for Objects of Class EARL
ClassificationObj-class

Class ClassificationObj
CVInfoObj-class

Class CVInfoObj
ClassificationFit_fSet-methods

Methods Available for Objects of Class ClassificationFit_fSet
CVInfoObj-methods

Methods Available for Objects of Class CVInfoObj
CVInfokParam-class

Class CVInfokParam
CVInfokParam-methods

Methods Available for Objects of Class CVInfokParam
ClassificationFit-methods

Methods Available for Objects of Class ClassificationFit
EARL-class

Class EARL
DynTxRegime-methods

Methods Available for Objects of Class DynTxRegime
ExpSurrogate-methods

Methods Available for Objects of Class ExpSurrogate
LearningMulti-methods

Methods Available for Objects of Class LearningMulti
IQLearnFS_ME-class

Class IQLearnFS_ME
IQLearnFS_C-methods

Methods Available for Objects of Class IQLearnFS_C
HingeSurrogate-class

Class HingeSurrogate
ExpSurrogate-class

Class ExpSurrogate
IQLearnFS-methods

Methods Available for Objects of Class IQLearnFS
LearningObject-class

Class LearningObject
DTRstep

Identify Statistical Method Used to Obtain Result
ClassificationFit_SubsetList-class

Class ClassificationFit_SubsetList
ClassificationObj-methods

Methods Available for Objects of Class ClassificationObj
DynTxRegime-class

Class DynTxRegime
IQLearnFS_C-class

Class IQLearnFS_C
ClassificationFit_fSet-class

Class ClassificationFit_fSet
LearningMulti-class

Class LearningMulti
ClassificationFit_SubsetList-methods

Methods Available for Objects of Class ClassificationFit_SubsetList
Learning-methods

Methods Available for Objects of Class Learning
HuberHingeSurrogate-methods

Methods Available for Objects of Class HuberHingeSurrogate
IQLearnFS_VHet-methods

Methods Available for Objects of Class IQLearnFS_VHet
IQLearnFS-class

Class IQLearnFS
LinearKernel-methods

Methods Available for Objects of Class LinearKernel
HingeSurrogate-methods

Methods Available for Objects of Class HingeSurrogate
List-class

Class List
IQLearnFS_VHet-class

Class IQLearnFS_VHet
HuberHingeSurrogate-class

Class HuberHingeSurrogate
LearningObject-methods

Methods Available for Objects of Class LearningObject
IQLearnFS_ME-methods

Methods Available for Objects of Class IQLearnFS_ME
OutcomeSimpleFit-class

Class OutcomeSimpleFit
OutcomeIterateFit-methods

Methods Available for Objects of Class OutcomeIterateFit
DynTxRegime-internal-api

Hidden methods
OutcomeIterateFit-class

Class OutcomeIterateFit
OptimKernel-class

Class OptimKernel
LinearKernel-class

Class LinearKernel
Learning-class

Class Learning
Kernel-class

Class Kernel
IQLearnSS-methods

Methods Available for Objects of Class IQLearnSS
KernelObj-methods

Methods Available for Objects of Class KernelObj
OptimalSeqCoarsened-class

Class Contains Results for the Coarsened Data IPW/AIPW Method
OptimKernel-methods

Methods Available for Objects of Class OptimKernel
OptimStep-methods

Methods Available for Objects of Class OptimStep
OptimStep-class

Class OptimStep Class OptimStep holds results of a combined cross-validation and final optimization step for weighted learning methods.
OptimalSeqCoarsened-methods

Methods Available for Objects of Class OptimalSeqCoarsened
ModelObj_DecisionPointList-class

Class ModelObj_DecisionPointList
MethodObject-class

Class MethodObject
OutcomeSimpleFit-methods

Methods Available for Objects of Class OutcomeSimpleFit
LogitSurrogate-methods

Methods Available for Objects of Class LogitSurrogate
LogitSurrogate-class

Class LogitSurrogate
OutcomeObj-class

Class OutcomeObj
OptimBasic-class

Class OptimBasic
OutcomeObj-methods

Methods Available for Objects of Class OutcomeObj
TxInfoList-methods

Methods Available for Objects of Class TxInfoList
Regime-class

Class Regime
PropensityObj-class

Class PropensityObj
Regime-methods

Methods Available for Objects of Class Regime
PropensityFit_SubsetList-methods

Methods Available for Objects of Class PropensityFit_SubsetList
PropensityFit_SubsetList-class

Class PropensityFit_SubsetList
OptimBasic-methods

Methods Available for Objects of Class OptimBasic
TxInfoList

Class TxInfoList
PropensityObj-methods

Methods Available for Objects of Class PropensityObj
IQLearnSS-class

Class IQLearnSS
RWL-class

Class RWL
ModelObjSubset-methods

Methods Available for Objects of Class ModelObjSubset
KernelObj-class

Class KernelObj
ModelObj_SubsetList-class

Class ModelObj_SubsetList
Kernel-methods

Methods Available for Objects of Class Kernel
MultiRadialKernel-class

Class MultiRadialKernel
ModelObjSubset-class

Class ModelObjSubset
OptimalObj-class

Class OptimalObj
TypedFit-methods

Methods Available for Objects of Class TypedFit
TypedFit-class

Class TypedFit
OptimalObj-methods

Methods Available for Objects of Class OptimalObj
OptimalSeqMissing-class

Class Contains Results for the Missing Data IPW/AIPW Method
PolyKernel-class

Class PolyKernel
OptimalSeqMissing-methods

Methods Available for Objects of Class OptimalSeqMissing
PolyKernel-methods

Methods Available for Objects of Class PolyKernel
PropensityFit-methods

Methods Available for Objects of Class PropensityFit
PropensityFit-class

Class PropensityFit
OptimalClass-class

Class OptimalClass
OptimStep

Complete Cross-Validation Step and Final Optimization
MethodObject-methods

Methods Available for Objects of Class MethodObject
MultiRadialKernel-methods

Methods Available for Objects of Class MultiRadialKernel
OutcomeSimpleFit_SubsetList-class

Class OutcomeSimpleFit_SubsetList
TxInfoBasic-class

Class TxInfoBasic
TxInfoBasic-methods

Methods Available for Objects of Class TxInfoBasic
OWL-class

Class OWL
OWL-methods

Methods Available for Objects of Class OWL
OutcomeSimpleFit_fSet-class

Class OutcomeSimpleFit_fSet
QLearn-class

Class QLearn
OptimalClassObj-class

Class OptimalClassObj
OptimalSeq-class

Class OptimalSeq
OutcomeSimpleFit_fSet-methods

Methods Available for Objects of Class OutcomeSimpleFit_fSet
OptimObj-class

Class OptimObj
OptimalClass-methods

Methods Available for Objects of Class OptimalClass
OptimalSeq-methods

Methods Available for Objects of Class OptimalSeq
newEARL

Complete an EARL Analysis
OptimObj-methods

Methods Available for Objects of Class OptimObj
RWL-methods

Methods Available for Objects of Class RWL
TxSubsetFactor-class

Class TxSubsetFactor
TypedFit_SubsetList-class

Class TypedFit_SubsetList
TxSubsetFactor-methods

Methods Available for Objects of Class TxSubsetFactor
QLearnObj-class

Class QLearnObj
OptimalInfo-class

Class OptimalInfo
OutcomeNoFit-class

Class OutcomeNoFit
OptimalInfo-methods

Methods Available for Objects of Class OptimalInfo
SmoothRampSurrogate-methods

Methods Available for Objects of Class SmoothRampSurrogate
SmoothRampSurrogate-class

Class SmoothRampSurrogate
newIQLearnFS_C

Complete First Stage Analysis of Contrasts for Interactive Q-Learning Algorithm
Surrogate-class

Class Surrogate
SubsetList-class

Class SubsetList
newOptimObj

Create an OptimObj Object
newOptim

Complete an Optimization Step
OutcomeSimpleFit_SubsetList-methods

Methods Available for Objects of Class OutcomeSimpleFit_SubsetList
PropensityFit_fSet-class

Class PropensityFit_fSet
PropensityFit_fSet-methods

Methods Available for Objects of Class PropensityFit_fSet
TxInfoNoSubsets-class

Class TxInfoNoSubsets
Surrogate-methods

Methods Available for Objects of Class Surrogate
newRWL

Complete a Residual Weighted Learning Analysis
RadialKernel-methods

Methods Available for Objects of Class RadialKernel
RadialKernel-class

Class RadialKernel
TxSubsetInteger-class

Class TxSubsetInteger
SubsetList-methods

Methods Available for Objects of Class SubsetList
TxInfoNoSubsets-methods

Methods Available for Objects of Class TxInfoNoSubsets
TxInfoInteger-class

Class TxInfoInteger
TypedFit_SubsetList-methods

Methods Available for Objects of Class TypedFit_SubsetList
fitObject

Objects Returned by Modeling Functions
fittedCont

Retrieve the Fitted Contrast Component from Second Stage IQ-Learning
SqHingeSurrogate-class

Class SqHingeSurrogate
TxInfoInteger-methods

Methods Available for Objects of Class TxInfoInteger
TypedFitObj-class

Class TypedFitObj
TypedFitObj-methods

Methods Available for Objects of Class TypedFitObj
TxSubset-class

Class TxSubset
TxObj-class

Class TxObj
SqHingeSurrogate-methods

Methods Available for Objects of Class SqHingeSurrogate
coef

Extract Model Coefficients From Objects Returned by Modeling Functions
TxObj-methods

Methods Available for Objects of Class TxObj
TxSubset-methods

Methods Available for Objects of Class TxSubset
TxSubsetInteger-methods

Methods Available for Objects of Class TxSubsetInteger
buildModelObjSubset

Create Model Objects for Subsets of Data
bmiData

Adolescent BMI dataset (generated toy example)
fittedMain

Retrieve the Fitted Main Effects Component from Second Stage IQ-Learning
bowl

Backwards Outcome Weighted Learning.
OutcomeNoFit-methods

Methods Available for Objects of Class OutcomeNoFit
TxInfoFactor-methods

Methods Available for Objects of Class TxInfoFactor
TxInfoFactor-class

Class TxInfoFactor
RegimeObj-methods

Methods Available for Objects of Class RegimeObj
RegimeObj-class

Class RegimeObj
optimalSeq

Missing or Coarsened Data Perspective - Genetic Algorithm
.newRegime

Create a new Regime object
TxInfoWithSubsets-methods

Methods Available for Objects of Class TxInfoWithSubsets
createearl

Create method object for EARL
.optimalClass

Perform Classification Step
TxInfoWithSubsets-class

Class TxInfoWithSubsets
TypedFit_fSet-class

Class TypedFit_fSet
TypedFit_fSet-methods

Methods Available for Objects of Class TypedFit_fSet
cycleList

apply() for List objects
cvInfo

Extract Cross-Validation Results
classif

Retrieve Classification Regression Analysis
internal-earl-methods

Methods Available for Objects of Class .earl
internal-earl-class

Class .earl
estimator

Retrieve the Estimated Value
earl

Efficient Augmentation and Relaxation Learning
getPrWgt

Retrieve Propensity for Tx Received
getOutcome

Retrieve Outcome for Both Tx Options When Tx is Binary
genetic

Retrieve the Genetic Algorithm Results
fSet

Defining the fSet Input Variable
createowl

Create method object for Outcome Weighted Learning
iqLearn

Interactive Q-Learning
newCVStep

An n-Fold Cross Validation Step
newIQLearnSS

Complete Second Stage Analysis of Interactive Q-Learning Algorithm
createrwl

Create method object for Residual Weighted Learning
newCVInfoObj

Create a New CVInfoObj Object
optimObj

Extract Optimization Results
optimalClass

Classification Perspective
iter

Defining the iter Input Variable
internal-owl-methods

Methods Available for Objects of Class .owl
propen

Retrieve Propensity Regression Analysis
internal-owl-class

Class .owl
internal-rwl-class

Class .rwl
qLearn

A Step of the Q-Learning Algorithm
moPropen

Defining the moPropen Input Variable
sd

Standard Deviation
seqFunc

Define the Objective Function
outcome

Retrieve Outcome Regression Analysis
newCVInfo

Create a CVInfo Object
newBOWLStep

Create a BOWL Object
newOutcomeFit

Perform an Outcome Regression Step
.newKernelObj

Create a KernelObj
newIQLearnFS_ME

Complete First Stage Analysis of Main Effects for Interactive Q-Learning Algorithm
newPropensityFit

Complete a Propensity Regression Step
newIQLearnFS_VHet

Complete First Stage Analysis of Residuals for Interactive Q-Learning Algorithm
newOutcomeObj

Create a new OutcomeObj object
newPropensityObj

Create a new PropensityObj object
newTxSubset

Create TxSubset Object
newTypedFit

Complete a Regression Step
newBOWL

Create a BOWL Object for First Step of BOWL Algorithm
newModel

Combine model object models
newLearning

Complete a Learning Analysis
residuals

Extract Model Residuals
.newRegimeObj

Create a New RegimeObj Object
newTxObj

Create TxObj Object
newOptimalClass

Estimate the Optimal Treatment and Value Using Classification
newOptimalSeq

Complete a the Coarsened/Missing Data Analysis
summary

Result Summaries
rwl

Residual Weighted Learning
newTypedFitObj

Create a new TypedFitObj object
optTx

Extract or Estimate the Optimal Tx and Decision Functions
newClassificationFit

Complete a Classification Regression Step
internal-rwl-methods

Methods Available for Objects of Class .rwl
newModelObjSubset

Create Internal Model Objects for Subsets of Data
newClassificationObj

Create an Object of Class ClassificationFitObj
newOWL

Complete an OWL Analysis
owl

Outcome Weighted Learning
newQLearn

Perform a Step of the Q-Learning Algorithm
.newRWL,Kernel-method

Complete a Residual Weighted Learning Analysis
plot

Generates Plots as Defined by Modeling Functions
qqplot

Quantile-Quantile Plots
regimeCoef

Extract Regime Parameters