Compute bootstrap-based standard error estimates for variable importance
bootstrap_se(Y = NULL, f1 = NULL, f2 = NULL, type = "r_squared", b = 1000)
a bootstrap-based standard error estimate
the outcome.
the fitted values from a flexible estimation technique regressing Y on X.
the fitted values from a flexible estimation technique
regressing either (a) f1
or (b) Y on X withholding the columns in
indx
.
the type of importance to compute; defaults to
r_squared
, but other supported options are auc
,
accuracy
, deviance
, and anova
.
the number of bootstrap replicates (defaults to 1000)