Learn R Programming

morf (version 1.0.0)

forest_weights_fitted: Forest In-Sample Honest Weights

Description

Computes forest in-sample honest weights for an morf.forest object.

Usage

forest_weights_fitted(forest, honest_sample, train_sample)

Value

Matrix of in-sample honest weights.

Arguments

forest

An morf.forest object.

honest_sample

Honest sample.

train_sample

Training sample.

Details

forest must have been grown using only the training sample.