An iterative procedure for variable elimination.
ipw_pls(
y,
X,
ncomp = 10,
no.iter = 10,
IPW.threshold = 0.01,
filter = "RC",
scale = TRUE
)ipw_pls_legacy(y, X, ncomp = 10, no.iter = 10, IPW.threshold = 0.1)
Returns a vector of variable numbers corresponding to the model having lowest prediction error.
vector of response values (numeric
or factor
).
numeric predictor matrix
.
integer number of components (default = 10).
the number of iterations (default = 10).
threshold for regression coefficients (default = 0.1).
which filtering method to use (among "RC", "SR", "LW", "VIP", "sMC")
standardize data (default=TRUE, as in reference)
Kristian Hovde Liland
This is an iterative elimination procedure where a measure of predictor importance is computed after fitting a PLSR model (with complexity chosen based on predictive performance). The importance measure is used both to re-scale the original X-variables and to eliminate the least important variables before subsequent model re-fitting
The IPW implementation was corrected in plsVarSel
version 0.9.5. For backward
compatibility the old implementation is included as ipw_pls_legacy
.
M. Forina, C. Casolino, C. Pizarro Millan, Iterative predictor weighting (IPW) PLS: a technique for the elimination of useless predictors in regression problems, Journal of Chemometrics 13 (1999) 165-184.
VIP
(SR/sMC/LW/RC), filterPLSR
, shaving
,
stpls
, truncation
,
bve_pls
, ga_pls
, ipw_pls
, mcuve_pls
,
rep_pls
, spa_pls
,
lda_from_pls
, setDA
.
data(gasoline, package = "pls")
with( gasoline, ipw_pls(octane, NIR) )
Run the code above in your browser using DataLab