VT.forest.double {aVirtualTwins} | R Documentation |
Difft by double random forest
Description
A reference class to compute twins via double random forests
Details
VT.forest.double
extends VT.forest
.
E(Y|T = 1)
if T_i = 1
is estimated by OOB predictions from
model_trt1
.
E(Y|T = 0)
if T_i = 0
is estimated by OOB predictions from
model_trt0
.
This is what computeTwin1()
does.
Then E(Y|T = 1)
if T_i = 0
is estimated by model_trt1.
Then E(Y|T = 0)
if T_i = 1
is estimated by model_trt1.
This is what computeTwin2()
does.
Fields
model_trt1
a caret/RandomForest/randomForest object for treatment T = 1
model_trt0
a caret/RandomForest/randomForest object for treatment T = 0
...
field from parent class :
VT.forest
Methods
computeTwin1()
Compute twin1 with OOB predictions from double forests. See details.
computeTwin2()
Compute twin2 by the other part of data in the other forest. See details.
See Also
VT.difft
, VT.forest
,
VT.forest.one
[Package aVirtualTwins version 1.0.1 Index]