Description Details Fields Methods See Also
A reference class to compute twins via k random forest
VT.forest.fold extends VT.forest
Twins are estimated by k-fold cross validation. A forest is computed on k-1/k of the data and then used to estimate twin1 and twin2 on 1/k of the left data.
interactionslogical set TRUE if model has been computed with interactions
foldnumeric, number of fold, i.e. number of forest (k)
rationumeric experimental, use to balance sampsize. Defaut to 1.
groupsvector Define which observations belong to which group
...field from parent class : VT.forest
run()Compute twin1 and twin2 estimation. Switch treatment if necessary.
VT.difft, VT.forest,
VT.forest.one, VT.forest.double
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.