VT.forest.fold: Difft via k random forests

Description Details Fields Methods See Also

Description

A reference class to compute twins via k random forest

Details

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.

Fields

interactions

logical set TRUE if model has been computed with interactions

fold

numeric, number of fold, i.e. number of forest (k)

ratio

numeric experimental, use to balance sampsize. Defaut to 1.

groups

vector Define which observations belong to which group

...

field from parent class : VT.forest

Methods

run()

Compute twin1 and twin2 estimation. Switch treatment if necessary.

See Also

VT.difft, VT.forest, VT.forest.one, VT.forest.double


aVirtualTwins documentation built on May 2, 2019, 4:04 p.m.