Learn R Programming

vimp (version 2.2.5)

bootstrap_se: Compute bootstrap-based standard error estimates for variable importance

Description

Compute bootstrap-based standard error estimates for variable importance

Usage

bootstrap_se(Y = NULL, f1 = NULL, f2 = NULL, type = "r_squared", b = 1000)

Value

a bootstrap-based standard error estimate

Arguments

Y

the outcome.

f1

the fitted values from a flexible estimation technique regressing Y on X.

f2

the fitted values from a flexible estimation technique regressing either (a) f1 or (b) Y on X withholding the columns in indx.

type

the type of importance to compute; defaults to r_squared, but other supported options are auc, accuracy, deviance, and anova.

b

the number of bootstrap replicates (defaults to 1000)