Description Details Fields Methods See Also
A reference class to compute twins via one random forest
VT.forest.one
extends VT.forest
.
OOB predictions are used to estimate E(Y|T = real treatment). Then,
treatement is switched, it means that 1 becomes 0 and 0 becomes 1. We use
again model
to estimate E(Y|T = the other treatment). This is
what computeTwin1()
and computeTwin2()
functions do.
model
is a caret/RandomForest/randomForest class object
interactions
logical set TRUE if model has been computed with interactions
...
field from parent class : VT.forest
computeTwin1()
Compute twin1 with OOB predictions
computeTwin2()
Compute twin2 by switching treatment and applying random forest model
VT.difft
, VT.forest
, VT.forest.double
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.