Learn R Programming

vimp (version 1.1.2)

onestep_based_estimator: Estimate variable importance using a one-step estimator-based approach

Description

Compute nonparametric estimates of the variable importance parameter interpreted as the proportion of variability explained by including a group of covariates in the estimation technique.

Usage

onestep_based_estimator(full, reduced, y, type = "regression",
  na.rm = FALSE)

Arguments

full

fitted values from a regression of the outcome on the full set of covariates.

reduced

fitted values from a regression of the fitted values from the full regression on the reduced set of covariates.

y

the outcome.

type

which parameter are you estimating (defaults to regression, for ANOVA-based variable importance)?

na.rm

logical; should NA's be removed in computation? (defaults to FALSE)

Value

The estimated variable importance for the given group of left-out covariates.

Details

See the paper by Williamson, Gilbert, Simon, and Carone for more details on the mathematics behind this function and the definition of the parameter of interest.