grow.ITR: Grows a large interaction tree

Description Usage Arguments Value Examples

View source: R/grow.ITR.R

Description

Grows a large interaction tree

Usage

1
2
grow.ITR(data, test = NULL, min.ndsz = 20, n0 = 5, split.var,
  ctg = NULL, max.depth = 15, mtry = length(split.var))

Arguments

data

data set from which the tree is to be grown. Must contain outcome, binary treatment indicator, columns of splitting covariates, and column of probability of being in treatment group.

min.ndsz

minimum number of observations required to call a node terminal. Defaults to 20.

n0

minimum number of treatment/control observations needed in a split to call a node terminal. Defaults to 5.

split.var

columns of potential spliting variables. Required input.

ctg

identifies the categorical input columns. Defaults to NULL. Not available yet.

max.depth

controls the maximum depth of the tree. Defaults to 15.

mtry

sets the number of randomly selected splitting variables to be included. Defaults to number of splitting variables.

N0

minimum number of observations needed to call a node terminal. Defaults to 20.

Value

summary of single interaction tree

Examples

1
2
tree<-grow.ITR(data=rctdata, split.var=3:7)
Generates tree using rctdata with potential splitting variables located in columns 3-7.

jinjinzhou/ITR.Tree documentation built on May 19, 2019, 10:36 a.m.