Learn R Programming

grf (version 2.1.0)

get_scores.causal_survival_forest: Compute doubly robust scores for a causal survival forest.

Description

For details see section 3.2 in the causal survival forest paper.

Usage

# S3 method for causal_survival_forest
get_scores(forest, subset = NULL, ...)

Value

A vector of scores.

Arguments

forest

A trained causal survival forest.

subset

Specifies subset of the training examples over which we estimate the ATE. WARNING: For valid statistical performance, the subset should be defined only using features Xi, not using the treatment Wi or the outcome Yi.

...

Additional arguments (currently ignored).