CV.lambda: Cross-validation to decide minimum purity improvement for...

Description Usage Arguments

View source: R/CV.lambda.R

Description

Cross-validation to decide minimum purity improvement for splitting.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
CV.lambda(
  Y,
  A,
  H,
  g.opt,
  lambda.pct,
  K = 10,
  m.method = c("AIPW", "randomForest"),
  depth = 5,
  minsplit = 20
)

Arguments

Y

A vector of outcome of interest.

A

Treatment vector.

H

A matrix of covariates before assigning final treatment, excluding previous treatment variables.

g.opt

Optimal dynamic treatment regime.

K

Number of folds.

m.method

Method for calculating estimated conditional mean.

depth

Maximum tree depth.

minsplit

Minimal node size.


Team-Wang-Lab/T-RL documentation built on Jan. 3, 2020, 12:11 a.m.