sid_p_tree_es: Calculate the p-value for a tree (using early stopping)

Description Usage Arguments Value

Description

Calculate the p-value for a tree (grouping).

Usage

1
2
3
sid_p_tree_es(data_train, data_test, tree, g0 = NULL, classifier = svm,
  Rmin = 250, Rmax = 500, parallel = TRUE, return_raw = FALSE,
  alpha = 0.05, z = 2.57)

Arguments

data_train

Training data.

data_test

Testing data.

tree

The tree

g0

The Baseline goodness, if known. Can be NULL (default).

classifier

A classifier function, default is svm (from the e1071 package).

Rmin

Ninimum number of replications. Default is 250.

Rmax

Maximum number of replications. Default is 500.

parallel

Calculate in parallel (Boolean, default is TRUE).

return_raw

Return raw data used in the p-value calculation (Boolean, default is FALSE.

alpha

The confidence level at which we are evaluating statistical significance of the tree.

z

Parameter for confidence band. Use 1.96 for 95 percent, 2.25 for 97.5 percent and 2.57 for 99 percent. Default is 2.57.

Value

The p-value for the tree


bwrc/astrid-r documentation built on May 13, 2019, 9:08 a.m.